[jboss-cvs] JBoss Messaging SVN: r2663 - trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 9 09:37:08 EDT 2007
Author: sergeypk
Date: 2007-05-09 09:37:08 -0400 (Wed, 09 May 2007)
New Revision: 2663
Modified:
trunk/build-messaging.xml
Log:
Create a separate target for aopc so it can be run easily from Eclipse, for example.
Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml 2007-05-09 12:38:58 UTC (rev 2662)
+++ trunk/build-messaging.xml 2007-05-09 13:37:08 UTC (rev 2663)
@@ -332,6 +332,18 @@
</javac>
</target>
+ <target name="instrument-classes">
+ <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>
+ <echo message="NOTE: aopc incremental compilation might fail, if so do an ant clean first (see JMESSAGING-271)"/>
+ <aopc compilerclasspathref="aopc.classpath"
+ classpathref="aopc.classpath"
+ verbose="false">
+ <classpath refid="aopc.classpath"/>
+ <src path="${build.classes}/org/jboss/jms"/>
+ <aoppath path="src/etc/prepare-aop.xml"/>
+ </aopc>
+ </target>
+
<target name="compile-classes">
<mkdir dir="${build.classes}"/>
@@ -351,16 +363,8 @@
<include name="**/*.java"/>
<classpath refid="compilation.classpath"/>
</javac>
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath"/>
- <echo message="NOTE: aopc incremental compilation might fail, if so do an ant clean first (see JMESSAGING-271)"/>
- <aopc compilerclasspathref="aopc.classpath"
- classpathref="aopc.classpath"
- verbose="false">
- <classpath refid="aopc.classpath"/>
- <src path="${build.classes}"/>
- <aoppath path="src/etc/prepare-aop.xml"/>
- </aopc>
+
+ <antcall target="instrument-classes" />
</target>
<target name="compile-etc">
More information about the jboss-cvs-commits
mailing list