Re: XD2 maven2 plugin / problems destdir and xwork
Konstantin Priblouda <kpriblouda-/[email protected]> Wed, 11 Apr 2007 23:20:56 -0700 (PDT)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <[email protected]> |
(I'm not quoting this properly, sorry )
What about dropping destdir specification
on xworkxml plugin ( so everything goes into
target/generated-sources/xdoclet )
or at least dropping "file:" ?
( this is nice maven-2 feature ;) , it is not
mergedir )
In any case I see no point in generating
those files under source directory.
And you have to add generated-sources/xdoclet
to your resources:
<resource>
<directory>${project.build.directory}/generated-resources/xdoclet</directory>
</resource>
( this was it will be picked up by war plugin )
Here is my ( working ;) ) config for xworkxml plugin:
<component>
<classname>org.xdoclet.plugin.xwork.XWorkXMLPlugin</classname>
<params>
<package>admin-task</package>
<extends>ccms-default</extends>
<!--
do not
even think about trailing slash there...
-->
<namespace>/admin/task</namespace>
<filename>ccmsadmin-admin-task.xml</filename>
</params>
</component>
regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV