- This topic has 4 replies, 2 voices, and was last updated 14 years, 4 months ago by borlander.
-
AuthorPosts
-
borlanderMemberHi,
I’ve been trying MyEclipse for a while looking forward to migrate from Eclipse to MyEclipse. There’s two issues that prevents me from doing so.
First one is simple: Is there any way to add/remove capabilities to a project after creation? (like Project Facets in Eclipse)
Second one is a bit more complicated: We keep common librarie sets under various “user libraries” and they are cpoied into “WEB-INF/lib” upon deployment (no problem so far with MyEclipse).
However, there are several other build time user libraries we DO NOT want to get deployed, say:
* javaee.jar from MyEclipse “Java EE Libraries” library.
* Other common stuff we place into “TOMCAT_HOME/lib” folder, so we don’t want to be placed into “WEB-INF/lib” also.Is there any way to fine grain which libraries are to be deployed or not? In Eclipse there’s a “Java EE Module Dependencies” project option, but in MyEclipse I can only find a way to “deploy o not deploy” all user libraries…
… any way to get something like that?
Thanks in advance and congratulations for MyEclipse.
Brian FernandesModeratorborlander,
Thank you for trying MyEclipse.
1) We don’t have wizards to remove capabilities. Most capability wizard that MyEclipse has will only add a nature / builder and a few project containers to the project. The nature and builder can be removed by manually editing the .project file, the containers can easily be removed from the Java Build Path properties page. I realize this is far from ideal, but it is something we will be working on during the next year.
2) The javaee.jar that you mention is specifically not deployed – it’s only added to your project’s classpath for compilation. Almost all libraries can be customized if you go to Window > Preferences > MyEclipse Project capabilities which allows you to add and remove JARs from the containers – this allows some level of control over what is deployed, though it ties in with what is available on your project’s classpath.
In the same preference page, if you expand a JAR and double click the “Server deployment excludes”, you can prevent a library from being deployed to certain servers, while remaining on the project’s classpath.Please let us know if you have any further questions.
borlanderMemberHi!
Thanks so much for your answer 🙂
You’re right about “javaee.jar” file… I didn’t notice I have a file with the same name into one of my user libraries, and it’s that the one being deployed.
That’s exactly my point… I know I can configure MyEclipse libraries to specify which jars are deployed or not… but I can’t find a way to do that very same thing with my user libraries.
Is this possible?
Thanks in advance
Brian FernandesModeratorAh, sorry – we don’t allow such control for user libraries yet. “Deployment Exclusion” is something we will be working on during the MyEclipse 9.x series and that is what will allow you finer control over almost anything that can be deployed.
borlanderMemberAh, ok!
I look forward for that development. I’ll keep an eye on MyEclipse as that’s the only issue that makes us stick to Eclipse.
Anyway, it’s a great IDE. Good work!
Thanks so much for your answers!
-
AuthorPosts