[jboss-cvs] JBossAS SVN: r78901 - projects/aop/trunk/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Sep 26 12:24:42 EDT 2008
Author: pgier
Date: 2008-09-26 12:24:41 -0400 (Fri, 26 Sep 2008)
New Revision: 78901
Modified:
projects/aop/trunk/build/build.xml
Log:
Couple of small improvements to build.xml to ordering and inter target dependencies.
Modified: projects/aop/trunk/build/build.xml
===================================================================
--- projects/aop/trunk/build/build.xml 2008-09-26 16:02:19 UTC (rev 78900)
+++ projects/aop/trunk/build/build.xml 2008-09-26 16:24:41 UTC (rev 78901)
@@ -174,7 +174,7 @@
<target name="release"
description="Builds the default release structure."
- depends="init, clean, maven-build-install, aop.reference.docs"
+ depends="init, clean, most, aop.reference.docs"
>
<ant antfile="build-release.xml" target="release-no-reference-docs"/>
<ant antfile="build-release.xml" target="release-reference-docs"/>
@@ -209,7 +209,7 @@
<!-- ================================================================== -->
<!-- Clean up all build output -->
- <target name="clean" depends="createthirdparty,maven-build-clean"
+ <target name="clean" depends="maven-build-clean"
description="Cleans up most generated files.">
<delete dir="output"/>
</target>
@@ -228,7 +228,7 @@
<target name="main" depends="most"
description="Executes the default target (most)."/>
- <target name="most" depends="createthirdparty, maven-build-install, install"
+ <target name="most" depends="maven-build-install, createthirdparty, install"
description="Executes all modules and builds most everything."/>
<target name="help" depends="_buildmagic:help:build"
@@ -284,7 +284,7 @@
</target>
<!-- Run the maven part of the build -->
- <target name="maven-build-install" depends="init, createthirdparty, set-jrockit">
+ <target name="maven-build-install" depends="set-jrockit">
<property name="maven.dir" value="${basedir}/../tools/maven"/>
<property name="build.maven.opts" value=""/>
@@ -302,17 +302,18 @@
</target>
- <target name="set-jrockit" if="jrockit.home">
+ <target name="set-jrockit" depends="init" if="jrockit.home">
<property name="jrockit.build.param" value="-Djrockit.home=${jrockit.home}"/>
</target>
<!-- Clean the maven part of the build -->
- <target name="maven-build-clean" depends="createthirdparty">
+ <target name="maven-build-clean" depends="set-jrockit">
<property name="maven.dir" value="${basedir}/../tools/maven"/>
<property name="build.maven.opts" value=""/>
+ <property name="jrockit.build.param" value=""/>
- <maven basedir="${basedir}/../" options="${build.maven.opts}" goal="clean"/>
+ <maven basedir="${basedir}/../" options="${jrockit.build.param} ${build.maven.opts}" goal="clean"/>
<fail message="Unable to clean maven modules. See maven output for details.">
<condition>
More information about the jboss-cvs-commits
mailing list