MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bkaplan
Post subject: Deploy non-exported jars with webapp?  PostPosted: Jan 25, 2005 - 08:31 PM
Veteran Member
Veteran Member


Joined: Jun 02, 2004
Posts: 28

I see that jars exported by dependent projects is deployed. This is nice. Many of my projects use jars internally and thus do not export them. But those jars are needed at run-time.

It kinda sucks to have to either:

a) export jars that really part of the internal design
b) have the webapp "know" the internal dependencies of projects, and import required jars into the webapp project.

Is there an option C?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bkaplan
Post subject:   PostPosted: Jan 25, 2005 - 09:21 PM
Veteran Member
Veteran Member


Joined: Jun 02, 2004
Posts: 28

Arrrg, Is it also true that exported projects of dependent projects are not included in the classes directory? That its not enough to export dependent projects, but the webapp project needs to explicity depend on the transitive closure or project dependencies?

I surely hope I am doing something wrong....
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bkaplan
Post subject:   PostPosted: Jan 31, 2005 - 02:32 PM
Veteran Member
Veteran Member


Joined: Jun 02, 2004
Posts: 28

MyEclipse Team, any chance on getting a reply....
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 31, 2005 - 02:45 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Woops, not sure how this got overlooked, I'm asking the dev that handles deployment to reply.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jan 31, 2005 - 04:42 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Currently, the deployer does not perform a transitive closure and create a jar for every project referenced in a transitive manner from every dependant project of a web project. It specifically looks one level deep to provide you with an exact way of specifying exactly what you want packaged (by created a project dependency) versus those projects / jars used internally that might already exist in the server at runtime through other means. So, if you have projects that need to be deployed because your dependent projects need them, you'll currently have to specify them as a direct dependent of the web project as well. Full details on how all this work is in the Advanced section of the Working With Web Projects Quickstart that's available in the Documentation Section here: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

With each release of MyEclipse we continue to add additional deployment flexibility and will continue to do so in the future. We're currently looking at providing a manual model that will allow full specification of precisely what will be deployed and where it will go, but this capability is still a release or two away.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits