Hi,
I have one web project (B) that depends on another project (A) for its classes. I have set in B that it depends on A. I have tried to set the “Web Project deployment Policy” to both “JAR and place them in lib” and “Smart deployment”, but the classes of A are never deployed to B:
I am deploying to Tomcat 6 using an exploded deployment.
On the other hand I have project A referencing a third project, a simple Java project. In this case the deployment works. So it seems that this features works only when the referenced project is a Java project, not web project. Is that true ?
Actually I don’t want to put the sources of project A in a separate Java project. My B project only needs one class of the A project and It would be overkill.
Any other idea how I can make it work ? I wanted to automatically build a JAR for my project A, then manually copy it to B’s lib dir when changes are made. But I didn’t fin how to automatically build a JAR for a web project.
Tanks for your help,
Kind regards