Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » EAR file on classpath?
EAR file on classpath? [message #211706] Sat, 06 August 2005 02:26 Go to next message
Eclipse UserFriend
Eclipse 3.1, JDK1.4.2

I wanted to put an EAR file on the Eclipse classpath so that I could
access some resources in it for some JUnit testing. However, no matter
what I tried Eclipse would not recognize it as a valid classpath component.

Is there a way to do this? Again, it's not for compile time dependencies
but rather for some runtime resource fetching and testing, but it seems
there's way to do it currently.

Peace.
Re: EAR file on classpath? [message #211798 is a reply to message #211706] Mon, 08 August 2005 11:07 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Bruce W. Hoylman wrote:
> Eclipse 3.1, JDK1.4.2
>
> I wanted to put an EAR file on the Eclipse classpath so that I could
> access some resources in it for some JUnit testing. However, no matter
> what I tried Eclipse would not recognize it as a valid classpath component.
>
> Is there a way to do this? Again, it's not for compile time
> dependencies but rather for some runtime resource fetching and testing,
> but it seems there's way to do it currently.

An EAR file is not a valid classpath element - it has a different
internal structure that does not include source code packages at the
root, etc.

HTH,
Eric
Previous Topic:only one method visible in java editor
Next Topic:Name of anonymous class declaration
Goto Forum:
  


Current Time: Tue Jul 15 04:26:02 EDT 2025

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

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

Back to the top