[jboss-cvs] JBossAS SVN: r81921 - in projects/aop/branches/Branch_2_0: tools/etc/ant and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 1 15:34:53 EST 2008
Author: pgier
Date: 2008-12-01 15:34:53 -0500 (Mon, 01 Dec 2008)
New Revision: 81921
Modified:
projects/aop/branches/Branch_2_0/build/build.xml
projects/aop/branches/Branch_2_0/tools/etc/ant/common-tasks.xml
Log:
Change order to prevent missing jrockit problem.
Modified: projects/aop/branches/Branch_2_0/build/build.xml
===================================================================
--- projects/aop/branches/Branch_2_0/build/build.xml 2008-12-01 20:30:32 UTC (rev 81920)
+++ projects/aop/branches/Branch_2_0/build/build.xml 2008-12-01 20:34:53 UTC (rev 81921)
@@ -24,7 +24,7 @@
| .
-->
- <target name="init" depends="verify-environment, init-maven-environment">
+ <target name="init" depends="verify-environment, init-maven-parent">
<!-- Defines repository.home -->
<property file="local.properties"/>
@@ -225,7 +225,7 @@
<target name="release-no-reference-docs"
description="Builds the default release structure, minus the reference documentation"
- depends="init">
+ depends="init, init-maven-dist-dependencies">
<delete dir="output/temp"/>
<mkdir dir="output/temp"/>
Modified: projects/aop/branches/Branch_2_0/tools/etc/ant/common-tasks.xml
===================================================================
--- projects/aop/branches/Branch_2_0/tools/etc/ant/common-tasks.xml 2008-12-01 20:30:32 UTC (rev 81920)
+++ projects/aop/branches/Branch_2_0/tools/etc/ant/common-tasks.xml 2008-12-01 20:34:53 UTC (rev 81921)
@@ -4,7 +4,7 @@
<!-- ================================================================== -->
<project name="common-tasks">
- <target name="init-maven-environment" xmlns:maven="urn:maven-artifact-ant"
+ <target name="init-maven-parent" xmlns:maven="urn:maven-artifact-ant"
unless="maven.init.complete"
description="Initialize properties for accessing maven configuration">
@@ -28,9 +28,16 @@
<maven:pom id="maven.project" file="pom.xml" />
- <!-- This tasks resolves maven dependencies and creates a property of the
- - form groupId:artifactId:type that points to the dependency jar file.
- -->
+ <property name="maven.init.complete" value="true"/>
+
+ </target>
+
+
+ <!-- This target resolves maven dependencies for the dist and creates a property of the
+ - form groupId:artifactId:type that points to the dependency jar file.
+ -->
+ <target name="init-maven-dist-dependencies" xmlns:maven="urn:maven-artifact-ant">
+
<maven:dependencies pathId="maven.dependencies.compile.classpath" useScope="compile">
<pom refid="maven.project" />
</maven:dependencies>
@@ -39,8 +46,6 @@
<pom refid="maven.project" />
</maven:dependencies>
- <property name="maven.init.complete" value="true"/>
-
</target>
<target name="verify-environment" description="Check that the build environment is set up correctly">
More information about the jboss-cvs-commits
mailing list