facebook

share project web deployment policies

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #267306 Reply

    snb
    Member

    Hello

    How can i share the myeclipse settings of the web deployment policies in cvs. Each time if i change some deployment settings and do a commit, i can see that a .mymetadata file is commited. But this file doeas not contain any information about deployment.

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

    Is there a possibility?

    thx
    daniel

    #267336 Reply

    Riyad Kalla
    Member

    Daniel,
    This was actually fixed in MyEclipse 5.1.0 release, the file the information gets stored in is:
    .settings/com.genuitec.j2eedt.core.prefs

    #267365 Reply

    snb
    Member

    Hi Riyad

    I had a look in this file, and i only see some tld information:

    
     #Tue Mar 13 10:27:34 CET 2007
    defaultTldInfo=http\://java.sun.com/jsp/jstl/core\=c;http\://java.sun.com/jsp/jstl/sql\=sql;html\=http\://struts.apache.org/tags-html;c\=http\://java.sun.com/jsp/jstl/core;fmt\=http\://java.sun.com/jsp/jstl/fmt;h\=http\://java.sun.com/jsf/html;nested\=http\://struts.apache.org/tags-nested;http\://struts.apache.org/tags-html\=html;http\://java.sun.com/jsp/jstl/fmt\=fmt;bean\=http\://struts.apache.org/tags-bean;http\://java.sun.com/jsp/jstl/functions\=fn;fn\=http\://java.sun.com/jsp/jstl/functions;logic\=http\://struts.apache.org/tags-logic;http\://struts.apache.org/tags-nested\=nested;http\://java.sun.com/jsp/jstl/xml\=x;tiles\=http\://struts.apache.org/tags-tiles;f\=http\://java.sun.com/jsf/core;http\://java.sun.com/jsf/html\=h;http\://struts.apache.org/tags-tiles\=tiles;http\://java.sun.com/jsf/core\=f;http\://struts.apache.org/tags-bean\=bean;x\=http\://java.sun.com/jsp/jstl/xml;sql\=http\://java.sun.com/jsp/jstl/sql;http\://struts.apache.org/tags-logic\=logic
    eclipse.preferences.version=1
    

    Nothing about deployment policies. Only the timestamp changes if i edit the policies.

    We use MyEclipse 5.1.0 GA build 20061111.

    Any idea?

    thx
    daniel

    #267380 Reply

    Riyad Kalla
    Member

    Daniel,
    There was a developer note with this fix that makes it backward compatible, which may be why you aren’t seeing the change… try going to your deployment settings and hit Reset Defaults and hit OK. Then go back and override the workspace settings and setup the deployment rules again and see if the file changes. If it doesn’t, try setting up a new project and override the workspace settings and see if *that* new file gets the correct settings. I know there were issues with the backward compatability that required us to honor the old way of storing the settings for existing projects.

    #267443 Reply

    snb
    Member

    Hello Riyad

    I tried both of your suggestions, but they didn’t work. Today i also downloaded the MyEclipse 5.1.1 version and tried the same thing again with a new WebProject.
    But any deployment settings are not saved in the .settings/com.genuitec.j2eedt.core.prefs file. The file never gets touched.

    thx
    daniel

    #267445 Reply

    Riyad Kalla
    Member

    Daniel,
    Lemme take this back to the devs and see whats going on.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: share project web deployment policies

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