- This topic has 5 replies, 3 voices, and was last updated 17 years, 4 months ago by
Loyal Water.
-
AuthorPosts
-
matthewPLMemberHi everyone,
I’m developing a J2EE application with Hibernate 3.2 and I’m deploying it to Jboss 4.2.2. As we all know – Jboss have already included all necessary Hiberante libraries and there is no sense to put some others in WEB-ING/lib folder during deployment.
However, I have to have those jars in my project build path in order to properly compile my classes. If I add MyEclipse Library – Hibernate 3.2 to my project build path everything is ok, I have no compilation error, but why does MyEclipse put Hibernate jar’s to my WEB-INF/lib folder, especially, in the same moment it’s not put javaee.jar, jsf-impl.jar and other Java EE 5 libraries… How can I exclude those jar’s from deployment?
I think I had already seen somewhere in MyEclipse a checkbox “Copy Hibernate libraries to web-inf/folder”. Where can I find it, and chagne this value to: “off” ?
Looking forward for any answer,
Greetings,
MatthewFebruary 11, 2008 at 3:18 pm #281644
Loyal WaterMemberMatthew,
Instead of the MyEclipse Library, you will have to add a user library with the hibernate jars to your build path and then go to Windows > Preferences > MyEclipse > Java Enterprise project > EAR project and uncheck “User Lib Jars exported from dependent java project”.You can refer to this doc incase you get stuck.
http://www.myeclipseide.com/documentation/quickstarts/earprojects/#dependent_projectsFebruary 11, 2008 at 3:27 pm #281646
matthewPLMember@support-nipun wrote:
Matthew,
Instead of the MyEclipse Library, you will have to add a user library with the hibernate jars to your build path and then go to Windows > Preferences > MyEclipse > Java Enterprise project > EAR project and uncheck “User Lib Jars exported from dependent java project”.You can refer to this doc incase you get stuck.
http://www.myeclipseide.com/documentation/quickstarts/earprojects/#dependent_projectsThanks a lot, I’ve already found that solution myself.
February 11, 2008 at 3:34 pm #281649
Loyal WaterMemberGlad you figured out the solution.
April 4, 2008 at 11:18 am #283704
OBERONASSOCIATESParticipantThis message has not been recovered.
April 4, 2008 at 11:54 am #283706
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts