Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Exported jars from utility module...
Exported jars from utility module... [message #196742] Thu, 19 July 2007 17:45 Go to next message
nw60312 is currently offline nw60312Friend
Messages: 14
Registered: July 2009
Junior Member
Hi - Still stuck on this, hoping it would be fixed by now. Just upgraded
to the latest 3.3 and Europa release. JST tools show version 2. We have
a java project with utility facet enabled, this was created in an
earlier version so it still uses the .component file. All the jars in
the utility project are exported on the build path. The utility project
is listed as J2EE dependency in the Dynamic Web project, however when
the app is started the jars are not visible from the utility project. Is
this still a bug or do I need upgrade the utility project somehow? I did
create new utility project, and it has the attribute
`project-version="1.5.0"` could this be part of the problem?

Thanks!

-Nate
Re: Exported jars from utility module... [message #196806 is a reply to message #196742] Thu, 19 July 2007 21:08 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
I'm not sure if having a ".component" file instead of a
"org.eclipse.wst.common.component" file matters, but what's new in WTP
2.0 is that in your scenario, you should see warnings for the utility
project in the Problems view with respect to the jars its using.
Something like:

Classpath entry <some.jar> will not be exported or published. Runtime
ClassNotFoundExceptions may result.

If you invoke the Quick Fix for that warning, the ".classpath" file in
the utility project will be modified to flag that the jar should be
included in the dependant web project's WEB-INF/lib when exported or
published. If the jar hasn't been exported in the utility project yet,
the warning doesn't go away but becomes an error until the jar is
exported. Do you see such warnings in your Problems view for the older
and new utility projects?

Cheers,
Larry

Nathan Wilhelmi wrote:
> Hi - Still stuck on this, hoping it would be fixed by now. Just upgraded
> to the latest 3.3 and Europa release. JST tools show version 2. We have
> a java project with utility facet enabled, this was created in an
> earlier version so it still uses the .component file. All the jars in
> the utility project are exported on the build path. The utility project
> is listed as J2EE dependency in the Dynamic Web project, however when
> the app is started the jars are not visible from the utility project. Is
> this still a bug or do I need upgrade the utility project somehow? I did
> create new utility project, and it has the attribute
> `project-version="1.5.0"` could this be part of the problem?
>
> Thanks!
>
> -Nate
Previous Topic:Creating a web service by WTP
Next Topic:webservice disappear when I restart the weblogic 8.1 server
Goto Forum:
  


Current Time: Sat Nov 29 06:36:35 GMT 2014

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

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