goals that I modify doesn't work if we not add the jar to classapth
because the process is fork
Emmanuel
-----Message d'origine-----
De: [EMAIL PROTECTED]
A: "Turbine Maven Developers List"
<[EMAIL PROTECTED]>
Date: 30/10/02
Objet: Re: cvs commit: jakarta-turbine-maven/src/plugins-build/test
plugin.jelly
X-MIMETrack: Serialize by Router on gateway/Multitask
Consulting/AU(Release 5.0.8 |June
18, 2001) at 10/30/2002 07:08:25 PM,
Serialize complete at 10/30/2002 07:08:25 PM
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
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>
___________________________________________________________________
Haut D�bit: Modem offert soit 150,92 euros rembours�s sur le Pack
eXtense de Wanadoo !
Profitez du Haut D�bit � partir de 30 euros/mois :
http://www.ifrance.com/_reloc/w
___________________________________________________________________
Haut D�bit: Modem offert soit 150,92 euros rembours�s sur le Pack eXtense de Wanadoo !
Profitez du Haut D�bit � partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
--
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>