Hi, What is the expect format of the mergedir parameter for EjbJarXmlPlugin? I tried several ones (absolute, relative, URI format...) but never managed to have the descriptor generated merged correctly.
Below is the XDoclet2 plugin configuration section in my Maven 2 project : --------------------------- pom.xml --------------------------------------- ... <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> <version>2.0.6-SNAPSHOT</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> <configuration></configuration> </execution> </executions> <dependencies> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-plugin-ejb</artifactId> <version>1.0.4-SNAPSHOT</version> </dependency> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-plugin-weblogic</artifactId> <version>1.0.4-SNAPSHOT</version> </dependency> </dependencies> <configuration> <configs> <config> <components> <component> <classname>org.xdoclet.plugin.ejb.EjbConfig</classname> <params> <version>2.1</version> <encoding>UTF-8</encoding> </params> </component> <component> <classname>org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin</ classname> </component> <component> <classname>org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin</clas sname> </component> <component> <classname>org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin</classname> <params> <destdir>${project.build.outputDirectory}/META-INF</destdir> <mergedir>${basedir}/src/main/xdoclet/</mergedir> </params> </component> <component> <classname> org.xdoclet.plugin.weblogic.ejb.descriptor.WeblogicEjbJarXmlPlugin </classname> <params> <destdir>${project.build.outputDirectory}/META-INF</destdir> <mergedir>${basedir}/src/main/xdoclet/</mergedir> </params> </component> </components> </config> </configs> </configuration> </plugin> ... ------------------------------------------------------------------------ --- For example this the file that I defined in the mergedir to specify transaction manually in the descriptor file : ---------------------- src/main/xdoclet/ejb-container-transactions.xml ----------------- <j:jelly xmlns:j="jelly:core"> <container-transaction> <method> <ejb-name>ejb/MySession</ejb-name> <method-name>*</method-name> </method> <trans-attribute>Supports</trans-attribute> </container-transaction> </j:jelly> ------------------------------------------------------------------------ --- When I view the generated descriptor it does not include the file to merge as shown below : -------------------------------- ejb-jar.xml ------------------------------ ... <!--start merging from source: D:\decalog-workarea\decalog-HEAD\modules\manager-application-ejb/src/mai n/xdoclet/ejb-container-transactions.xml--> <!-- To specify additional container-transaction elements, add a file in the merge directory called ejb-container-transactions.xml that contains them. Define root element as <j:jelly xmlns:j="jelly:core"> --> <!--end merging from source: D:\decalog-workarea\decalog-HEAD\modules\manager-application-ejb/src/mai n/xdoclet/ejb-container-transactions.xml--> ... ------------------------------------------------------------------------ --- Any ideas why the file is not merged correctly? Regards ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest