Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-18 Thread Kev Jackson
Matt, Just verified your changes have fixed the problem relating to Cargo and the NullPointer I was experiencing - thanks for looking into it for me. Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-18 Thread Kevin Jackson
On 4/18/06, Matt Benson <[EMAIL PROTECTED]> wrote: > Well, I checked out appfuse, DL'd Tomcat... then it > wants mysql, which I just don't have time to install > too right now. :) I will check in my changes anyway. Thanks, I have all these installed as my 'day job' is server-side/web-app java, s

Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-18 Thread Matt Benson
Well, I checked out appfuse, DL'd Tomcat... then it wants mysql, which I just don't have time to install too right now. :) I will check in my changes anyway. -Matt --- Kev Jackson <[EMAIL PROTECTED]> wrote: > > >well, obviously if I broke them it's entirely > likely > >they won't be alone. P

Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-17 Thread Kev Jackson
well, obviously if I broke them it's entirely likely they won't be alone. Probably the easiest/most BC thing will be some form of checking whether (Abstract?)FileSet instances have a project set and using the task's project if not (I think fileset handling is separate from other ResourceCollect

Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-17 Thread Matt Benson
--- Kev Jackson <[EMAIL PROTECTED]> wrote: > Hm, > > In the cargo code we have: > > /** > * Remove all file in the configuration directory. > */ > private void cleanConfigurationDirectory() > { > // Clean up stuff previously put in the > temporary directory but do not > // remove t

Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error

2006-04-17 Thread Kev Jackson
Hm, In the cargo code we have: /** * Remove all file in the configuration directory. */ private void cleanConfigurationDirectory() { // Clean up stuff previously put in the temporary directory but do not // remove the Cargo timestamp file Delete delete = (Delete) getAntUtils().create

Re: Ant 1.7 NullPointerException AbstractFileSet

2006-04-17 Thread Kev Jackson
Antoine Levy-Lambert wrote: Hello Kev, the question is which piece of code creates the filesets which are added here to the delete task. this piece of code is probably creating the filesets in such a way that the project field is not set. I imagine this happens in the org.codehaus.cargo.contain

Re: Ant 1.7 NullPointerException AbstractFileSet

2006-04-17 Thread Antoine Levy-Lambert
Hello Kev, the question is which piece of code creates the filesets which are added here to the delete task. this piece of code is probably creating the filesets in such a way that the project field is not set. I imagine this happens in the org.codehaus.cargo.container codebase. Changing in Delet