--- Peter Fajemisin <[EMAIL PROTECTED]> wrote:
>
> Hi Konstantin,
>
> Thanks for all your help so far, Now I seem to be
> having problem generating
> my deployment descriptor,
>
> I haven't been able to figure out how to replicate
> this:
>
> <deploymentdescriptor
>
destdir="${project.build.directory}/${project.build.finalName}/WEB-INF"
> servletspec="2.4" validateXML="true">
> </deploymentdescriptor>
>
> Using Maven2 Xdoclet2
>
> I have declared my WebPlugin component as follows:
> <component>
>
>
<classname>org.xdoclet.plugin.web.WebPlugin</classname>
> <params>
>
>
<destdir>${project.build.directory}/${project.build.finalName}/WEB-INF</destdir>
>
> <mergedir>src/main/xdoclet/webdoclet</mergedir>
> <validate>false</validate>
>
> <servletversion>2.4</servletversion>
> </params>
> </component>
>
> But the Web.xml file is not been generated properly
> instead I get contents
> looking like this:
>
> <!--start merging from source:
> src/main/xdoclet/webdocletweb-settings.xml-->
> <!--To add context params, description, and display
> name to your generated
> web.xml add a file to your XDoclet
> merge director named
> web-settings.xml that contains
> elements such as
> <display-name></display-name>,
> <description></description>,
> <context-param> ... </context-param>
> Define root element as <j:jelly
> xmlns:j="jelly:core"/>-->
> <!--end merging from source:
> src/main/xdoclet/webdocletweb-settings.xml-->
>
mergedir has to be specified as:
file:/<ehatever you like>
I recommend you to look nto sources on sourceforge -
there is a testapp with working maven invocation
regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email