Hi Arnaud,

I haven't worked on that code so I don't know what's wrong. I do know that
people are able to use it though so it's possible you could get it to work
and the error may be a configuration error.

I think the best would be for you to post anything related to Cargo on the
Cargo user list as the author of this code is reading the emails there. He
may not see it here though.

Thanks
-Vincent

> -----Original Message-----
> From: Arnaud Bailly [mailto:[EMAIL PROTECTED]
> Sent: mardi 7 novembre 2006 11:05
> To: Maven Users List
> Subject: Re: Poor man's web.xml merging
> 
> Ouuup !
> 
> [INFO] [cargo:uberwar]
> [INFO] ----------------------------------------------------------------
> --------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------
> --------
> [INFO] Exception merging web.xml
> 
> [INFO] ----------------------------------------------------------------
> --------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Exception
> merging web.xml
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul
> tLifecycleExecutor.java:559)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLife
> cycle(DefaultLifecycleExecutor.java:475)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Default
> LifecycleExecutor.java:454)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandl
> eFailures(DefaultLifecycleExecutor.java:306)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:273)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife
> cycleExecutor.java:140)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Exception
> merging web.xml
>         at
> org.codehaus.cargo.maven2.UberWarMojo.doWebXmlMerge(UberWarMojo.java:21
> 4)
>         at
> org.codehaus.cargo.maven2.UberWarMojo.execute(UberWarMojo.java:169)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginM
> anager.java:412)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul
> tLifecycleExecutor.java:534)
>         ... 16 more
> Caused by: java.lang.NullPointerException
>         at
> org.codehaus.cargo.maven2.UberWarMojo.doWebXmlMerge(UberWarMojo.java:20
> 8)
>         ... 19 more
> [INFO] ----------------------------------------------------------------
> --------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Tue Nov 07 10:55:44 CET 2006
> [INFO] Final Memory: 5M/11M
> [INFO] ----------------------------------------------------------------
> --------
> 
> Here is my merge.xml:
> 
> <uberwar>
> 
>   <wars>
>     <war>toto:tutu-web</war>
>     <war>toto:tutu-testui</war>
>   </wars>
> 
> </uberwar>
> 
> 
> --
> OQube < software engineering \ génie logiciel >
> Arnaud Bailly, Dr.
> \web> http://www.oqube.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]






___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com

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

Reply via email to