facebook

How to get Struts jars in to lib directory?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #281679 Reply

    harryajh
    Member

    Using ME 6.0.1 GA, Eclipse 3.3.1.1 running in jdk1.5.0_14 on Win 2000 4. deploying to Weblogic 8.1 (sp3)

    Just added Struts 1.3 to my web project, when I deploy it all the relevant jar file are copied by ME in to the lib directory which is fine.

    But I want to them all in my local project lib directory as well so I can put them in to CVS and anyone who then checks the project out gets the entire project without having to hunt around for the correct version of the JARS – is there a switch in ME to do this or do I have to manually copy them?

    thanks in advance!

    #281700 Reply

    I know what you mean, and I’d like an easy way to manage this too. But if you’re using MyEclipse to manage your project’s build path, rather than dumping all the necessary JARs into the project’s WEB-INF/lib folder yourself, I don’t think you’ll have much joy. Happy to be proven wrong though!

    #281775 Reply

    Riyad Kalla
    Member

    Sorry guys, you are right. We actually *used* to copy the JARs directly into the /lib dir so the projects were “complete” when checked in… and then we got a huge backlash from users for doing that, pointing out that they have 10 or 20 projects checked in, all with copies of the same libs over and over and over again.

    So then we updated all the wizards to simply use software container references to the libraries.

    The workaround right now is to copy the libraries in manually.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to get Struts jars in to lib directory?

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