facebook

Libraries, lib, paths to, references

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

    Renen
    Member

    Hey All,

    I have multiple projects that utilise a common set of libraries which are grouped into a user library and added as a reference to the projects. The libraries themselves are created using the export / create jar functionality, and they live in my JBoss server library directory. So far so good.

    The problem comes when I change one of the libraries. Which is happening fairly often at the moment. The web project doesn’t access the libraries in the JBoss directory. Rather, it looks for them in the WEB-INF/lib directory. So, after a change, it’s a case of create the jar, copy the jar to all other projects (specifically, into the WEB-INF/lib directory). Run clean all projects. Wait. Read Slashdot. Count to a million. Wait more. Re-copy the jars from where they where originally exported to the WEB-INF/lib directory. Then launch Tomcat or JBoss.

    Then, if I am lucky, breakpoints will break on the correct line, in the correct version of the source code. Sometimes it doesn’t. In which case I restart Eclipse, clear the tomcat work directory and whack any temp directories I can lay my hands on. Which sometimes helps. And sometimes doesn’t!

    The process is tedious. 😉 If anybody knows of a better approach, I’d love to hear about it!

    Thanks.

    Renen.

    #277650 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Libraries, lib, paths to, references

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