BTW, the error is :

pre-war-callback:
   +Task: maven-ant

BUILD FAILED
C:\apps\maven\plugins\j2ee\build.xml:87: java.lang.NullPointerException
        at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelp
er.java:540)
        at
org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:2
17)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
22)
        at org.apache.tools.ant.Task.perform(Task.java:316)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:374)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1160)
        at org.apache.tools.ant.Main.runBuild(Main.java:605)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.Task.log(Task.java:300)
        at
org.apache.tools.ant.taskdefs.Property.setUserProperty(Property.java:217
)
        at org.apache.maven.ant.Ant.createProperty(Ant.java:745)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper.ja
va:281)
        at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelp
er.java:524)
        at
org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:2
17)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
22)
        at org.apache.tools.ant.Task.perform(Task.java:316)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:374)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1160)
        at org.apache.tools.ant.Main.runBuild(Main.java:605)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 03 June 2002 23:54
> To: Turbine Maven Developers List
> Subject: Re: J2ee plugin problem
> 
> Vincent,
> 
> can you run with ant -debug and post the results....On my machine line
87
> is an <maven-ant> call...
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> 
> 
> 
> "Vincent Massol" <[EMAIL PROTECTED]>
> 06/04/02 06:14 AM
> Please respond to "Turbine Maven Developers List"
> 
> 
>         To:     "'Turbine Maven Developers List'" <turbine-maven-
> [EMAIL PROTECTED]>
>         cc:
>         Subject:        J2ee plugin problem
> 
> 
> Hi,
> 
> It seems there is a bug with the j2ee plugin if your web.xml is empty.
> Here is what I get :
> 
> "
> E:\Dev\stronghold>ant maven:war
> Buildfile: build.xml
> 
> maven:war:
> 
> init:
> 
> init:
> Overriding previous definition of reference to maven-classpath
> Trying to override old definition of task dvsl
> Trying to override old definition of task jxr
> Trying to override old definition of task httpget
> Trying to override old definition of task change-log
> Trying to override old definition of task struts10warvalidator
> Trying to override old definition of task task-parser
> Trying to override old definition of task project-properties
> Trying to override old definition of task gump-build
> Trying to override old definition of task maven-update-check
> Trying to override old definition of task format-pom
> Trying to override old definition of task create-xdocs
> Trying to override old definition of task update-properties
> Trying to override old definition of task maven-ant
> Trying to override old definition of task filesetfrompath
> Trying to override old definition of task update-pom-check
> Trying to override old definition of task verify-project
> Trying to override old definition of task warvalidator
> Trying to override old definition of task reactor-generator
> Trying to override old definition of task checkstyle
> Trying to override old definition of task validate-pom
> 
> update-pom-check:
> [update-pom-check] [WARN] Digester - -Empty stack (returning null)
> 
> callUpdateDescriptor:
> 
> project-properties:
> [project-properties] [WARN] Digester - -Empty stack (returning null)
> 
> load-default-properties:
> 
> prepare.httpget:
> 
> verify-project-proxy:
> 
> verify-project-noproxy:
> [verify-project] [WARN] Digester - -Empty stack (returning null)
> 
> verify-project:
> 
> local-init:
> 
> war-init:
> 
> war-error:
> 
> pre-war-callback:
> 
> BUILD FAILED
> C:\apps\maven\plugins\j2ee\build.xml:87:
java.lang.NullPointerException
> 
> Total time: 1 second
> E:\Dev\stronghold>
> "
> 
> My web.xml is :
> 
> "
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>
> 
> <web-app>
> 
>   <description>
>     Sesame Web Application
>   </description>
> 
>   <!-- Sesame Filters. Beware the order in which the filters are
defined
>        is very important as they will be executed in that order -->
> 
>   <!-- Connection Filter -->
> 
> </web-app>
> "
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>



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

Reply via email to