* added silent setup support, run setup without x11
This commit is contained in:
parent
ea13e0b36a
commit
b652ec819e
|
@ -14,7 +14,7 @@
|
|||
dir %ADEMPIERE_INSTALL%
|
||||
|
||||
@Echo Done ...
|
||||
@sleep 60
|
||||
@Pause
|
||||
@exit
|
||||
|
||||
:NOBUILD
|
||||
|
|
|
@ -26,7 +26,7 @@ dir %ADEMPIERE_INSTALL%
|
|||
@Echo Starting Apps Server ...
|
||||
@Start %ADEMPIERE_HOME%\utils\RUN_Server2.bat
|
||||
|
||||
@Sleep 10
|
||||
@Pause
|
||||
@Exit
|
||||
|
||||
:NOBUILD
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
@echo Cleanup ...
|
||||
@"%JAVA_HOME%\bin\java" -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main clean
|
||||
|
||||
@sleep 60
|
||||
@Pause
|
||||
@exit
|
||||
:NOBUILD
|
||||
@Echo Check myDevEnv.bat (copy from myDevEnvTemplate.bat)
|
||||
|
|
|
@ -64,11 +64,11 @@
|
|||
dest="${env.ADEMPIERE_ROOT}"
|
||||
overwrite="yes"/>
|
||||
<!-- Run Setup -->
|
||||
<!--
|
||||
<ant inheritAll="false" dir="${env.ADEMPIERE_HOME}" target="setup"/>
|
||||
-->
|
||||
<antcall target="runSetupWin"></antcall>
|
||||
<antcall target="runSetupNonWin"></antcall>
|
||||
<input addproperty="runSetupInput"
|
||||
message="Run Setup(Y/N) ? "
|
||||
validargs="Y,y,N,n"/>
|
||||
|
||||
<antcall target="runSetup"/>
|
||||
</target>
|
||||
|
||||
<!-- ================================================ -->
|
||||
|
@ -105,6 +105,20 @@
|
|||
spawn="false" resolveexecutable="true">
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="runSetupCheck">
|
||||
<condition property="setup.yes">
|
||||
<or>
|
||||
<equals arg1="y" arg2="${runSetupInput}"/>
|
||||
<equals arg1="Y" arg2="${runSetupInput}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="runSetup" depends="runSetupCheck" if="setup.yes">
|
||||
<antcall target="runSetupWin"></antcall>
|
||||
<antcall target="runSetupNonWin"></antcall>
|
||||
</target>
|
||||
|
||||
<target name="runUpdateWin" depends="runSetupInit" if="isWindows" >
|
||||
<exec dir="${env.ADEMPIERE_HOME}" executable="RUN_update.bat"
|
||||
|
|
Loading…
Reference in New Issue