Re: Task doesn't support the nested * element

2006-08-16 Thread Gerry Healy
I've solved this myself in the end, but it was a little bit tricky. I was creating and instance of ProjectHelperImpl directly, whereas it seems I should have been using the static method ProjectHelper.getProjectHelper(). I only needed an instance of ProjectHelper to avoid the compile warnings

Re: Task doesn't support the nested * element

2006-08-16 Thread Gerry Healy
This may be a repeat as I posted from the wrong address before. I've solved this myself in the end, but it was a little bit tricky. I was creating and instance of ProjectHelperImpl directly, whereas it seems I should have been using the static method ProjectHelper.getProjectHelper(). I only

Re: Task doesn't support the nested * element

2006-08-14 Thread Gerry Healy
I have just tried ant 1.6.5, which also fails but with a null pointer exception build.xml:215: java.lang.NullPointerException Note: the error only occurs when running ant from the API, when running ant in command line it works as expected. --Gerry David Corley (AT/LMI) wrote: Have you tr

RE: Task doesn't support the nested * element

2006-08-14 Thread David Corley \(AT/LMI\)
Have you tried running the task with ant 1.6.5? And are you using the latest ant-contrib version (1.0b2)? /Dave -Original Message- From: Gerry Healy [mailto:[EMAIL PROTECTED] Sent: 14 August 2006 12:53 To: user@ant.apache.org Subject: Task doesn't support the nested * element Hi there,