facebook

4.0GA: Web Projects: Problems with non-default settings

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236202 Reply

    Sveinn Jonsson
    Participant

    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.

    #236208 Reply

    Riyad Kalla
    Member

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

    
     <?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>
    
    
    
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: 4.0GA: Web Projects: Problems with non-default settings

You must be logged in to post in the forum log in