Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Modifying the build process
Modifying the build process [message #301252] Sat, 25 March 2006 21:40 Go to next message
Eclipse UserFriend
Originally posted by: eric_sd2004.yahoo.com

Is there an easy way to make Eclipse automatically call an ant script
every time it does a build (both incremental and clean)? My goal is to
integrate a preprocessor (which I have wrapped in an ant task) with the
IDE - so I want to make Eclipse first call the preprocessor task any time
it compiles anything. A pre-compile hook (like Netbeans has) would be
ideal. Does Eclipse have anything like that?
Re: Modifying the build process [message #301253 is a reply to message #301252] Sat, 25 March 2006 22:55 Go to previous message
Eclipse UserFriend
Yes...but you need to set it up for each project you wish to pre-process.

Right click on your project>Properties>Builders
Click New...
Select Ant Build
On the Main tab set the relevant Ant buildfile
On the Targets tab set the targets to be executed for the different types of
builds

Ensure to order you builder to be before the other builders

HTH
Darins

"Eric" <eric_sd2004@yahoo.com> wrote in message
news:292396e5cce5d5b27bb710e6704b303f$1@www.eclipse.org...
> Is there an easy way to make Eclipse automatically call an ant script
> every time it does a build (both incremental and clean)? My goal is to
> integrate a preprocessor (which I have wrapped in an ant task) with the
> IDE - so I want to make Eclipse first call the preprocessor task any time
> it compiles anything. A pre-compile hook (like Netbeans has) would be
> ideal. Does Eclipse have anything like that?
>
Previous Topic:AbstractDecoratedTextEditor and Markers
Next Topic:tomcat server in debug mode problem
Goto Forum:
  


Current Time: Thu May 01 08:46:33 EDT 2025

Powered by FUDForum. Page generated in 0.64021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top