facebook

Remove ear capabilities

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #255475 Reply

    LeeMeador
    Member

    This message has not been recovered.

    #255489 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #255491 Reply

    LeeMeador
    Member

    This message has not been recovered.

    #255492 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #255498 Reply

    LeeMeador
    Member

    This message has not been recovered.

    #255505 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #255521 Reply

    LeeMeador
    Member

    I’m ok for now with the EJB and WAR projects using MyEclipse. It doesn’t seem to cause any problems. The builders on the EAR file do cause me problems. Or maybe its some sort of deployer thing.

    There is something in the EAR project that is doing something. I can see two natures in the project file and several builders that I don’t recognize and there is a .mymetadata file. If I delete the metadata file and remove all the natures and builders, I still get a message saying that the .mymetadata file can’t be found.

    I put all the stuff back by reverting from my source control.

    Are there more things than these that I would have to remove?

    #255535 Reply

    Riyad Kalla
    Member

    Ok so here’s what I did (if this works out, follow what I did and see if it helps). I created a new EAR with a new EJB and WEB module. I right clicked on the EAR, went down to Properties, then went to Project References and unchecked both projects and hit OK.

    Then I went to Navigator view and opened the .project file and had this:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>TestEAR</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.wst.validation.validationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>com.genuitec.eclipse.j2eedt.core.earnature</nature>
        </natures>
    </projectDescription>
    

    I changed it to this and saved it:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>TestEAR</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
        </buildSpec>
        <natures>
        </natures>
    </projectDescription>
    

    Now I closed and reopened the EAR. Now I erased the .mymetadata file, closed and reopened the project. No errors reported, everything seems fine. If you opened the EAR project properties and look under the “Info” panel, under project type mine just says “Project”. So it seems I’ve labotomized the project and removed MyEclipse from the equation.

    I did notice that there are still some core MyEclipse preferences listed under the Project Properties dialog, but I think that’s OK. I believe MyEclipse contributes those to all project properties tabs.

    Is this what you wanted to do?

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Remove ear capabilities

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