facebook

xdoclet-build.xml including other java projects as jar files

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

    jc_jc
    Member

    I have a webapp W which has a build dependency on Java Project Y.
    The compilation occurs correctly but the runtime fails to find Project Y. I know I need to put something in the xdoclet-build.xml to include Project Y as a .jar file into the WEB-INF lib directory but I don’t exactly what my xdoclet-build.xml needs to look like.

    Any help would be appreciated. Perhaps a sample xdoclet-build.xml which uses multiple Java Projects in the build dependencies.

    Also, you’d think that if you created a build dependency, AND created a project dependecy, that the xdoclet-build.xml could be automatically generated to include Project Y into the war file.

    Perhaps the next release?

    JC

    #204176

    Riyad Kalla
    Member

    JC, I’m not sure how to do this with XDoclet, but I know that our deployment infrastructure has been updated in 2.7 GA (release this week) will now follow Links so you can setup linked JARs in a project, and in 2.8 GA we are going to include the ability of the deployment tool to deploy dependendant projects as well (full details not finalized yet on this).

    I will fire your XDoclet question to Scott, as he tends to know everything.

    #204189

    Scott Anderson
    Participant

    I really don’t think this is XDoclet functionality. Right now, the easiest thing to do is export the project as a jar into the WEB-INF/lib directory of your web project. When you do the export, select the option to remember the jardesc so that when the project changes it will be a ‘one click’ maneuver to re-export it. Version 2.8 should be able to do this automatically for you.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: xdoclet-build.xml including other java projects as jar files

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