facebook

Using XDoclet to set Class-Path in manifest.mf

💡
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
  • #202092 Reply

    jzwiers
    Member

    I’ve got a message driven bean.

    It’s dependent on DBAccess.jar

    I can’t figure out how to use MyEclispse / XDoclet to put DBAccess.jar in the class-path of manifest.mf.

    Help???

    #202096

    Riyad Kalla
    Member

    Have you tried adding the jar in question to your project libraries?

    #202141

    jzwiers
    Member

    Yes and no.

    I’ve got three projects: An EAR, an EJB and a WebApp. It’s the EJB that needs the JAR.

    I took the advice of another post in the forum and created a .jardesc file in the EAR project that drops the required JAR into the lib directory of the EAR project.

    Then, if I manually edit the Class-path of the Manifest.mf of the EJB project to contain lib/requiredJAR.jar and deploy, everything works fine.

    But… I don’t have the JAR itself on the Java Build Path of the EJB project. I have the project the JAR comes from as a project reference to the EJB project.

    That’s the way it needs to (er, should) be because both the EJB and the JAR it needs are a work in progress.

    The only piece of the puzzle that’s missing is getting the JAR into the Manifest.mf file via XDoclet.

    Thanks…
    JZ

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Using XDoclet to set Class-Path in manifest.mf

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