- This topic has 3 replies, 2 voices, and was last updated 16 years, 1 month ago by Loyal Water.
-
AuthorPosts
-
Petar Banicevic_deletedParticipantDear MyEclipse Developers,
I have seen this bug and was waiting since a long time : versions 6, 6.5, 7M1, 7M2 and still it’s buggy !!!
TO REPRODUCE:
– Create a web application
– Add several jars
– go to project properties on “Order and Export”
– deselect all jarsRESULT:
All jars will be exported ! This sucks !WORK AROUND:
– Open file: .classpath
– locate one entry e.g.
<classpathentry kind=”lib” path=”/portal/lib/development/activation.jar”/>
-change it like this, add exported=”false”, e.g.
<classpathentry exported=”false” kind=”lib” path=”/portal/lib/development/activation.jar”/>
– do that with all others that you don’t want to export
– NEVER AGAIN TOUCH “JAVA BUILD PATH” SECTION OF PROPERTIES or you loose all changes.PLEASE PLEASE PLEASE PLEASE FIX THIS…. I WAS WAITING FOR THIS TOO LONG AND NO ONE SEES THIS …
P L E A S E – THIS IS REALLY ANNOYING “FEATURE” !
THANKS
Loyal WaterMemberpetar_b,
If you want to prevent the jars from getting deployed you can go to Project > Properties > MyEclipse > Web > Deployment and uncheck “JARs from build path” under Library deployment policy. Let me know if you were looking for something else.
Petar Banicevic_deletedParticipantTHANK YOU x 1 000 000 TIMES. So, this is not a BUG THEN – Sorry !
Nipun, you got me here. I don’t have a web application. I am using code and libraries that is generated by liferay ant files. Unfortunatelly output project is a plain java project, not a web project. SO your solution will work.
Can you please tell me the purpose of export secion in the “Order and Export”… it was confusing me since I was born 🙂 🙂
Thank you.
Loyal WaterMemberThe order and export tab determines the build order and how a project can be exported. You can refer to this thread for more information:-
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&t=003503 -
AuthorPosts