Skip to content

Commit

Permalink
Merge pull request #9 from codenvy/startSdkOnWindows2
Browse files Browse the repository at this point in the history
Fixed launch SDK on Windows
  • Loading branch information
Vitalii Parfonov committed Jul 8, 2015
2 parents 078b635 + a6b8d53 commit 8125745
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
7 changes: 1 addition & 6 deletions assembly-sdk/src/assembly/bin/setenv.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
@REM from Codenvy S.A..
@REM
@echo off
if "%CODENVY_LOCAL_CONF_DIR%"=="" (
echo Need to set CODENVY_LOCAL_CONF_DIR
echo Press enter to exit...
pause >nul
exit
)
set CODENVY_LOCAL_CONF_DIR=%CATALINA_HOME%\conf\

if "%JAVA_OPTS%"=="" (set JAVA_OPTS=-Xms256m -Xmx1048m -XX:MaxPermSize=256m -server)

Expand Down
12 changes: 11 additions & 1 deletion che.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

SET CDIR=%CD%

cd assembly-sdk/target/tomcat-ide/bin/
set TOMCAT_IDE_DIR="assembly-sdk/target/tomcat-ide"

if exist "%TOMCAT_IDE_DIR%" (
cd assembly-sdk/target/tomcat-ide/bin
) else (
cd assembly-sdk/target
mkdir tomcat-ide
cd tomcat-ide
jar xf ../*.zip
cd bin
)

echo Launching Codenvy SDK

Expand Down

0 comments on commit 8125745

Please sign in to comment.