Author: cpopetz
Date: 2009-03-10 09:27:54 -0400 (Tue, 10 Mar 2009)
New Revision: 10138
Modified:
trunk/build.xml
Log:
JBSEAM-3981: Make wicket/seam instrumentation implement Java Instrumentation API
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2009-03-10 09:05:42 UTC (rev 10137)
+++ trunk/build.xml 2009-03-10 13:27:54 UTC (rev 10138)
@@ -338,10 +338,18 @@
<excludes>
<exclude name="**/WicketInstrumentationTask*"/>
</excludes>
+ <manifestExtras>
+ <attribute name="Premain-Class"
value="org.jboss.seam.wicket.ioc.JavassistInstrumentor" />
+ </manifestExtras>
+
</archive>
<jar jarfile="${lib.dir}/jboss-seam-wicket-ant.jar"
basedir="${classes.wicket.dir}">
<include name="**/WicketInstrumentationTask*" />
</jar>
+ <jar jarfile="${lib.dir}/src/jboss-seam-wicket-ant-sources.jar"
basedir="${src.wicket.dir}">
+ <include name="**/WicketInstrumentationTask.java" />
+ </jar>
+
</target>
<!-- ########################### JUL TARGETS ###########################-->
@@ -991,6 +999,7 @@
<attribute name="srcdir" />
<attribute name="outputdir" default="${lib.dir}" />
<element name="excludes" optional="true"/>
+ <element name="manifestExtras" optional="true"/>
<sequential>
<mkdir dir="@{outputdir}" />
<mkdir dir="@{outputdir}/src" />
@@ -1007,6 +1016,7 @@
<attribute name="Specification-Vendor" value="JBoss" />
<attribute name="Implementation-Title" value="@{module}"
/>
<attribute name="Implementation-Vendor" value="JBoss" />
+ <manifestExtras />
</manifest>
</jar>
<jar jarfile="@{outputdir}/src/(a){module}-sources.jar"
basedir="@{srcdir}">
Show replies by date