Contradictory results within IDE and ant build [message #157512] |
Mon, 19 June 2006 16:57 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.10461 seconds