Hi John,

Thanks for the tip, but that did not work either :(

Has anyone run into this before??

Al


On Mon, 22 Mar 2004 12:43:46 -0500, John Casey wrote
> Might be a weird legacy issue from when the ant taglib was part of 
> the default namespace...try using <ant:echo> instead of just <echo>
> 
> -john
> 
> On Mon, 2004-03-22 at 11:49, Algirdas P. Veitas wrote:
> > We are running into an NullPointerException when trying to invoke a 
simple 
> > ant script through our maven.xml.  maven.xml looks like the following:
> > 
> > 
> > <project default="run-ant" xmlns:ant="jelly:ant">
> >   <goal name="run-ant">
> >     <echo>Hello Maven!</echo>
> >   </goal>
> > </project>
> > 
> > And the output we get from running....
> > 
> > > maven run-ant
> > 
> > 
> > ...is the following....
> > 
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > 
> > java.lang.NullPointerException
> >         at org.apache.maven.plugin.PluginManager.attainGoals
> > (PluginManager.java:
> > 430)
> >         at org.apache.maven.MavenSession.attainGoals
(MavenSession.java:348)
> >         at org.apache.maven.cli.App.doMain(App.java:543)
> >         at org.apache.maven.cli.App.main(App.java:1109)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.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)
> > Total time: 1 seconds
> > Finished at: Mon Mar 22 08:28:36 PST 2004
> > 
> > 
> > Any ideas as to why this is happening?  
> > 
> > --
> > Open WebMail Project (http://openwebmail.org)
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> John Casey
> [EMAIL PROTECTED]
> CommonJava Open Components Project
> http://www.commonjava.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



--
Open WebMail Project (http://openwebmail.org)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to