I think Brett's reply is more realistic. ^_^
Walsh, Richard (Richard) wrote:
Hi Edwin,
I tried this with no luck. I also tried commenting the echo out, it
simply moved to the next ehco and complained about it.
Thanks,
Richie.
-----Original Message-----
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Sent: 11 August 2005 10:27
To: Maven Users List
Subject: Re: InvocationTargetException on echo & ant:echo in maven.xml
Try changing it to:
<echo>maven.junit.sysproperties=${maven.junit.sysproperties}</echo>
Walsh, Richard (Richard) wrote:
When I do a maven -e I get the following. The line that is causing this
is in the maven.xml and is:
<echo
message="maven.junit.sysproperties=${maven.junit.sysproperties}"/>
ERROR :
C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode>maven -e __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
BUILD FAILED
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:170)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.
j
ava:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performA
c
tion(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:67
1
)
at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.StackOverflowError File......
C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode\maven.xml
Element... echo
Line...... 6
Column.... 76
java.lang.reflect.InvocationTargetException
Total time: 5 seconds
Finished at: Thu Aug 11 10:12:58 BST 2005
-----Original Message-----
From: Walsh, Richard (Richard)
Sent: 11 August 2005 09:53
To: [email protected]
Subject: InvocationTargetException on echo & ant:echo in maven.xml
Hi,
I have the following problem with my maven.xml file, it gives the
following error. I am using maven 1.0.2. It also happens with 1.0-rc3.
Anyone any ideas,
Thanks,
Richie.
C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode>maven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Plugin cache will be regenerated
BUILD FAILED
File...... C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecode\maven.xml
Element... echo
Line...... 6
Column.... 76
java.lang.reflect.InvocationTargetException
Total time: 20 seconds
Finished at: Thu Aug 11 09:27:27 BST 2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]