Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsreference other projects in web project?
https://www.eclipse.org/forums/index.php/mv/msg/206313/660481/#msg_660481
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.]]>elhanan Maayan2011-03-18T15:19:29-00:00Re: reference other projects in web project?
https://www.eclipse.org/forums/index.php/mv/msg/206313/660484/#msg_660484
> 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 ...)]]>Russell Bateman2011-03-18T15:27:03-00:00Re: reference other projects in web project?
https://www.eclipse.org/forums/index.php/mv/msg/206313/660601/#msg_660601
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.]]>elhanan Maayan2011-03-19T19:23:54-00:00Re: reference other projects in web project?
https://www.eclipse.org/forums/index.php/mv/msg/206313/660602/#msg_660602
> 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.]]>Russell Bateman2011-03-19T20:03:36-00:00