- This topic has 6 replies, 4 voices, and was last updated 15 years, 5 months ago by support-shalini.
-
AuthorPosts
-
aliasCrucialMemberHere’s my problem.
I start a new project from an existing folder that has a maven project structure. Than I open the context-menu for the project and click on MyEclispe Maven > Enable Dependency Management. Now, because I have a WEB-INF folder under src/main/webapp MyEclispe prompts me with a dialog box titled “Reset Output Folder”.
It reads:
MyEclipse has detected that your project uses custom output folders. If the output folder is not set to <webroot>/WEB-INF/classes, these classes will not be available to your web application. Click Yes to reset the output folder or No to leave as is.
Whiter I click Yes or No MyEclispe sets the output folder to src/main/webapp/WEB-INF/classes (a bug?). I do not want this behavior. I want the default output folder configured under Window > Preferences.
The problem is that Subversive (Eclipse Subversion client) doesn’t seem to know or care that the classes directory is for output. The next time I try to commit my project Subversive will attempt to commit of the compiled class files because their under my project root. Who wants class files in their source control?
I want to prevent this behavior, but all attempts have failed. Is there a way to make the above mentioned dialog box works as it suggests? Can I completely disable the web capabilities of a project? Can I prevent MyEclipse from assuming I want to use it’s web capabilities just because it sees a WEB-INF folder?
Help!
Thanks
support-eugeneMember“Enable Dependency Management” is not officially supported by MyEclipse. Please create web project using MyEclipse wizard and copy your contents there.
fedaykinMemberEugene,
I am having a similar problem. I can import a project in Eclipse using Subclipse and then enable Maven features… but MyEclipse does not support this AT ALL?!?! No way to import an existing Maven/SVN prioject? Please advise if there is a workaround, this is crucial functionality for my team, and if we can’t do it in MyEclipse we will have to revert to using Eclipse.
Thanks,
Chris
support-eugeneMemberMyEclipse only supports projects created using its wizards.
fedaykinMemberEugene,
I realize that MyEclipse will only recognize the project configurations represented by its own wizards. We do not version .project files or anything IDE related. However, we do have a great deal of Java code in our Subversion repository. These projects use Maven, and have existing pom files. If there is NO WAY we can set up a MyEclipse project and import this code so that Subclipse and Maven4MyEclipse function properly, then I fear MyEclipse is completely useless in our shop. We would be better off monkeying with Eclipse plugin configurations ourselves, because at least then we know what we need to do is possible!
No way to import existing Java/Maven code into a MyEclipse project, no workaround? Please spend a little time considering the problem, this seems like very basic functionality for an IDE.
Thanks,
Chris
fedaykinMemberOops, I meant Subversive, not Subclipse. If it isn’t possible to connect to an existing Subversion project, that’s a show stopper for MyEclipse in my world.
support-shaliniMemberChris,
There is no workaround now. You can create a corresponding project in MyEclipse and import the existing project files into it.
You can request for this feature at
https://www.genuitec.com/forums/topics/myeclipse/feature-requests/ -
AuthorPosts