For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 4 voices, and was last updated 22 years, 2 months ago by
Scott Anderson.
-
AuthorPosts
-
MoppersmurfMemberI saw ME 2.8 can deploy dependant projects in a Web Project.
It would be very nice for me if dependant projects would be deployed by the Enterprise Application Project into the ear in the meta-inf/lib directory. Will this be possible?
To give some background: I have an application with several EJB’s and Web Modules sharing some code. Now I export this code to a jar and deploy it manually. I would very much like it when the shared code would be deployed in the meta-inf/lib directory by MyEclipse.
June 28, 2004 at 10:29 am #209133
Riyad KallaMemberMopper I”ve asked someone in the know to take a look at this, last I knew we were talking about support for something along these lines but there were still a lot of questions that needed to be answered.
June 28, 2004 at 1:56 pm #209147
Scott AndersonParticipantIt would be very nice for me if dependant projects would be deployed by the Enterprise Application Project into the ear in the meta-inf/lib directory.
The problem with that is that while you might like them there, it’s not part of the spec and others would like them in equally desirable but random (spec-wise) places. As a result, we’ll be looking into truly flexible project and deployment support over the summer.
To give some background: I have an application with several EJB’s and Web Modules sharing some code. Now I export this code to a jar and deploy it manually. I would very much like it when the shared code would be deployed in the meta-inf/lib directory by MyEclipse.
You can accomplish what you want in the interim by creating the meta-inf/lib folder in your EAR project and then placing the jars in that directory using the Navigator view. Once their in the project, the deployer will automatically pick them up, thus saving you the manual deployment.
June 30, 2004 at 3:10 am #209220
stevenfruijtierMemberThanks for the quick reactions.
@support-scott wrote:
It would be very nice for me if dependant projects would be deployed by the Enterprise Application Project into the ear in the meta-inf/lib directory.
The problem with that is that while you might like them there, it’s not part of the spec and others would like them in equally desirable but random (spec-wise) places. As a result, we’ll be looking into truly flexible project and deployment support over the summer.
A flexible approach would indeed be better of course.
To give some background: I have an application with several EJB’s and Web Modules sharing some code. Now I export this code to a jar and deploy it manually. I would very much like it when the shared code would be deployed in the meta-inf/lib directory by MyEclipse.
You can accomplish what you want in the interim by creating the meta-inf/lib folder in your EAR project and then placing the jars in that directory using the Navigator view. Once their in the project, the deployer will automatically pick them up, thus saving you the manual deployment.
The jar’s are changed every now and then by other project members, so I would have to build the jars all the time in order to deploy them in the EAR. Ideally I would get a latest version of the java source files and MyEclipse would build the jar and put it into the EAR, just like the lib jars are handled by web module projects now. Well, I can work with some workarounds now.
June 30, 2004 at 10:04 am #209235
Scott AndersonParticipantSteven,
Thanks for the input. We’ll continue to enhance the flexibility going forward.
-
AuthorPosts
