Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
modification to build-packages.xml to take a flag that makes the copy…
Browse files Browse the repository at this point in the history
… not even attempted
  • Loading branch information
timf committed May 30, 2010
1 parent 92ca47a commit 8f011d9
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions scripts/lib/gt4.0/build/build-packages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ Southern California. All Rights Reserved.
<property environment="env"/>

<property file="build.properties"/>
<property file="${user.home}/build.properties"/>

<property file="docs.dest" value="./"/>
<property file="wsrf.properties"/>
<property name="gar.dest" value="${basedir}/tmp/gar"/>

<property name="gar.name" value="${gar.id}.gar"/>
Expand Down Expand Up @@ -169,17 +165,45 @@ Southern California. All Rights Reserved.
<antcall target="copyBin">
<reference refid="${garbin.id}"/>
</antcall>
<antcall target="copyServerDeployWSDD" />
<antcall target="copyClientDeployWSDD" />
<antcall target="copyJndiConfig" />

<jar destfile="${gar.name}" basedir="${gar.dest}"/>
<delete dir="${gar.dest}"/>
</target>

<target name="testServerDeployWSDD">
<condition property="ignore.sdWSDD">
<isset property="forget.server-deploy.wsdd"/>
</condition>
</target>
<target name="copyServerDeployWSDD" depends="testServerDeployWSDD" unless="ignore.sdWSDD">
<copy file="${garserverdeployment.file}"
tofile="${gar.dest}/server-deploy.wsdd"
failonerror="false"/>
</target>

<target name="testClientDeployWSDD">
<condition property="ignore.cdWSDD">
<isset property="forget.client-deploy.wsdd"/>
</condition>
</target>
<target name="copyClientDeployWSDD" depends="testClientDeployWSDD" unless="ignore.cdWSDD">
<copy file="${garclientdeployment.file}"
tofile="${gar.dest}/client-deploy.wsdd"
failonerror="false"/>
</target>

<target name="testJndiConfig">
<condition property="ignore.jndiconfig">
<isset property="forget.jndi-config-deploy.xml"/>
</condition>
</target>
<target name="copyJndiConfig" depends="testJndiConfig" unless="ignore.jndiconfig">
<copy file="${garjndiconfigdeployment.file}"
tofile="${gar.dest}/jndi-config-deploy.xml"
failonerror="false"/>
<jar destfile="${gar.name}" basedir="${gar.dest}"/>
<delete dir="${gar.dest}"/>
</target>

<target name="testShare">
Expand Down

0 comments on commit 8f011d9

Please sign in to comment.