Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 1.0RC5 and dependent modules
WTP 1.0RC5 and dependent modules [message #152775] Sun, 18 December 2005 18:46 Go to next message
Andrew Vernon is currently offline Andrew VernonFriend
Messages: 2
Registered: July 2009
Junior Member
Am having a few problem with 1.0RC5 and dependent modules. Have written a
simple test case with a JSP which makes a call to the Commons Lang class
RandomUtils.

If I place the Commons JAR file into the WEB-INF/lib directory then the
JSP works as expected, however as I'm a maven user I don't want the libs
in all my projects, I want to use a variable to point to my maven repo.
So I created the variable and added the JAR as a variable reference in the
"J2EE Module Dependencies" page. The JSP looks OK within eclipse (no red
error underline in the JSP edit window) but when I view the JSP in the
browser I get a "cannot resolved type" error for RandomUtils. If I check
the deployment directory the Commons JAR file is not in the lib directory.

I checked the .settings/.component file and the entry for the JAR is
there, it's just not being copied on deployment. Also tried using "Add
external JAR" option instead of a Variable, but got the same result.

What am I doing wrong?!? Is the "J2EE Module Dependencies" page working??
Do I have to do something else to get the "external jars" copied to the
deployment directory?
Re: WTP 1.0RC5 and dependent modules [message #152791 is a reply to message #152775] Mon, 19 December 2005 13:28 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
You probably want to keep an eye on:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783

Cheers,
Larry

Andrew Vernon wrote:
> Am having a few problem with 1.0RC5 and dependent modules. Have written
> a simple test case with a JSP which makes a call to the Commons Lang
> class RandomUtils.
> If I place the Commons JAR file into the WEB-INF/lib directory then the
> JSP works as expected, however as I'm a maven user I don't want the libs
> in all my projects, I want to use a variable to point to my maven repo.
> So I created the variable and added the JAR as a variable reference in
> the "J2EE Module Dependencies" page. The JSP looks OK within eclipse
> (no red error underline in the JSP edit window) but when I view the JSP
> in the browser I get a "cannot resolved type" error for RandomUtils. If
> I check the deployment directory the Commons JAR file is not in the lib
> directory.
>
> I checked the .settings/.component file and the entry for the JAR is
> there, it's just not being copied on deployment. Also tried using "Add
> external JAR" option instead of a Variable, but got the same result.
>
> What am I doing wrong?!? Is the "J2EE Module Dependencies" page
> working?? Do I have to do something else to get the "external jars"
> copied to the deployment directory?
>
Re: WTP 1.0RC5 and dependent modules [message #152863 is a reply to message #152791] Mon, 19 December 2005 19:34 Go to previous messageGo to next message
Andrew Vernon is currently offline Andrew VernonFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks for the heads up ... am a little distressed that it's not targeted
until 1.0.1.
Re: WTP 1.0RC5 and dependent modules [message #154217 is a reply to message #152863] Thu, 29 December 2005 16:06 Go to previous message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

Andrew Vernon wrote:
> Thanks for the heads up ... am a little distressed that it's not
> targeted until 1.0.1.
>

Please hurry up on this issue!
When is 1.0.1 expected?
Cheers
Previous Topic:Cannot install project facet Java 5.0
Next Topic:debugging a Tomcat webapp in WTP 1.0
Goto Forum:
  


Current Time: Fri Apr 26 11:37:38 GMT 2024

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

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

Back to the top