Skip to content

Commit

Permalink
FORGE-1196: renamed forge.compatibility.IDE flag to forge.standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 12, 2013
1 parent e2ddc34 commit 1546807
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/src/main/resources/bin/forge
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ if $cygwin; then
HOME=`cygpath --path --windows "$HOME"`
fi

forge_exec_cmd="\"$JAVACMD\" $FORGE_DEBUG_ARGS $FORGE_OPTS \"-Dforge.home=${FORGE_HOME}\" \
forge_exec_cmd="\"$JAVACMD\" $FORGE_DEBUG_ARGS $FORGE_OPTS \"-Dforge.standalone=true\" \"-Dforge.home=${FORGE_HOME}\" \
-cp \"${FORGE_HOME}/lib/*\" $FORGE_MAIN_CLASS"

eval $forge_exec_cmd "$QUOTED_ARGS"
2 changes: 1 addition & 1 deletion dist/src/main/resources/bin/forge.bat
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ goto runForge
@REM Start Forge
:runForge
set FORGE_MAIN_CLASS=org.jboss.forge.bootstrap.Bootstrap
%FORGE_JAVA_EXE% %FORGE_DEBUG_ARGS% %FORGE_OPTS% "-Dforge.home=%FORGE_HOME%" ^
%FORGE_JAVA_EXE% %FORGE_DEBUG_ARGS% %FORGE_OPTS% "-Dforge.standalone=true" "-Dforge.home=%FORGE_HOME%" ^
-cp "%FORGE_HOME%\lib\*" %FORGE_MAIN_CLASS% %FORGE_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ShellInitializer

public void startupDefaultShell(@Observes PostStartup startup) throws Exception
{
if (!Boolean.getBoolean("forge.compatibility.IDE"))
if (Boolean.getBoolean("forge.standalone"))
{
Settings settings = new SettingsBuilder().create();
this.shell = shellFactory.createShell(OperatingSystemUtils.getWorkingDir(), settings);
Expand Down

0 comments on commit 1546807

Please sign in to comment.