MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rcoe67
Post subject: Library Deployment Policies not honoured  PostPosted: Jan 22, 2009 - 09:14 PM
Registered Member
Registered Member


Joined: Jan 22, 2009
Posts: 16

I have several projects that are referenced by my web application. Each of those projects reference user libraries and I have set my library policy in my webapp to include Jars in the dependent projects. However, those jars never get deployed with my app.

Am I missing something?
 
 View user's profile Send private message  
Reply with quote Back to top
rcoe67
Post subject: Yes, I was missing something  PostPosted: Jan 22, 2009 - 09:18 PM
Registered Member
Registered Member


Joined: Jan 22, 2009
Posts: 16

I never clued into the whole "exported" keyword. When I set my user library to be exported in my dependent project, my jars got included in the deployment.
 
 View user's profile Send private message  
Reply with quote Back to top
rcoe67
Post subject: A web project can't be exported  PostPosted: Jan 22, 2009 - 10:22 PM
Registered Member
Registered Member


Joined: Jan 22, 2009
Posts: 16

I finally found the culprit to my problem. One of my dependent projects was marked as a web project. It seems that myEclipse does not export the compiled classes of a dependent web project. I had to remove the web capabilities and then my classes were deployed into my main webapp.

Is this by design?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: A web project can  PostPosted: Jan 26, 2009 - 07:15 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Quote:

Is this by design?

Yes. The dependent project should be a Java Project with the libraries.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits