Skip to content

Commit

Permalink
BZ-985929: migration tool now setups correctly git (with init) and di…
Browse files Browse the repository at this point in the history
…sable configuration monitoring in order to avoid freezing
  • Loading branch information
porcelli committed Feb 13, 2014
1 parent bd289fd commit 4b39bb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -72,6 +72,7 @@ public void shutdown() {
public void startUp() {
System.setProperty( "org.kie.nio.git.daemon.enabled", "false" );
System.setProperty( "org.uberfire.nio.git.ssh.enabled", "false" );
System.setProperty( "org.uberfire.sys.repo.monitor.disabled", "true" );
weld = new Weld();
weldContainer = weld.initialize();
migrater = weldContainer.instance().select( Jcr2VfsMigrater.class ).get();
Expand Down
Expand Up @@ -158,6 +158,7 @@ public void setRepoName( final String repoName,
URI uri = URI.create( "git://" + repoName );
this.fs = ioService.newFileSystem( uri, new HashMap<String, Object>() {{
put( "out-dir", outputDir );
put( "init", true );
}}, MIGRATION_INSTANCE );
}

Expand Down

0 comments on commit 4b39bb9

Please sign in to comment.