Fix [ 1883092 ] Problem redeploying modified customization or patches.jar
This commit is contained in:
parent
deaf41c152
commit
45508244f3
|
@ -33,6 +33,7 @@
|
|||
<!-- create the time stamp and environment -->
|
||||
<tstamp />
|
||||
<available file="${envFile}" property="envFileExists" />
|
||||
<available file="lib/AdempiereOriginal.jar" type="file" property="adempiereOriginal.exists"/>
|
||||
<fail message="**** RUN_setup was not successful - please re-run ****" unless="envFileExists" />
|
||||
<property file="${envFile}" />
|
||||
<filter filtersfile="${envFile}" />
|
||||
|
@ -118,8 +119,11 @@
|
|||
|
||||
</target>
|
||||
|
||||
<target name="backupAdempiereOriginal" unless="adempiereOriginal.exists">
|
||||
<copy file="lib/Adempiere.jar" tofile="lib/AdempiereOriginal.jar" overwrite="yes" />
|
||||
</target>
|
||||
<!-- rebuild Adempiere.jar to include possible customization and patches -->
|
||||
<target name="setupALib" depends="setupInit">
|
||||
<target name="setupALib" depends="setupInit, backupAdempiereOriginal">
|
||||
<jar jarfile="lib/Adempiere1.jar" index="yes" duplicate="preserve">
|
||||
<!-- pack patches.jar and customization.jar into Adempiere.jar -->
|
||||
<zipfileset src="lib/customization.jar" >
|
||||
|
@ -127,16 +131,16 @@
|
|||
</zipfileset>
|
||||
<zipfileset src="lib/patches.jar" >
|
||||
<patternset refid="manifest.exclude"/>
|
||||
</zipfileset>
|
||||
<!-- posterita packages -->
|
||||
<zipfileset src="lib/posterita.jar" >
|
||||
<patternset refid="manifest.exclude"/>
|
||||
</zipfileset>
|
||||
<!-- posterita packages -->
|
||||
<zipfileset src="lib/posterita.jar" >
|
||||
<patternset refid="manifest.exclude"/>
|
||||
</zipfileset>
|
||||
<!-- 2pack packages -->
|
||||
<zipgroupfileset dir="packages" includes="**/lib/*.jar">
|
||||
<patternset refid="manifest.exclude"/>
|
||||
</zipgroupfileset>
|
||||
<zipfileset src="lib/Adempiere.jar" >
|
||||
<zipfileset src="lib/AdempiereOriginal.jar" >
|
||||
<patternset refid="manifest.exclude"/>
|
||||
</zipfileset>
|
||||
<indexjars>
|
||||
|
|
Loading…
Reference in New Issue