Commit 1a03c345 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Build file work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4038 b35dd754-fafc-0310-a699-88a17e54d16e
parent 56c400ff
...@@ -650,11 +650,6 @@ ...@@ -650,11 +650,6 @@
<target name="release" depends="jar,javadoc" description="Creates a distribution"> <target name="release" depends="jar,javadoc" description="Creates a distribution">
<mkdir dir="${release.dest.dir}"/> <mkdir dir="${release.dest.dir}"/>
<!-- Move non-checked-in plugins out of the way -->
<mkdir dir="${nonrelease.plugin.dir}"/>
<available file="${plugin.src.dir}/liveassistant" property="non-release-plugins" value="true"/>
<antcall target="mv-plugins-out" />
<!-- Create a new prop for the final release dirs then create the dirs --> <!-- Create a new prop for the final release dirs then create the dirs -->
<!-- ie: wildfire --> <!-- ie: wildfire -->
...@@ -679,6 +674,8 @@ ...@@ -679,6 +674,8 @@
</fileset> </fileset>
</copy> </copy>
<antcall target="enterprise" />
<!-- Copy all prepare dirs to the binary dist --> <!-- Copy all prepare dirs to the binary dist -->
<ant antfile="${basedir}/build/build.xml" target="-prepare"> <ant antfile="${basedir}/build/build.xml" target="-prepare">
<property name="prepare.out.dir" value="${release.out.dir}"/> <property name="prepare.out.dir" value="${release.out.dir}"/>
...@@ -778,24 +775,17 @@ ...@@ -778,24 +775,17 @@
<!-- Package the release --> <!-- Package the release -->
<antcall target="release-package"/> <antcall target="release-package"/>
<!-- Move non-checked-in plugins back -->
<antcall target="mv-plugins-back" />
<delete dir="${nonrelease.plugin.dir}"/>
</target>
<!-- mv-plugins-out ========================================================================== -->
<target name="mv-plugins-out" if="non-release-plugins">
<move todir="${nonrelease.plugin.dir}/liveassistant">
<fileset dir="${plugin.src.dir}/liveassistant"/>
</move>
</target> </target>
<!-- mv-plugins-back ========================================================================== --> <target name="enterprise" if="do.enterprise">
<target name="mv-plugins-back" if="non-release-plugins"> <!-- Copy enterprise plugins. -->
<move todir="${plugin.src.dir}/liveassistant"> <copy todir="${release.out.dir}">
<fileset dir="${nonrelease.plugin.dir}/liveassistant"/> <fileset dir="${target.dir}">
</move> <include name="plugins/enterprise.jar"/>
</fileset>
</copy>
<!-- Remove GPL libs from distribution -->
<delete file="${release.out.dir}/lib/mysql.jar.pack"/>
</target> </target>
<!-- quickrelease ========================================================================== --> <!-- quickrelease ========================================================================== -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment