- This topic has 7 replies, 2 voices, and was last updated 18 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
LeeMeadorMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
LeeMeadorMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
LeeMeadorMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
LeeMeadorMemberI’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?
Riyad KallaMemberOk 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?
-
AuthorPosts