Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Ant Build in Eclipse
Ant Build in Eclipse [message #164871] Wed, 09 August 2006 21:38 Go to next message
octavio.echevarria is currently offline octavio.echevarriaFriend
Messages: 2
Registered: July 2009
Junior Member
Can someone explain this: I have a project with an Ant script with a clean
target that removes two build directories. I also have 2 - 3 dozen
projects defined in Eclipse, some small some large.

When I run the ant script (just the clean target) through the Ant view the
Progress view reports what appears to be a full build of ALL projects!!!

I did reinstall the jdk in my machine (1.5 --> 1.4) earlier. Even if my
remaining projects need to be updated due to the change in JDK, why does
eclipse think that it needs to rebuild the entire world before running
such a minute task?

Shouldn't the remaining projects be updated on a as needed basis?

Thanks
Octavio
Re: Ant Build in Eclipse [message #164879 is a reply to message #164871] Wed, 09 August 2006 22:30 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Do the other projects depend on the project whose output directory you are
cleaning?

Darins

"Octavio Echevarria" <octavio.echevarria@ca.com> wrote in message
news:09d9c980fd5abe76a563be64450275ca$1@www.eclipse.org...
> Can someone explain this: I have a project with an Ant script with a clean
> target that removes two build directories. I also have 2 - 3 dozen
> projects defined in Eclipse, some small some large.
>
> When I run the ant script (just the clean target) through the Ant view the
> Progress view reports what appears to be a full build of ALL projects!!!
>
> I did reinstall the jdk in my machine (1.5 --> 1.4) earlier. Even if my
> remaining projects need to be updated due to the change in JDK, why does
> eclipse think that it needs to rebuild the entire world before running
> such a minute task?
>
> Shouldn't the remaining projects be updated on a as needed basis?
>
> Thanks
> Octavio
>
Re: Ant Build in Eclipse [message #164978 is a reply to message #164879] Thu, 10 August 2006 14:50 Go to previous message
octavio.echevarria is currently offline octavio.echevarriaFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks for your reply. The answer to your question is no. This is a small
standalone project with no dependencies to other projects. The only
reason I have this project in Eclipse is to be able to use the Ant
facilities (editor, runtime, view, etc).

Is there - perhaps - a preference setting to disable this behavior?

Octavio
Previous Topic:FREE Eclipse Magazine Download
Next Topic:Open a different perspective on startup using arguments
Goto Forum:
  


Current Time: Fri Apr 19 21:22:36 GMT 2024

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

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

Back to the top