- This topic has 1 reply, 2 voices, and was last updated 17 years, 3 months ago by
Loyal Water.
-
AuthorPosts
-
Andres FariasMemberHello,
I have a simple Java project, which I’m using as a commong source for EJBs and a WebApp. It happens that when I deploy de Web-App, it only adds to the /WEB-INF/classes folder the classes of the web-proyect’s source folder, but it does not add the clasess located in the dependent project’s source folder.
I’ve tryed the three options for web-deployment (smart, jars, etc.) but none of them works. So I finally have to put thos classes by hand.
Is there a way I could do this automatically, instead of using ant?
Cheers,
AndresPS: My MyEclipse instalation summary is here:
*** Date: Friday, November 16, 2007 5:15:57 PM CLST ** System properties: OS=WindowsXP OS version=5.1 Java version=1.6.0_03 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 6.0.1 GA Build id: 6.0.1-GA-200710 *** Eclipse details: MyEclipse Enterprise Workbench Version: 6.0.1 GA Build id: 6.0.1-GA-200710 Eclipse Graphical Editing Framework Version: 3.3.1.v20070814 Build id: 20070814-1555 Eclipse Platform Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G Build id: I20070621-1340 Eclipse RCP Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG Build id: I20070621-1340 Eclipse Java Development Tools Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR Build id: I20070621-1340 Eclipse Graphical Editing Framework Version: 3.3.0.v20070620 Build id: 20070814-1555 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Archivos de programa\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Archivos de programa\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll -startup C:\Archivos de programa\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar -data C:\andres\work\ncx-ec\proyectos\sigges\desarrollo\workspace -launcher C:\Archivos de programa\eclipse\eclipse.exe -product com.genuitec.myeclipse.product.ide -vm C:\Archivos de programa\Java\jre1.6.0_03\bin\client\jvm.dll
Loyal WaterMemberHave you added the java project as a reference to the Web app that is being deployed by right clicking on the WebApp and going to Properties > Preject References and checking the Java Project ?
Note – When deploying a Web app with dependant projects, MyEclipse creates JAR archives of each dependent Java project’s output locations. The resulting JAR files are then merged into the deployment’s WEB-INF/lib directory.
-
AuthorPosts