facebook

How to utilize another project?

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

    sntechnik
    Member

    Hi,

    i just want to use another projects’ libraries in my actual project.

    Let’s say, i’ve got a project named “admin” with the library “de.sonstwas.admin.myPackage”.
    Now i create a new project, called “admin-gui” for my struts-gui.

    In this project, i want to reference “de.sonstwas.admin.myPackage.*”….

    What i did is adding this project as “required project on the build path”. But it doesn’t work, although this project is listed there?!
    I saw, i can edit “Access rules”, is that the place i need to add something? But how?

    Kind regards, Florian

    #263770 Reply

    Riyad Kalla
    Member

    Florian,
    This is supported as long as “admin” is a Java Project and not another Web Project. You just add “admin” to the build path like you did, then you go down to Project References and check it there to and hit OK.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to utilize another project?

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