|
Re: project dependency [message #157216 is a reply to message #157199] |
Thu, 19 January 2006 08:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tiller.lau.mlu.lsa-net.de
I have exactly the same problem.
The problem came with Eclipse 3.1.1+WTP 1.0 and all was fine with Eclipse
3.1.0+WTP 0.7.
And I have no idea..
|
|
|
|
|
Re: project dependency [message #157322 is a reply to message #157314] |
Thu, 19 January 2006 16:37 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: caclark.cox.net
AKakunin@emdev.ru wrote:
>
> The problem is that WTP 1.0 does not put referenced jars into
> WEB-INFO/lib then "Published" project to the server (as I found).
> But!
> You may generate WAR by yourself (Export -> WAR File) and in my cases it
> puts external libs under WEB-INFO/lib, so, after it you may deploy war
> to the server by yourself and it probably will work.
>
> Or (for JBoss 4.0.3 for example) you can put your referenced jars under
> server/<your conf>/lib - and any application in this configation will
> able to use them.
>
>
> Hope it will help!
> Alexey Kakunin
> CEO, EmDev
> Jdanovskaya nab. 7-10
> Saint-Petersburg
> 197110, Russia
>
> tel: +7 (812) 235-48-14
On Project->Properties, did you try to use the J2EE Module Dependencies?
I've used that for a couple of projects that depend upon a common Java
project and it puts the common Java project in the WEB-INF/lib as a jar
file with the name of the Java project.
Cary
|
|
|
Re: project dependency [message #157473 is a reply to message #157322] |
Fri, 20 January 2006 10:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tiller.lau.mlu.lsa-net.de
Thank you very much, Cary, now it works.
I already had that dependency, but without the desired effect. But after
your hint I also pushed the Apply-Button of the form and since then the
modification of the pure Java project automatically (!) chanches also the
WebApp, depending on it.
|
|
|
|
Re: project dependency [message #157645 is a reply to message #157322] |
Mon, 23 January 2006 09:57 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tiller.lau.mlu.lsa-net.de
I already answered: it works now. But the new problem is, that some
configuration files (*.properties, *.xml) from the package root directory
of the pure Java project are not deployed together with the JAR. So the
WebApp not works automatically (!) with the business layer from pure Java
project.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03690 seconds