- This topic has 2 replies, 2 voices, and was last updated 20 years, 8 months ago by RickHigh.
-
AuthorPosts
-
RickHighMemberI have an MyEclipse EJB Project.
I want to deploy the EJB jar file with the jar files it depends on.
For example, the EJB jar file depends on hibernate.jar.
Typically, this means that the MANIFEST.MF file under META-INF of the jar file will have an entry specifying a classpath.
Manifest-Version: 1.0
Class-Path: <classpath here>The Class-Path in the Manifest will contain all the jar files that the EJB depends on.
I would expect (and wrongly so… perhaps) that during deployment (from MyEclipse) it would look through all of the project’s jar files (in the .classpath) deploy the dependent jar files in a directory, i.e., express.jar.libs, and then add references to those jar files from the EJB jar file’s MANIFEST.MF->Class-Path setting.
Does MyEclipse support this? If not what do you reccomend. If so? How do I set this up?
😀
–Rick Hightower II
—————— INFO REQUESTED IN STICKY READ ME POST —-
What operating system and version are you running? Windows XP
What Eclipse version and build id are you using? (Help > About Eclipse Platform) **Eclipse 2.12– Was Eclipse freshly installed for MyEclipse?
**NO
– If not, was it upgraded to its current version using the update manager? **NO
– Are any other external plugins installed?
**YES, Hibernator, Spring plugin, DBEdit, Omondo– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* **7 dirs
What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
**2.6.2What JDK version are you using to run Eclipse? (java -version)
**JDK 1.4
What JDK version are you using to launch your application server?
**same
What steps did you take that resulted in the issue?
**No issue
What application server are you using?
** Resin, JBoss, and Tomcat… for now I just care about JBoss
Are there any errors in the Eclipse log? (<workspace>/.metadata/.log)
** No
Scott AndersonParticipantRick,
I would expect (and wrongly so… perhaps) that during deployment (from MyEclipse) it would look through all of the project’s jar files (in the .classpath) deploy the dependent jar files in a directory, i.e., express.jar.libs, and then add references to those jar files from the EJB jar file’s MANIFEST.MF->Class-Path setting.
Yep, that would be smokin’ hot, but we’re not quite there yet. 🙂 We’ll be doing a lot more in regard to this when we tackle dependent projects and the flexible project mods that are slated for version 2.8. However, right now, we do support the deployment of everything, but you just have to add your jars to your project and manually modify your manifest classpath as you’ve indicated. We’ll get there though.
RickHighMemberCool… Not a problem. Thanks.
-
AuthorPosts