Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-21 Thread Hervé BOUTEMY
I opened http://jira.codehaus.org/browse/MANTTASKS-75, with testcase and patch: it should be included in next Maven Ant Tasks version, 2.0.7, scheduled next week. Hervé Le jeudi 21 juin 2007, Hervé BOUTEMY a écrit : ok I think the problem in that your settings.xml file on your Linux machine

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-21 Thread Torsten Krall
Yes, thanks, that was the problem. :-) Regards, Torsten Hervé BOUTEMY wrote: I opened http://jira.codehaus.org/browse/MANTTASKS-75, with testcase and patch: it should be included in next Maven Ant Tasks version, 2.0.7, scheduled next week. Hervé Le jeudi 21 juin 2007, Hervé BOUTEMY a

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-20 Thread Torsten Krall
Now I get the following detailed stacktrace: [..] Finding class org.apache.maven.artifact.versioning.Restriction Loaded from /home/maj0r/source/JWWatcher/build/maven-ant-tasks-2.0.6.jar org/apache/maven/artifact/versioning/Restriction.class Class org.apache.maven.artifact.versioning.Restriction

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-20 Thread Hervé BOUTEMY
ok I think the problem in that your settings.xml file on your Linux machine does not define localRepository element (which seems defined on your Windows one), and the code is not protected against such a thing please: 1. confirm this explaination 2. file a Jira issue to let me provide a patch

NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-19 Thread Torsten Krall
Hi, I use following build.xml: project name=myproject default=complete basedir=.. xmlns:artifact=urn:maven-artifact-ant path id=maven-ant-tasks.classpath path=${basedir}/build/maven-ant-tasks-2.0.6.jar / typedef resource=org/apache/maven/artifact/ant/antlib.xml

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-19 Thread Hervé BOUTEMY
Hi, I'm working on these tasks under Linux without any problem. Can you run ant -d and give me the full stacktrace? Hervé Le mardi 19 juin 2007, Torsten Krall a écrit : Hi, I use following build.xml: project name=myproject default=complete basedir=.. xmlns:artifact=urn:maven-artifact-ant