- This topic has 3 replies, 3 voices, and was last updated 16 years ago by rmcvay.
-
AuthorPosts
-
sphemyMemberExample:
WebA (web-project)
+– refers to java-project A
+– refers to java-project Bproject A
+– refers to java-project comp1
+– refers to java-project comp2
project B
+– refers to java-project comp3The problem I have is when I want to deploy project WebA on a JBoss 4.2 server, only the classes of project A and B are deployed. I have to define the projects comp1, 2 and 3 in the classpath of project ‘WebA’. My question is: why?
What should i do so myeclipse searches the classpath for all the project-dependencies? => So I have to define the project-dependencies only once?ps:
Myeclilpse configuration:*** Date: donderdag 6 november 2008 15:01:39 Frankrijk
*** Platform Details:
*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
birt.viewer.working.path=C:\dev\.metadata\.plugins\org.eclipse.birt.report.viewer
eclipse.buildId=M20070921-1145
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
a30_74
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
eclipse.ee.install.verify=false
eclipse.product=com.genuitec.myeclipse.product.ide
eclipse.startTime=1225962136977
eclipse.vm=C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
eclipse.vmargs=-Xms256M
-Xmx1024M
-XX:PermSize=128M
-XX:MaxPermSize=256M
-jar
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
eof=eof
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
http.nonProxyHosts=*.boss.be|*.bossportal.be|*.bossvip.be|*.colora.be|127.0.0.1|bossws|localhost|pc536|pc545|pc556
http.proxyHost=192.168.2.100
http.proxyPort=4480
http.proxySet=true
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
java.class.version=49.0
java.endorsed.dirs=C:\Program Files\MyEclipse 6.0\jre\lib\endorsed
java.ext.dirs=C:\Program Files\MyEclipse 6.0\jre\lib\ext
java.home=C:\Program Files\MyEclipse 6.0\jre
java.io.tmpdir=C:\DOCUME~1\ra\LOCALS~1\Temp\
java.library.path=C:\Program Files\MyEclipse 6.0\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\PROGRAM FILES\INFORMIX\BIN;C:\java\maven-2.0.7\bin;C:\Program Files\Common Files\GTK] –>.0\bin;C:\java\agntctrl.win_ia32-TPTP-4.3.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\cwRsync\bin;C:\Program Files\Java\jdk1.6.0_03\bin;C:\java\apache-ant-1.7.0\bin;
java.protocol.handler.pkgs=org.apache.axis.transport|
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_11-b03
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_11
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_11-b03
……
wciesielMemberTry marking everything (libraries and projects, apart from JRE of course ;-)) as exported in your projects. Then check preferences of your web projects under path myeclipse/Web and the “deployment” tab. Should ring a bell I think…
sphemyMember@wciesiel wrote:
Try marking everything (libraries and projects, apart from JRE of course ;-)) as exported in your projects. Then check preferences of your web projects under path myeclipse/Web and the “deployment” tab. Should ring a bell I think…
Done that, read the help multiple times, but I think I am missing somehting.
The configuration is the following:
The dependent project policy = use smart deployment for dependent java projects (that works only for the dependencies defined in the web-project itself, but not on the dependencies of the dependencies. Refering to my example: the classes of project A and B are deployed, but not the classes of project comp1 2 and 3.
rmcvayMemberAre comp* just declared on the build path of their projects or are they also defined to be exported/included in their dependent project builds? Also, have you tried building these in ME 6.5?
-
AuthorPosts