facebook

Including my own jar in multiple webapps

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #242361 Reply

    ndvivedi
    Member

    Is there a way to automatically include a jar that you are actively working on in eclipse into my webapps? Here is my situation, i have 3 webapps that are all using the same base code. Is there a way to get eclipse to automatically construct the jar and include it into these apps? Right now i manually tell eclipse to build a jar, then import it into my webapps. This isnt hard, but i was wondering if there is a better way to do this?

    thanks
    nnd

    #242362

    fermataintl
    Member

    if the jar is in an eclipse project, you can set up your web projects to depend on that common project.

    Bring up properties for a web project. Click on Java Build Path and then choose the Projects tab. Add your common project in there.

    Hope this helps.
    Dean

    #242372

    Scott Anderson
    Participant

    nnd,

    Dean is right on the money on this one. More details on how to do what he suggests are in the advanced section of the Working with Web Projects tutorial in the Documentation Section.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Including my own jar in multiple webapps

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