AW: [DISCUSS] Announce of the IvyDE 2.0.0.beta1 release

2008-12-10 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: Nicolas Lalevée [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Dezember 2008 15:31 >An: Ant Developers List >Betreff: [DISCUSS] Announce of the IvyDE 2.0.0.beta1 release > >Here is the proposal of the announcement: > >- > >The Apache Ivy project

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
Pl. find the fix for the same in ProjectComponent We are defining a GOBAL_DEFAULT_PROJECT which would be same as the first non null setProject call parameter. getProject() value on any tag if null, the non null GOBAL_DEFAULT_PROJECT value is assumed with debug log message saying about this assum

Re: Errors from nested ant invocations being ignored

2008-12-10 Thread Nick Pellow
Hi Archie, You will need to add a BuildListener to the Project object you create. Have a look at the addBuildListener method on the Project class Project.addBuildListener(org.apache.tools.ant.BuildListener buildListener) http://fisheye6.atlassian.com/browse/ant/core/trunk/src/main/org/apach

Errors from nested ant invocations being ignored

2008-12-10 Thread Archie Cobbs
I just filed a couple of bugs relating to the nested ant invocations used by Ivy's new packager resolver. Basically, errors in the nested ant invocation are being ignored by the outer ant invocation. I'm not exactly sure if this is an ivy problem or an ant problem (I suspect the former) and am look

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Mark Salter
The thread I pointed you to also includes detail of how using the ant classes outside of their intended environment holds risks. Adding the checks you mention may save another person having to discover the solution to the same 'problem' in the future. Perhaps you could consider building a patch to

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
Hi Mark, Thank you for quick reply.. I saw that listed in forum and thought I need to set the project fileset.. However, the issue was to set project for copy taks it self. To Ant Dev Team, It was 3 hours of wasted time to figure this out.. Simple copy without fileset usage works fine without

[DISCUSS] Announce of the IvyDE 2.0.0.beta1 release

2008-12-10 Thread Nicolas Lalevée
Here is the proposal of the announcement: - The Apache Ivy project is pleased to announce the release of IvyDE 2.0.0.beta1. IvyDE is an Eclipse plugin that leverage the management of the Ivy dependencies in the Eclipse development environment. It will help you manage your classpath based o

Re: FileSet with copy fails with NPE..

2008-12-10 Thread Mark Salter
Raja Nagendra Kumar wrote: > Hi, > > We are writing ant task, which needs to copy files based on fileset > defination like this.. This is really a question for the user mailing list... On that list was a recent discussion about probably the same problem... "Using Ant Tasks programmatically - Si

FileSet with copy fails with NPE..

2008-12-10 Thread Raja Nagendra Kumar
Hi, We are writing ant task, which needs to copy files based on fileset defination like this.. Copy c = createCopyTask(); FileSet fs = new FileSet(); fs.setProject(getProject()); fs.setDir(new File("."));