Skip to content

Commit

Permalink
Remove dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Sep 11, 2012
1 parent 8f40240 commit ec75bd2
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 1,605 deletions.
Expand Up @@ -40,31 +40,31 @@ public void setup(ForgeContainerConfiguration configuration)
@Override
public void start() throws LifecycleException
{
try
{
this.process = NativeSystemCall.exec("java", "-Dforge.home=" + FORGE_HOME,
"-jar", FORGE_HOME + "/jboss-modules.jar", "-modulepath",
FORGE_HOME + "/modules:" + OSUtils.getUserHomePath() + "/.forge/plugins:", "org.jboss.forge");
}
catch (Exception e)
{
throw new LifecycleException("Could not start Forge process.", e);
}
// try
// {
// this.process = NativeSystemCall.exec("java", "-Dforge.home=" + FORGE_HOME,
// "-jar", FORGE_HOME + "/jboss-modules.jar", "-modulepath",
// FORGE_HOME + "/modules:" + OSUtils.getUserHomePath() + "/.forge/plugins:", "org.jboss.forge");
// }
// catch (Exception e)
// {
// throw new LifecycleException("Could not start Forge process.", e);
// }
}

@Override
public void stop() throws LifecycleException
{
try
{
this.process.destroy();
int status = this.process.waitFor();
System.out.println("Forge exited with status: " + status);
}
catch (InterruptedException e)
{
throw new LifecycleException("Container was interrupted while stopping.", e);
}
// try
// {
// this.process.destroy();
// int status = this.process.waitFor();
// System.out.println("Forge exited with status: " + status);
// }
// catch (InterruptedException e)
// {
// throw new LifecycleException("Container was interrupted while stopping.", e);
// }
}

@Override
Expand Down
5 changes: 0 additions & 5 deletions forge-example-plugin/pom.xml
Expand Up @@ -27,11 +27,6 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
<version>1.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.forge</groupId>
<artifactId>arquillian-forge-managed</artifactId>
Expand Down

0 comments on commit ec75bd2

Please sign in to comment.