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
hsheng
Post subject: web application deployment  PostPosted: Mar 21, 2005 - 04:57 PM



Joined: Mar 21, 2005
Posts: 5

Hello again,

Just upgraded to MyEclipse 3.8.4 trail and trying to create my first war file for my web project.

My web project has one dependent Java project. I want this dependent java project be packed into a jar file and be built into the /WEB-INF/lib folder of the war file. I am happy that I got everything built into the war file, no more, no less. Only that the jar file for the dependent java project does not have the ".jar" suffix!

What have I missed in my environment setting?
Please advice. Thanks in advance.

Harry
 
 View user's profile Send private message  
Reply with quote Back to top
hsheng
Post subject:   PostPosted: Mar 21, 2005 - 05:11 PM



Joined: Mar 21, 2005
Posts: 5

Or I cannot have a dot "." in my dependent java project name ?
 
 View user's profile Send private message  
Reply with quote Back to top
hsheng
Post subject:   PostPosted: Mar 21, 2005 - 05:23 PM



Joined: Mar 21, 2005
Posts: 5

Created a dummy java project without the "." in its name, let my web project depends on it. Recreate the war file for the web project. The jar file for this dummy project has the ".jar" suffix, the other (its project name is pdi.server) still miss the ".jar" suffix.

Looks like the "." in the project name caused the problem. I'll keep this in my mind.
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Mar 30, 2005 - 02:26 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

The reason this is the case is that when the deployer finds a project that already has a suffix in the name (ie. pdi.server) it assumes that you named it precisely as you want it referenced at deployment time. This allows our users to name projects with .rar, .sar, and other suffixes while allowing us to package and deploy them appropriately. So, if you have a '.' in the name, the name of the project will be taken as the name of the archive. If you don't include a '.', a '.jar' will be appended. Hope that clears it up a little.

_________________
--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