[seam-commits] Seam SVN: r9988 - trunk/examples/wicket.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Jan 30 06:52:13 EST 2009
Author: jharting
Date: 2009-01-30 06:52:09 -0500 (Fri, 30 Jan 2009)
New Revision: 9988
Modified:
trunk/examples/wicket/build.xml
trunk/examples/wicket/readme.txt
Log:
JBSEAM-3922
Modified: trunk/examples/wicket/build.xml
===================================================================
--- trunk/examples/wicket/build.xml 2009-01-29 15:53:12 UTC (rev 9987)
+++ trunk/examples/wicket/build.xml 2009-01-30 11:52:09 UTC (rev 9988)
@@ -9,11 +9,6 @@
<property name="src.java.dir" value="src/action" />
<property name="src.web.dir" value="src/web" />
-
- <!--If this is set to true, wicket classes are instrumented at build time by seam's
- WicketInstrumentationTask. The resulting classes will be placed in WEB-INF/dev if debug=true,
- else they'll go in WEB-INF/classes -->
- <property name="instrumentAtBuildTime" value="true" />
<property name="build.web" value="build-web" />
<property name="build.instrumented" value="instrumented-web" />
@@ -38,7 +33,7 @@
</javac>
</target>
- <target name="instrument" depends="compile.web" if="instrumentAtBuildTime">
+ <target name="instrument" depends="compile.web" unless="instrumentAtRunTime">
<taskdef name="instrumentWicket" classname="org.jboss.seam.wicket.ioc.WicketInstrumentationTask">
<classpath>
<pathelement location="${lib.dir}/jboss-seam-wicket-ant.jar" />
@@ -68,7 +63,7 @@
</instrumentWicket>
</target>
- <target name="copyWicketClasses" depends="compile.web" unless="instrumentAtBuildTime">
+ <target name="copyWicketClasses" depends="compile.web" if="instrumentAtRunTime">
<mkdir dir="${war.dir}/WEB-INF/wicket" />
<copy todir="${war.dir}/WEB-INF/wicket">
<fileset dir="${src.web.dir}">
@@ -79,7 +74,7 @@
</copy>
</target>
- <target name="copyWicketInstrumentedClasses" depends="instrument" if="instrumentAtBuildTime">
+ <target name="copyWicketInstrumentedClasses" depends="instrument" unless="instrumentAtRunTime">
<condition property="wicketClassDestination" value="${war.dir}/WEB-INF/dev" else="${war.dir}/WEB-INF/classes">
<istrue value="${debug}" />
</condition>
Modified: trunk/examples/wicket/readme.txt
===================================================================
--- trunk/examples/wicket/readme.txt 2009-01-29 15:53:12 UTC (rev 9987)
+++ trunk/examples/wicket/readme.txt 2009-01-30 11:52:09 UTC (rev 9988)
@@ -4,4 +4,4 @@
This is a port of the Booking example to Wicket.
By default it uses build time instrumentation, but you can use runtime
-instrumentation by specifying -DinstrumentAtBuildTime=false
+instrumentation by specifying -DinstrumentAtRunTime=true
More information about the seam-commits
mailing list