continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bravo, Kris" <kris.br...@cingular.com>
Subject FW: Webapps, xdoclet and Continuum
Date Tue, 06 Dec 2005 14:49:20 GMT
I'm looking for some advice on how to use continuum to build a web
application where the web.xml is generated using the webdoclet ran against
another project's codebase.

 

I have a parent project with two subprojects which generate a class file jar
and a war file:

project-parent:

---project-library

---project-webapp

 

The jar contains the servlet code used by the war file. The web.xml file is
generated using Kenney's xdoclet-maven-plugin, but has a little quirk to it:
the configuration of the webdoclet command has a source directory with a
relative path of "../project-library/src/main/java".

 

This works fine for builds in a development environment. But continuum
checks out into numbered working directories and the path doesn't make much
sense in its build process.

 

Is there a way to tell continuum you want to perform a checkout one
directory higher than the pom? Or perhaps a way to perform an xdoclet
against a jar file full of sources instead? 

 

I'm assuming that the typical manner of doing this is to include the source
code in the war project instead. I was avoiding this in the interest of not
having the class files sitting in WEB-INF/classes - I prefer another lib
entry instead.

 

Kris

 

 

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message