ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pellier, Marc" <>
Subject RE: Ant-Editor Integration
Date Wed, 18 Dec 2002 14:48:22 GMT
You can execute Ant targets from NetBeans  
	only with Ant 1.4 

-----Original Message-----
From: Steve Slatcher []
Sent: mercredi 18 d├ęcembre 2002 15:32
To: Ant Users List
Subject: Re: Ant-Editor Integration

You can execute Ant targets from NetBeans.  NetBeans is however
particulalry annoying in that the editor marks as errors attempts to use
classes that it does not know about, i.e. classes not "on its classpath",
or "mounted" to use NetBean-speak.

Even as I write this, I am evaluating JEdit..  Whilst it is not as annoying
as NetBeans, in so far as it does not nag it it cannot find a class, it
obviously cannot help with code completion on methods it knows nothing
about.  I was unaware of AntFarm - I'll take a look, thanks.

Maybe I am being too fussy, but it would be really nice to get code
completion, and to be warned about classes not on the path when they are
missing from a specified javac command, and not to be warned if they are
not missing.  That is what I was expecting from Ant-integration.
Presumably editors/IDEs also need to know this class information if they
are to run programs in a debugger.

Matt Moran wrote:
> I use jEdit ( with the "AntFarm" plugin.  When I want to
> compile, I don't even bother with the "Compile Current Buffer"
> command, because that would require me to set up my classpath within
> the editor, etc. Instead, I just invoke the "AntFarm->Run current
> target" command, which does the compile.  That way javac is only ever
> invoked from within ant, and I always know exactly what classpath it
> is using.
> I used to use JDEE, and you can do pretty much the same thing in that
> environment.  In my opinion, setting up the buffer compile features
> in JDEE is a waste of time.  Just set it up to use Ant, and do all of
> your compilation that way.
> I've never used NetBeans, but I bet you can do the same thing.
> Hope this helps.
> -Matt Moran
> ----- Original Message -----
> From: "Steve Slatcher" <>
> To: <>
> Sent: Wednesday, December 18, 2002 5:41 AM
> Subject: Ant-Editor Integration
>> Hi all
>> I have been using Ant for a while now and have recently been looking
>> at a few editors and IDEs for Java development.  I am perfectly
>> happy to build my Ant files in an ordinary text editor, and execute
>> Ant target from the command line.
>> What I really would like however is a Java source editor (it doesn't
>> have to be a full IDE) that recognises classpaths I have set up in
>> my build.xml (presumably linked to a javac command), rather than
>> requiring me to maintain a project and/or classpath independently
>> for the editor.  I may be wrong, but the IDEs I have looked at so
>> far (mainly NetBeans - Eclipse and JDEE to a lesser extent) do not
>> seem to be capable of this.  If anyone can point me towards such an
>> editor I would be very grateful.
>> If you point me to NetBeans I would be even more grateful if you
>> could tell me how do do it.  The only way I found was to
>> independently mount my classes dir and jar files on the "filesystem".
>> Many thanks
>> Steve Slatcher
>> --
>> To unsubscribe, e-mail:   <mailto:ant-user-
>>> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

This electronic transmission and any files attached to it are strictly 
confidential and intended solely for the addressee. If you are not 
the intended addressee, you must not disclose, copy or take any
action in reliance of this transmission. If you have received this 
transmission in error, please notify the sender by return and delete
the transmission.  Although the sender endeavors to maintain a
computer virus free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages 
resulting from any virus transmitted. 
Thank You.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message