You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/12/05 14:43:39 UTC

JCoverage plugin (Was "How to pass arguments to JVM")

I'm looking at jcoverage plugin source code. In plugin.jelly, jCoverage is lanched by 
<instrument todir="${maven.jcoverage.instrumentation}">

I don't understand how and where this "<instrument>" tag is linked to jCoverage.

Can anyone explaint it to me please ?



Nico







> 
> I've got the same error using jcoverage plugin. Is they're any way to use a temporary file to lanch jcoverage ?
> 
> Nico.
> 
> > 
> > Your commandline for javadoc is too long, you need to use a file to
> > intermediate. Simply set the property maven.javadoc.useexternalfile to
> > true in your project.properties, and that should clear it up.
> > 
> > Nick
> > 
> > > -----Original Message-----
> > > From: Nicolas De Loof [mailto:nicolas.deloof@cgey.com] 
> > > Sent: 03 December 2003 16:53
> > > To: Maven Users List
> > > Subject: Re: How to pass arguments to JVM
> > > 
> > > 
> > > Thank you !
> > > 
> > > 
> > > I get another error when using maven javadoc :
> > > 
> > > BUILD FAILED
> > > File...... file:/C:/Documents and 
> > > Settings/ndeloof/.maven/plugins/maven-javadoc-
> > > plugin-1.3/
> > > Element... ant:javadoc
> > > Line...... 106
> > > Column.... 60
> > > Javadoc failed: java.io.IOException: CreateProcess: 
> > > C:\j2sdk1.4.2\bin\javadoc.ex
> > > 
> > > (...)
> > > 
> > > Caused by: java.io.IOException: CreateProcess: 
> > > C:\j2sdk1.4.2\bin\javadoc.exe -us
> > > e -stylesheetfile "C:\Documents and 
> > > Settings\ndeloof\.maven\plugins\maven-javado
> > > c-plugin-1.3\plugin-resources\stylesheet.css" -d 
> > > C:\eclipse\workspace\pacila-web
> > > app\target\docs\apidocs -windowtitle "pacila-webapp 1.0-dev 
> > > API" -doctitle "paci
> > > la-webapp 1.0-dev API" -bottom "Copyright &copy; 2003 Telecom 
> > > Media & Network Fr
> > > ance. All Rights Reserved." -classpath "C:\Documents and 
> > > Settings\ndeloof\.maven
> > > \repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and 
> > > Settings\ndeloof\.maven\
> > > repository\struts\jars\struts-1.1.jar;C:\Documents and 
> > > Settings\ndeloof\.maven\r
> > > epository\commons-beanutils\jars\commons-beanutils-1.6.jar;C:\
> > > Documents and Sett
> > > ings\ndeloof\.maven\repository\commons-collections\jars\common
> > > s-collections-2.1.
> > > jar;C:\Documents and 
> > > Settings\ndeloof\.maven\repository\commons-digester\jars\co
> > > mmons-digester-1.5.jar;C:\Documents and 
> > > Settings\ndeloof\.maven\repository\commo
> > > ns-fileupload\jars\commons-fileupload-1.0.jar;C:\Documents 
> > > and Settings\ndeloof\
> > > .maven\repositor?
> > >         at java.lang.Win32Process.create(Native Method)
> > >         at java.lang.Win32Process.<init>(Win32Process.java:66)
> > >         at java.lang.Runtime.execInternal(Native Method)
> > >         at java.lang.Runtime.exec(Runtime.java:566)
> > > ...
> > > 
> > > 
> > > What to do ?
> > > 
> > > Nico
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JCoverage plugin (Was "How to pass arguments to JVM")

Posted by Emmanuel Venisse <em...@venisse.net>.
This ant task are defined in jcoverage jar.

Emmanuel

----- Original Message ----- 
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, December 05, 2003 2:43 PM
Subject: JCoverage plugin (Was "How to pass arguments to JVM")


>
> I'm looking at jcoverage plugin source code. In plugin.jelly, jCoverage is
lanched by
> <instrument todir="${maven.jcoverage.instrumentation}">
>
> I don't understand how and where this "<instrument>" tag is linked to
jCoverage.
>
> Can anyone explaint it to me please ?
>
>
>
> Nico
>
>
>
>
>
>
>
> >
> > I've got the same error using jcoverage plugin. Is they're any way to
use a temporary file to lanch jcoverage ?
> >
> > Nico.
> >
> > >
> > > Your commandline for javadoc is too long, you need to use a file to
> > > intermediate. Simply set the property maven.javadoc.useexternalfile to
> > > true in your project.properties, and that should clear it up.
> > >
> > > Nick
> > >
> > > > -----Original Message-----
> > > > From: Nicolas De Loof [mailto:nicolas.deloof@cgey.com]
> > > > Sent: 03 December 2003 16:53
> > > > To: Maven Users List
> > > > Subject: Re: How to pass arguments to JVM
> > > >
> > > >
> > > > Thank you !
> > > >
> > > >
> > > > I get another error when using maven javadoc :
> > > >
> > > > BUILD FAILED
> > > > File...... file:/C:/Documents and
> > > > Settings/ndeloof/.maven/plugins/maven-javadoc-
> > > > plugin-1.3/
> > > > Element... ant:javadoc
> > > > Line...... 106
> > > > Column.... 60
> > > > Javadoc failed: java.io.IOException: CreateProcess:
> > > > C:\j2sdk1.4.2\bin\javadoc.ex
> > > >
> > > > (...)
> > > >
> > > > Caused by: java.io.IOException: CreateProcess:
> > > > C:\j2sdk1.4.2\bin\javadoc.exe -us
> > > > e -stylesheetfile "C:\Documents and
> > > > Settings\ndeloof\.maven\plugins\maven-javado
> > > > c-plugin-1.3\plugin-resources\stylesheet.css" -d
> > > > C:\eclipse\workspace\pacila-web
> > > > app\target\docs\apidocs -windowtitle "pacila-webapp 1.0-dev
> > > > API" -doctitle "paci
> > > > la-webapp 1.0-dev API" -bottom "Copyright &copy; 2003 Telecom
> > > > Media & Network Fr
> > > > ance. All Rights Reserved." -classpath "C:\Documents and
> > > > Settings\ndeloof\.maven
> > > > \repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and
> > > > Settings\ndeloof\.maven\
> > > > repository\struts\jars\struts-1.1.jar;C:\Documents and
> > > > Settings\ndeloof\.maven\r
> > > > epository\commons-beanutils\jars\commons-beanutils-1.6.jar;C:\
> > > > Documents and Sett
> > > > ings\ndeloof\.maven\repository\commons-collections\jars\common
> > > > s-collections-2.1.
> > > > jar;C:\Documents and
> > > > Settings\ndeloof\.maven\repository\commons-digester\jars\co
> > > > mmons-digester-1.5.jar;C:\Documents and
> > > > Settings\ndeloof\.maven\repository\commo
> > > > ns-fileupload\jars\commons-fileupload-1.0.jar;C:\Documents
> > > > and Settings\ndeloof\
> > > > .maven\repositor?
> > > >         at java.lang.Win32Process.create(Native Method)
> > > >         at java.lang.Win32Process.<init>(Win32Process.java:66)
> > > >         at java.lang.Runtime.execInternal(Native Method)
> > > >         at java.lang.Runtime.exec(Runtime.java:566)
> > > > ...
> > > >
> > > >
> > > > What to do ?
> > > >
> > > > Nico
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org