facebook

Getting external lib dependancies deployed [Closed]

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

    Randy
    Member

    Hi,
    I’m sure this is a pebcak (problem exists between chair and keyboard) issue, but I can’t seem to get certain dependancies to deploy in WEB-INF/lib. My stuff from the dao/domain objects gets deployed, but my spring and hibernate jars do not. I figure I missed something really obvious.

    Tx in advance!

    randy

    #239561 Reply

    Randy
    Member

    more info. Under the project-props -> Myeclipse Web I have (as part of my defaults) “jars on web project build path” and “Jars in web projects user libs” selected.

    #239563 Reply

    Randy
    Member

    Ok, it looks like the libs are actually deployed in my TOMCAT_HOME/webapps/project/WEB-INF/lib, and not my PROJECT_HOME/webapp/WEB-INF/lib. Just out of curioustiy what is the diff between these two?

    Tx.
    R

    #239574 Reply

    Riyad Kalla
    Member

    Randy,
    What does PROJECT_HOME resolve to here? The deployment step is where MyEclipse takes all the files from your project and important files from your build path and copise them out to your app server… so in this case the behavior was correct, so I’m not exactly sure which part was confusing (why it wasn’t first copied into your project physically?)

    #239805 Reply

    Randy
    Member

    actually it was my bad, ie it worked exactly as you defined it. I just had it configured wrong (the project webnature was not configured to copy dependancies correctly). Doh!

    Tx again!

    Randy

    #239820 Reply

    Riyad Kalla
    Member

    Randy I’m glad it’s working, thank you for following up.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Getting external lib dependancies deployed [Closed]

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