Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Jeffrey E Care
Bruce Atherton wrote on 02/13/2012 01:25:30 PM: > I actually wanted to discuss Java 7 on the list. I went through its > features a while ago and got really excited when I read through NIO 2.0. > It does so much that Ant has to struggle with, and so much that Ant > can't do. > > I spent some

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Jesse Glick
On 02/13/2012 01:25 PM, Bruce Atherton wrote: could Java 7 and NIO 2.0 be a good reason to create Ant 2.0? While the new java.nio.file.* APIs are indeed valuable for a tool like Ant, I hardly think a fork or major rewrite is required to take advantage of them. As Stefan pointed out, it would b

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Mansour Al Akeel
interesting info. It looks like the idea of the redesign has been discussed a lot in the past. Another good point, is to have ant independent of any external libraries. However, I am wondering if this applies to run time environment ? For example, writing a core ant (mainly build.xml parser), as an

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Bruce Atherton
This brings up a point to consider if a rewrite is desired. Ant has always avoided relying on external libraries because it is usually the first thing in the build chain. It can't have any dependencies itself if it is to be self-building. There are tasks that require external libraries to be co

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Mansour Al Akeel
good point Jeff. I just though about the performance. I am not sure what would be the performance for JPF compared to OSGI. But your are very correct. That's why we discuss this on the mailing list. In all cases, these are just thoughts, and I don't know if there's enough interest in these ideas.

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Jeffrey E Care
Mansour Al Akeel wrote on 02/13/2012 01:57:56 PM: > From: Mansour Al Akeel > To: Ant Developers List > Cc: Stefan Bodewig > Date: 02/13/2012 01:58 PM > Subject: Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support > > Bruce, > In fact I was thinking about the same thing. The idea of forking Ant

Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Mansour Al Akeel
Bruce, In fact I was thinking about the same thing. The idea of forking Ant and rewrite parts of it to use Java 7 NIO, and introduce java plugin frame work http://jpf.sourceforge.net/ crossed my mind few times. On Mon, Feb 13, 2012 at 1:25 PM, Bruce Atherton wrote: > I actually wanted to disc

NIO 2.0 == Ant 2.0? was Re: Java NIO support

2012-02-13 Thread Bruce Atherton
I actually wanted to discuss Java 7 on the list. I went through its features a while ago and got really excited when I read through NIO 2.0. It does so much that Ant has to struggle with, and so much that Ant can't do. I spent some time starting to implement a very simple (only a few tasks) n