facebook

.mymetadata not updated properly from Eclipse Preferences

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    jlemonier2
    Member

    Hi,

    Our .mymetadata file looked like this:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module type=”WEB” name=”CnsBatchSystem” id=”myeclipse.1108662001017″
    context-root=”/webapp/CnsBatchSystem”

    j2ee-spec=”1.3″ archive=”CnsBatchSystem.war”>
    <attributes>
    <attribute name=”webrootdir” value=”<prjroot>” />
    </attributes>
    </project-module>

    From Eclipse Preferences, MyEclipse, J2EE Project, Web Project:
    Source Folder Name => “Java Source”
    Web root Folder Name => “Web Content”
    Apply did NOT fix the troubled .mymetadata section:
    <attribute name=”webrootdir” value=”<prjroot>” />

    I’m not sure how that value got there, but it was not properly updated from that page.
    We had so many problems w/ deployment using MyEclipse because of this setting that we used Ant to do Production AND Development (painful) deployments.

    Some files written to:
    “CnsBatchSystem/WEB-INF” and some to:
    “CnsBatchSystem/Web Content/WEB-INF”

    very painful and very simple … but it rendered MyEclipse deployment useless.

    thanks!!

    jasonl@homestats.org

    #242399

    Riyad Kalla
    Member

    jason sorry to hear things are a bit hairy. The settings you adjusted are for new projects only, not for existing ones. To change the value for existing projects, you can edit your .mymetadata file directly and save it. Also you will need to change the Source dir manualy from the project properties settings.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: .mymetadata not updated properly from Eclipse Preferences

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