facebook

Want myEclipse to NOT to copy over my lib’s

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278563 Reply

    I am running tomcat 5.5 in an STANDALONE CONFIG
    i am running myEclipse IDE as a separate entity

    i am trying to communicate between two separate applications, two separate web contexts. Was pulling a ClassCast exception when in one context i tried assigning the object, instantiated in the other context. Resolved the problem by putting the class in question in a separate aspaceebean jar and putting this jar in TOMCAT/SHARED/LIB, now the code works, however i also need to keep a reference to the class in my build path. I have done this by the expedient of pointing my buildpath to the jar in TOMCAT/SHARED/LIB, however, have found that when i redeploy as an exploded jar file on tomcat the aspacebean.jar is also redeployed to my web-inf / lib directory, Is there any way to tell myEclipse that the jar file in already in the TOMCAT/SHARED/LIB folder and NOT TO COPY IT my web-inf/lib folder ?

    #278602 Reply

    Loyal Water
    Member

    To prevent the jars on your build path from being deployed, you can go to Windows > Preferences > MyEclipse > Java Enterprise Project > Web Project > Deployment and under the library deployment policy uncheck the “Jars on Web Project build-path”.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Want myEclipse to NOT to copy over my lib’s

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