Skip to content

Commit

Permalink
add selected repository and path
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Jan 25, 2012
1 parent 477a157 commit cb773a0
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -100,6 +100,8 @@ protected InputStream getContentXML(String viewId) throws Exception {
try {
yu.indexRepository(repo, path);
sb.append("<r:message>Re-indexing of repository '" + repo.getName() + "' starting at path '" + path + "' was successful :-)</r:message>");
sb.append("<r:selected-repository id=\"" + repo.getID() + "\">" + repo.getName() + "</r:selected-repository>");
sb.append("<r:selected-path>" + path + "</r:selected-path>");
} catch(Exception e) {
sb.append("<r:exception>Re-indexing of repository '" + repo.getName() + "' starting at path '" + path + "' failed with exception: ");
sb.append(e.getMessage());
Expand Down

0 comments on commit cb773a0

Please sign in to comment.