Eclipse allows you to set your custom ANT file to build your projects. Here's how you can configure the build process to pick your ANT file and not the default Java Builder.
> Right click on Project and select "Properties"
> On the Properties window, click on "Builders"
> Since you want to set your own build process, uncheck the "Java Builder"
> Now we need to configure the ANT file for the project build. Click "New",
select "Ant Builder" and click OK
> Enter a valid name for your builder, select the buildfile and the project root using the "Browse Workspace" button. Use can set a lot of other properties on this window to support the build process like "Arguments", "Targets", etc.
> Once you have your configurations set, click OK
> You should be back on the Builders window, check the builder you just created and click OK
You are now set with your ANT builder and you can view the build output in the console view.
Hope this helps.
Subscribe to:
Post Comments (Atom)
1 comment:
Your article is really great and i truly enjoyed reading it, keep walking.
Post a Comment