Hello!

I have a problem getting maven to create a webwork actions.xml


I wonder what I am missing or where I could find a working example.

I am able to create a web.xml from my servlet tags ([EMAIL PROTECTED]) so I assume that I have the necessary components.

I have added to my project.xml file the following dependency:

<dependency>
           <groupId>xdoclet</groupId>
           <artifactId>xdoclet-webwork-module</artifactId>
           <version>1.2</version>
           <type>jar</type>
           <properties>
               <war.bundle>false</war.bundle>
           </properties>
       </dependency>

my project.properties file as the following addition for my controller/action classes
maven.xdoclet.webdoclet.fileset.4=true
maven.xdoclet.webdoclet.fileset.4.include=**/*Controller.java


The controller I want to appear in the actions.xml file has the following entry:

@webwork.action
*     name="myaccount"
*     error="/vm/error.vm"
*     input="logIn.action"
*     success="selfcareLoginBypass"
*     login="logIn.action"

My maven.xml file contains

<preGoal name="java:compile">
<attainGoal name="xdoclet:webdoclet"/> </preGoal>


If I run my goal, as mentioned, I get an web.xml file but no actions.xml.

Any ideas what is missing?

Another question I have: Is there a similar mechanism for webwork as for web.servlet to merge with an existing actions.xml file?

Thanks in advance for any suggestion.

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to