Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hugurhf
Post subject: 4.0GA: Web Projects: Problems with non-default settings  PostPosted: Aug 31, 2005 - 02:04 PM
Veteran Member
Veteran Member


Joined: Oct 27, 2003
Posts: 4

I'm using Web projects in MyEclipse 4.0GA (on Windows 2003 Server)
and my web projects don't have their context root url as their name
and the web root folder is "Web Root" instead of the default "WebRoot".

This caused a lot of problems because neither
the context root url or the web root folder setting
are stored in the .mymetadata file
(the file did have the web folder setting as "WebRoot" but nothing about the context root url).

Therefore I was unable to deploy my project (the deployment tool prompted with an empty error dialog! Very helpful :) )...

When I changed the project to use default settings
(the project name as the context root url and web root folder as "WebRoot")
it worked fine.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Aug 31, 2005 - 02:19 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Actually the context-root is stored in the .mymetadata file, here is an example one:
Code:

 <?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="MyTestApp"
  id="myeclipse.1122952087675"
  context-root="/myTestApp"
  j2ee-spec="1.4"
  archive="4.war">
  <attributes>
    <attribute name="webrootdir" value="WebRoot" />
  </attributes>
</project-module>



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