EAR file on classpath? [message #211706] |
Sat, 06 August 2005 02:26  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07958 seconds