Ignore:
Timestamp:
2008-05-30T10:27:32+12:00 (16 years ago)
Author:
oranfry
Message:

rename build.xml on its way into the jar, and then back to the original name on its way back out. This stops a naming conflict with ant-installers own build.xml file. Also, now put the concrete value of @gsdlhome@ into gs2build\setup.bat at install time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk3/ant-scripts/create-distribution.xml

    r15095 r15812  
    2222        <addressedcall target="insert-user-manual"/>
    2323        <addressedcall target="insert-compiled-binaries"/>
     24        <addressedcall target="rename-build-xml-for-transit"/>
    2425    </target>
    2526
     
    9091    <target name="insert-compiled-binaries">
    9192        <if><bool><istrue value="${execute}"/></bool>
    92 
     93           
    9394            <delete dir="distribution/greenstone3/lib/jni"/>
    9495            <copy todir="distribution/greenstone3/lib/jni"><fileset dir="greenstone3/lib/jni"/></copy>
     
    9697            <delete dir="distribution/greenstone3/gs2build/bin/windows"/>
    9798            <copy todir="distribution/greenstone3/gs2build/bin/windows"><fileset dir="greenstone3/gs2build/bin/windows"/></copy>
    98                        
     99           
    99100            <delete dir="distribution/greenstone3/gs2build/bin/java"/>
    100101            <copy todir="distribution/greenstone3/gs2build/bin/java"><fileset dir="greenstone3/gs2build/bin/java"/></copy>
    101 
     102       
    102103        </if>
    103104    </target>
    104105
    105 
    106 
     106    <target name="rename-build-xml-for-transit">
     107        <if><bool><istrue value="${execute}"/></bool>
     108            <move file="distribution/greenstone3/build.xml" tofile="distribution/greenstone3/greenstone3-build.xml"/>
     109        </if>
     110    </target>
    107111
    108112</project>
Note: See TracChangeset for help on using the changeset viewer.