Clarification. The targetdefs contain @ parameters. These are attributes
that come from each typedef,
e.g. test source is identified by a pattern to identify test case classes
| <source id="test" test="**/*TestCase.java">
| <include input="classes"/>
| <include input="test.path"/>
| </source>
|
This is used in the target def for running tests
| <!-- Run the Test -->
| <targetdef target="runtest">
| <component/>
| <source when="@{test}">
| <mkdir dir="@{testDir}"/>
| <junit fork="true"
| printSummary="true">
| <formatter type="plain"/>
| <classpath>
| <pathElements/>
| </classpath>
| <batchtest todir="@{testDir}">
| <fileset dir="@{sourceDir}" includes="@{test}"/>
| </batchtest>
| </junit>
| </source>
| </targetdef>
|
Most of the attributes have reasonable defaults that can be overriden
integration wide on the build element or for each component/artifact.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860516#3860516
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860516
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development