I want to use maven-jetty-pling in hotdeploy mode.
My web app use Struts Framework.
I also use Xdoclet in order to generate the struts-config.xml and validation.xml
But I want to generate these files in a target directory in order to separate the source and generated files
Unfortunatly, this does seems not possible yet because I need to inform jetty that my web app source directory is split in two differents paths (src/main/webapp and target/xdoclet/)
In fact, I need to configure the struts servlet in the web.xml like this :
It's important to notice that the solution adding the path (target/xdoclet/) in the classpath do not solve my problem. In fact, the problem is not related to the classpath but rather to the web app source directory.
The only solution seems to add a new feature to jetty in order to be able to use multiple web application source directories.
In our case, we would like to have something like that:
<Set name="contexts"><Ref id="Contexts"/></Set>