Skip to content

Commit

Permalink
Merge pull request Praqma#5 from MadsNielsen/JENKINS-23653
Browse files Browse the repository at this point in the history
Implemented JENKINS-23653
  • Loading branch information
MadsNielsen committed Aug 11, 2014
2 parents c02f4b1 + e1837eb commit 929c7f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -18,7 +18,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<powermock.version>1.4.12</powermock.version>
<cool.version>0.6.29</cool.version>
<cool.version>0.6.30-SNAPSHOT</cool.version>
<praqmajutils.version>0.1.33</praqmajutils.version>
</properties>

Expand Down
Expand Up @@ -100,7 +100,7 @@ public SnapshotView invoke(File workspace, VirtualChannel channel) throws IOExce
}
try {
view = new GetView(viewroot, viewtag).setStream(devStream).createIfAbsent().get();
new UpdateView(view).setLoadRules(new SnapshotView.LoadRules(view, SnapshotView.Components.ALL)).generate().update();
new UpdateView(view).setLoadRules(new SnapshotView.LoadRules2(view, SnapshotView.Components.ALL)).generate().update();
} catch (ClearCaseException e) {
log.log(Level.WARNING, "Failed to update view, exception to follow", e);
throw new IOException("Unable to create view", e);
Expand Down
Expand Up @@ -141,7 +141,7 @@ public void testView() throws IOException, ClearCaseException, InterruptedExcept
GetView gv = new GetView( path, viewTag ).createIfAbsent().setStream( container );
SnapshotView view = gv.get();

SnapshotView.LoadRules lr = new SnapshotView.LoadRules( view, SnapshotView.Components.ALL );
SnapshotView.LoadRules2 lr = new SnapshotView.LoadRules2( view, SnapshotView.Components.ALL );
new UpdateView( view ).setLoadRules( lr ).update();

/* Verify first */
Expand Down

0 comments on commit 929c7f4

Please sign in to comment.