Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Contradictory results within IDE and ant build
Contradictory results within IDE and ant build [message #157512] Mon, 19 June 2006 16:57 Go to next message
Eclipse UserFriend
Originally posted by: dl0proxy.yahoo.com

I'm getting a strange error in Eclipse. I'm trying to compile a
JMSTemplate application with the Spring framework and when I run an
explicit build, I get failures claiming "packages don't exist". The
packages are in the build path and are clearly resolved in the IDE because
there are no red indicators of any errors or path paths or packages. The
auto-compile of Eclipse seems to work because once the build path was
satisfied, a .class file was generated. Upon the explicit ant build I'm
gettig the error of "packages not found", specifically the
org.springframework.core.jms package, even though there is a .class file
generated and no visual complaints from the IDE... what's going on here?
Re: Contradictory results within IDE and ant build [message #157560 is a reply to message #157512] Mon, 19 June 2006 20:47 Go to previous message
Eclipse UserFriend
Originally posted by: cburgess.progressrail.com

dl0 wrote:
> I'm getting a strange error in Eclipse. I'm trying to compile a
> JMSTemplate application with the Spring framework and when I run an
> explicit build, I get failures claiming "packages don't exist". The
> packages are in the build path and are clearly resolved in the IDE
> because there are no red indicators of any errors or path paths or
> packages. The auto-compile of Eclipse seems to work because once the
> build path was satisfied, a .class file was generated. Upon the
> explicit ant build I'm gettig the error of "packages not found",
> specifically the org.springframework.core.jms package, even though there
> is a .class file generated and no visual complaints from the IDE...
> what's going on here?
>

If that Ant build is a buildfile you constructed yourself, it probably
does _not_ inherit the classpath settings in Eclipse. I've had
multitudes of problems trying to get a self-built ant buildfile to work
well in Eclipse. I've had some successes, but it usually ends up making
the self-built buildfile no longer as platform-portable as it was before
I'd tried to force-feed it to Eclipse.
Previous Topic:Licensing and Copy Protection
Next Topic:'Save Failed' when saving XML
Goto Forum:
  


Current Time: Thu Nov 14 08:59:02 GMT 2024

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

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

Back to the top