Skip to main content



      Home
Home » Newcomers » Newcomers » error marks won't go away when ant succeeds
error marks won't go away when ant succeeds [message #124926] Mon, 19 December 2005 19:25 Go to next message
Eclipse UserFriend
Originally posted by: kuro.bhlab.com

Hi,
I used svn to download a project from apache, which has build.xml.
Running the regular Project > Build All fails with thousands of errors
(literally).
If I point to the buld.xml and do "Run Ant", build succees. Good.

What I don't like is that the compile error marks (X) in almost every
components stay there, because Project > Build All failed, I am guessing.

Further I guess that Build All failed because Eclipose didn't import the
build path from the build.xml.

So I guess my question is, how do I integrate build.xml and Eclipse. How
the build rules that Eclipse knows about and build.xml can be synchronized?
Re: error marks won't go away when ant succeeds [message #125414 is a reply to message #124926] Wed, 21 December 2005 22:04 Go to previous message
Eclipse UserFriend
I would try the File>New>Project>Java Project from Existing Ant buildfile

This will create the Java project within Eclipse and set the Java build path
for the project from the javac declaration within the buildfile.

Note that once the project is created it will not automatically stay in
synch with changes made to the Ant buildfile.

HTH
Darins

"Kuro Kurosaka" <kuro@bhlab.com> wrote in message
news:442080f48ca3313f154da89b42f0222c$1@www.eclipse.org...
> Hi,
> I used svn to download a project from apache, which has build.xml.
> Running the regular Project > Build All fails with thousands of errors
> (literally).
> If I point to the buld.xml and do "Run Ant", build succees. Good.
>
> What I don't like is that the compile error marks (X) in almost every
> components stay there, because Project > Build All failed, I am guessing.
>
> Further I guess that Build All failed because Eclipose didn't import the
> build path from the build.xml.
>
> So I guess my question is, how do I integrate build.xml and Eclipse. How
> the build rules that Eclipse knows about and build.xml can be
synchronized?
>
>
>
Previous Topic:Eclipse Workspace
Next Topic:removal info
Goto Forum:
  


Current Time: Fri Jul 18 02:18:37 EDT 2025

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

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

Back to the top