|
Re: reference other projects in web project? [message #660484 is a reply to message #660481] |
Fri, 18 March 2011 15:27 |
|
On 18-Mar-11 09:19, elhanan wrote:
> hi.
>
> i don't know if it's possible but i've added in the build path of a
> dynamic web project a reference to another project, although this does
> compile when i try to launch the servlet it cannot find the classes in
> the other project.
I haven't done this, but surely it's a matter of adding the project to
the Deployment Assembly? (Right-click web project, choose Properties ->
Deployment Assembly -> Add -> Project ...)
|
|
|
|
Re: reference other projects in web project? [message #660602 is a reply to message #660601] |
Sat, 19 March 2011 20:03 |
|
On 2011.03.19 13:23, elhanan wrote:
> thanks, initially i tried using the launching of the class path of the
> container.. but this is better.
>
> altough i did have to fight it over, i had to specify user libraries of
> hibernate, slf4j and oracle drivers in the Deployment Assembly of the
> source project itself.
> and also had lots of bugs in it.
Sounds like you're on the right track. Yes, you do use the Deployment
Assembly to list everything your web application consumes.
|
|
|
Powered by
FUDForum. Page generated in 0.05055 seconds