dIon, I was using Ant 1.5 built on 12 of April from CVS. I've tried with Ant 1.4.1 and it works. I've tried again with the latest Ant build (1.6alpha from CVS) and it fails in the same way.
Conclusion: it seems our maven-ant task does not work with Ant 1.5 and above 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]>
