Quick questions:
[EMAIL PROTECTED] wrote on 30/10/2002 05:07:28 PM:
> prereqs="test:compile">
>
> <java classname="junit.swingui.TestRunner" fork="yes">
> - <classpath>
> - <path refid="maven.dependency.classpath"/>
> - <pathelement location="${maven.build.dest}"/>
> - <pathelement location="${maven.test.dest}"/>
> - </classpath>
I understand the below chunk adding in system properties
> + <sysproperty key="basedir" value="${basedir}"/>
> + <u:tokenize var="listOfProperties" delim=" ">${maven.junit.
> sysproperties}</u:tokenize>
> + <j:forEach var="someProperty" items="${listOfProperties}">
> + <sysproperty key="${someProperty}" value="${context.
> findVariable(someProperty)}"/>
> + </j:forEach>
> + <classpath>
> + <path refid="maven.dependency.classpath"/>
> + <pathelement location="${maven.build.dest}"/>
> + <pathelement location="${maven.test.dest}"/>
Ok, here I'm confused. I though the junit jar was placed into the maven
classloader by the project.xml dependency. What does the below line do for
us?
> + <pathelement path="${plugin.getDependencyPath('junit')}"/>
> + </classpath>
> <arg value="-noloading"/>
> </java>
>
> @@ -154,6 +160,7 @@
> <path refid="maven.dependency.classpath"/>
> <pathelement location="${maven.build.dest}"/>
> <pathelement location="${maven.test.dest}"/>
See above. Same question on this one.
> + <pathelement
path="${plugin.getDependencyPath('junit')}"/>
> </classpath>
>
> <test name="${testcase}" todir="${maven.test.
> reportsDirectory}"/>
> @@ -211,6 +218,7 @@
> <path refid="maven.dependency.classpath"/>
> <pathelement location="${maven.build.dest}"/>
> <pathelement location="${maven.test.dest}"/>
Ditto
> + <pathelement
path="${plugin.getDependencyPath('junit')}"/>
> </classpath>
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers
--
To unsubscribe, e-mail: <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>