You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(94) |
Sep
(205) |
Oct
(139) |
Nov
(144) |
Dec
(252) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(44) |
Feb
(3) |
Mar
|
Apr
(32) |
May
(40) |
Jun
(24) |
Jul
(4) |
Aug
(20) |
Sep
(10) |
Oct
(61) |
Nov
(86) |
Dec
(79) |
2005 |
Jan
(82) |
Feb
(124) |
Mar
(9) |
Apr
(123) |
May
(125) |
Jun
(115) |
Jul
(35) |
Aug
(111) |
Sep
(62) |
Oct
(82) |
Nov
(77) |
Dec
(167) |
2006 |
Jan
(31) |
Feb
(29) |
Mar
(8) |
Apr
(16) |
May
(11) |
Jun
(104) |
Jul
(4) |
Aug
(115) |
Sep
(37) |
Oct
(2) |
Nov
(4) |
Dec
(6) |
2007 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(3) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
2008 |
Jan
|
Feb
(3) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(1) |
Oct
(1) |
Nov
(4) |
Dec
(1) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Ive H. <hel...@us...> - 2006-06-12 06:54:41
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:41
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test/java/org/xdoclet Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:40
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test/java Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:40
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/qtags Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/qtags added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:38
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor/expected In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor/expected Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org/xdoclet/plugin/weblogic/ejb/descriptor/expected added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:38
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:38
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/xsd In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/xsd Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/xsd added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:38
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/test/java/org Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/test/java/org added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:38
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb/descriptor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb/descriptor Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb/descriptor added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org/xdoclet/plugin/weblogic/ejb added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java/org Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java/org added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic/src/main/java Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic/src/main/java added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:54:37
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12126/plugin-weblogic Log Message: Directory /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-weblogic added to the repository |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:48
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11122/plugin-ejb Modified Files: project.xml Log Message: Added myself as a developer Index: project.xml =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** project.xml 13 Dec 2005 16:27:54 -0000 1.10 --- project.xml 12 Jun 2006 06:52:45 -0000 1.11 *************** *** 15,18 **** --- 15,27 ---- </roles> </developer> + <developer> + <name>Ive Hellemans</name> + <id>none</id> + <email>Iv.Hellemans (at) hiquality dot be</email> + <organization/> + <roles> + <role>Developer</role> + </roles> + </developer> </developers> <dependencies> |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:21
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces Modified Files: LocalHomeInterfacePlugin.java LocalInterfaceBase.java RemoteInterfacePlugin.java RemoteHomeInterfacePlugin.java RemoteInterfaceBase.java ServiceEndpointPlugin.java LocalInterfacePlugin.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: RemoteInterfaceBase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfaceBase.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** RemoteInterfaceBase.java 7 Jun 2006 01:42:34 -0000 1.7 --- RemoteInterfaceBase.java 12 Jun 2006 06:52:18 -0000 1.8 *************** *** 7,11 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 7,10 ---- *************** *** 33,39 **** * @throws ClassNotFoundException TODO: DOCUMENT ME! */ ! public RemoteInterfaceBase(MergeableVelocityTemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); } --- 32,38 ---- * @throws ClassNotFoundException TODO: DOCUMENT ME! */ ! public RemoteInterfaceBase(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); } Index: RemoteInterfacePlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfacePlugin.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** RemoteInterfacePlugin.java 7 Jun 2006 01:42:34 -0000 1.19 --- RemoteInterfacePlugin.java 12 Jun 2006 06:52:17 -0000 1.20 *************** *** 14,18 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 14,17 ---- *************** *** 39,45 **** // TODO: Support ejb:bean remote-business-interface ! public RemoteInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); --- 38,44 ---- // TODO: Support ejb:bean remote-business-interface ! public RemoteInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); *************** *** 102,105 **** --- 101,107 ---- boolean generate = super.shouldGenerate(metadata); generate = generate && ((interfaceTag == null) || Arrays.asList(interfaceTag.getGenerate()).contains("remote")); + if (generate) generate = isDestinationDirty(javaClass); + if (generate && verbose) System.out.println( + "Generating Remote Interface for " + javaClass.getName()); return generate; } Index: RemoteHomeInterfacePlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteHomeInterfacePlugin.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RemoteHomeInterfacePlugin.java 7 Jun 2006 01:42:34 -0000 1.10 --- RemoteHomeInterfacePlugin.java 12 Jun 2006 06:52:18 -0000 1.11 *************** *** 15,19 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 15,18 ---- *************** *** 39,42 **** --- 38,42 ---- */ public class RemoteHomeInterfacePlugin extends RemoteInterfaceBase implements EjbJavaClassBuilder { + /** Home utils */ protected EjbHomeUtils ejbHomeUtils; *************** *** 53,58 **** */ public RemoteHomeInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); --- 53,58 ---- */ public RemoteHomeInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); *************** *** 147,150 **** --- 147,153 ---- boolean generate = super.shouldGenerate(metadata); generate = generate && ((homeTag == null) || Arrays.asList(homeTag.getGenerate()).contains("remote")); + if (generate) generate = isDestinationDirty(javaClass); + if (generate && verbose) System.out.println( + "Generating Remote Home Interface for " + javaClass.getName()); return generate; } Index: LocalHomeInterfacePlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalHomeInterfacePlugin.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** LocalHomeInterfacePlugin.java 7 Jun 2006 01:42:34 -0000 1.9 --- LocalHomeInterfacePlugin.java 12 Jun 2006 06:52:17 -0000 1.10 *************** *** 13,17 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 13,16 ---- *************** *** 38,41 **** --- 37,41 ---- */ public class LocalHomeInterfacePlugin extends LocalInterfaceBase implements EjbJavaClassBuilder { + /** Home utils */ protected EjbHomeUtils ejbHomeUtils; *************** *** 52,57 **** */ public LocalHomeInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); --- 52,57 ---- */ public LocalHomeInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); *************** *** 147,150 **** --- 147,153 ---- boolean generate = super.shouldGenerate(metadata); generate = generate && ((homeTag == null) || Arrays.asList(homeTag.getGenerate()).contains("local")); + if (generate) generate = isDestinationDirty(javaClass); + if (generate && verbose) System.out.println( + "Generating Local Home Interface for " + javaClass.getName()); return generate; } Index: LocalInterfaceBase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfaceBase.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** LocalInterfaceBase.java 7 Jun 2006 01:42:34 -0000 1.7 --- LocalInterfaceBase.java 12 Jun 2006 06:52:17 -0000 1.8 *************** *** 7,11 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; import org.xdoclet.plugin.ejb.EjbConfig; --- 7,10 ---- *************** *** 32,38 **** * @throws ClassNotFoundException */ ! public LocalInterfaceBase(MergeableVelocityTemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); } --- 31,37 ---- * @throws ClassNotFoundException */ ! public LocalInterfaceBase(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); } Index: LocalInterfacePlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfacePlugin.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** LocalInterfacePlugin.java 7 Jun 2006 01:42:34 -0000 1.20 --- LocalInterfacePlugin.java 12 Jun 2006 06:52:18 -0000 1.21 *************** *** 12,16 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 12,15 ---- *************** *** 39,45 **** // TODO: Support ejb:bean local-business-interface ! public LocalInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); --- 38,44 ---- // TODO: Support ejb:bean local-business-interface ! public LocalInterfacePlugin(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); *************** *** 102,105 **** --- 101,107 ---- boolean generate = super.shouldGenerate(metadata); generate = generate && ((interfaceTag == null) || Arrays.asList(interfaceTag.getGenerate()).contains("local")); + if (generate) generate = isDestinationDirty(javaClass); + if (generate && verbose) System.out.println( + "Generating Local Interface for " + javaClass.getName()); return generate; } Index: ServiceEndpointPlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/ServiceEndpointPlugin.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ServiceEndpointPlugin.java 7 Jun 2006 01:42:34 -0000 1.6 --- ServiceEndpointPlugin.java 12 Jun 2006 06:52:18 -0000 1.7 *************** *** 14,18 **** import org.generama.MergeableVelocityTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; --- 14,17 ---- *************** *** 41,46 **** // TODO: Support ejb:bean service-endpoint-business-interface public ServiceEndpointPlugin(MergeableVelocityTemplateEngine velocityTemplateEngine, ! QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper, EjbConfig config) { ! super(velocityTemplateEngine, metadataProvider, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); --- 40,45 ---- // TODO: Support ejb:bean service-endpoint-business-interface public ServiceEndpointPlugin(MergeableVelocityTemplateEngine velocityTemplateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(velocityTemplateEngine, writerMapper, config); EjbRuntime.setPlugin(this); setPackageregex("beans"); *************** *** 120,123 **** --- 119,125 ---- generate = generate && ((interfaceTag != null) && Arrays.asList(interfaceTag.getGenerate()).contains("service-endpoint")); + if (generate) generate = isDestinationDirty(javaClass); + if (generate && verbose) System.out.println( + "Generating Service Endpoint for " + javaClass.getName()); return generate; } |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:21
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb Modified Files: EjbUtilsTest.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: EjbUtilsTest.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/EjbUtilsTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EjbUtilsTest.java 6 Sep 2005 01:50:00 -0000 1.2 --- EjbUtilsTest.java 12 Jun 2006 06:52:18 -0000 1.3 *************** *** 15,18 **** --- 15,19 ---- import org.generama.tests.SinkWriterMapper; import org.xdoclet.QDoxMetadataProvider; + import org.xdoclet.plugin.ejb.util.QDoxCachedMetadataProvider; /** *************** *** 38,42 **** // We need to instantiate EjbConfig to enable runtime initialization ! new EjbConfig(new QDoxMetadataProvider(new File(reader.getPath())), new SinkWriterMapper()); // Instanciate EjbUtils --- 39,45 ---- // We need to instantiate EjbConfig to enable runtime initialization ! new EjbConfig( ! new QDoxMetadataProvider(new File(reader.getPath())), ! new SinkWriterMapper()); // Instanciate EjbUtils |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:21
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor Modified Files: AbstractEjbJarXmlPluginTestCase.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: AbstractEjbJarXmlPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/AbstractEjbJarXmlPluginTestCase.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractEjbJarXmlPluginTestCase.java 7 Sep 2005 01:13:08 -0000 1.3 --- AbstractEjbJarXmlPluginTestCase.java 12 Jun 2006 06:52:18 -0000 1.4 *************** *** 22,25 **** --- 22,26 ---- import org.xdoclet.plugin.ejb.EjbConfig; + import org.xdoclet.plugin.ejb.util.QDoxCachedMetadataProvider; /** *************** *** 39,45 **** throws Exception { QDoxMetadataProvider qdoxMetadataProvider = (QDoxMetadataProvider) metadataProvider; ! EjbConfig config = new EjbConfig(qdoxMetadataProvider, writerMapper); config.setVersion(getVersion()); ! return new EjbJarXmlPlugin(new JellyTemplateEngine(), qdoxMetadataProvider, writerMapper, config); } --- 40,47 ---- throws Exception { QDoxMetadataProvider qdoxMetadataProvider = (QDoxMetadataProvider) metadataProvider; ! QDoxCachedMetadataProvider cachedMetadataProvider = new QDoxCachedMetadataProvider(qdoxMetadataProvider); ! EjbConfig config = new EjbConfig(cachedMetadataProvider, writerMapper); config.setVersion(getVersion()); ! return new EjbJarXmlPlugin(new JellyTemplateEngine(), /* cachedMetadataProvider, */ writerMapper, config); } |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:21
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity Modified Files: AbstractValueObjectPluginTestCase.java PrimaryKeyClassPluginTestCase.java AbstractValueObjectPluginXDocletExampleTestCase.java AbstractLookupObjectPluginTestCase.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: PrimaryKeyClassPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity/PrimaryKeyClassPluginTestCase.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PrimaryKeyClassPluginTestCase.java 7 Jun 2006 01:42:34 -0000 1.6 --- PrimaryKeyClassPluginTestCase.java 12 Jun 2006 06:52:17 -0000 1.7 *************** *** 62,66 **** } }; ! return new PrimaryKeyClassPlugin(mergeableVelocityTemplateEngine, qdoxCapableMetadataProvider, writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; --- 62,69 ---- } }; ! ! return new PrimaryKeyClassPlugin(mergeableVelocityTemplateEngine, ! //qdoxCapableMetadataProvider, ! writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; Index: AbstractLookupObjectPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity/AbstractLookupObjectPluginTestCase.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractLookupObjectPluginTestCase.java 7 Jun 2006 01:42:34 -0000 1.3 --- AbstractLookupObjectPluginTestCase.java 12 Jun 2006 06:52:17 -0000 1.4 *************** *** 25,29 **** QDoxCapableMetadataProvider qdoxCapableMetadataProvider = (QDoxCapableMetadataProvider) metadataProvider; EjbConfig config = new EjbConfig(qdoxCapableMetadataProvider, writerMapper); ! return new LookupObjectPlugin(new MergeableVelocityTemplateEngine(), qdoxCapableMetadataProvider, writerMapper, config); } } \ No newline at end of file --- 25,30 ---- QDoxCapableMetadataProvider qdoxCapableMetadataProvider = (QDoxCapableMetadataProvider) metadataProvider; EjbConfig config = new EjbConfig(qdoxCapableMetadataProvider, writerMapper); ! return new LookupObjectPlugin( ! new MergeableVelocityTemplateEngine(), writerMapper, config); } } \ No newline at end of file Index: AbstractValueObjectPluginXDocletExampleTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity/AbstractValueObjectPluginXDocletExampleTestCase.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractValueObjectPluginXDocletExampleTestCase.java 7 Jun 2006 01:42:34 -0000 1.3 --- AbstractValueObjectPluginXDocletExampleTestCase.java 12 Jun 2006 06:52:17 -0000 1.4 *************** *** 60,64 **** }; ! return new ValueObjectPlugin(mergeableVelocityTemplateEngine, qdoxCapableMetadataProvider, writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; --- 60,64 ---- }; ! return new ValueObjectPlugin(mergeableVelocityTemplateEngine, writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; Index: AbstractValueObjectPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/entity/AbstractValueObjectPluginTestCase.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractValueObjectPluginTestCase.java 7 Jun 2006 01:42:34 -0000 1.3 --- AbstractValueObjectPluginTestCase.java 12 Jun 2006 06:52:17 -0000 1.4 *************** *** 48,51 **** --- 48,52 ---- throws Exception { QDoxCapableMetadataProvider qdoxCapableMetadataProvider = (QDoxCapableMetadataProvider) metadataProvider; + EjbConfig config = new EjbConfig(qdoxCapableMetadataProvider, writerMapper); *************** *** 60,64 **** }; ! return new ValueObjectPlugin(mergeableVelocityTemplateEngine, qdoxCapableMetadataProvider, writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; --- 61,65 ---- }; ! return new ValueObjectPlugin(mergeableVelocityTemplateEngine, writerMapper, config) { public boolean shouldGenerate(Object metadata) { JavaClass javaClass = (JavaClass) metadata; |
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb Modified Files: EjbRuntime.java EjbConfig.java EjbQDoxPlugin.java EjbJavaGeneratingPlugin.java Added Files: AbstractEjbJarXmlPlugin.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: EjbRuntime.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/EjbRuntime.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EjbRuntime.java 13 Dec 2005 03:34:50 -0000 1.5 --- EjbRuntime.java 12 Jun 2006 06:52:18 -0000 1.6 *************** *** 74,78 **** protected synchronized ServiceEndpointPlugin _getServiceEndpointPlugin() { if (this.serviceEndpointPlugin == null) { ! this.serviceEndpointPlugin = new ServiceEndpointPlugin(null, config.getMetadataProvider(), null, config); } --- 74,79 ---- protected synchronized ServiceEndpointPlugin _getServiceEndpointPlugin() { if (this.serviceEndpointPlugin == null) { ! this.serviceEndpointPlugin = ! new ServiceEndpointPlugin(null, null, config); } *************** *** 82,86 **** protected synchronized LocalInterfacePlugin _getLocalInterfacePlugin() { if (this.localInterfacePlugin == null) { ! this.localInterfacePlugin = new LocalInterfacePlugin(null, config.getMetadataProvider(), null, config); } --- 83,88 ---- protected synchronized LocalInterfacePlugin _getLocalInterfacePlugin() { if (this.localInterfacePlugin == null) { ! this.localInterfacePlugin = ! new LocalInterfacePlugin(null, null, config); } *************** *** 90,95 **** protected synchronized RemoteHomeInterfacePlugin _getRemoteHomeInterfacePlugin() { if (this.remoteHomeInterfacePlugin == null) { ! this.remoteHomeInterfacePlugin = new RemoteHomeInterfacePlugin(null, config.getMetadataProvider(), null, ! config); } --- 92,97 ---- protected synchronized RemoteHomeInterfacePlugin _getRemoteHomeInterfacePlugin() { if (this.remoteHomeInterfacePlugin == null) { ! this.remoteHomeInterfacePlugin = ! new RemoteHomeInterfacePlugin(null, null, config); } *************** *** 99,103 **** protected synchronized RemoteInterfacePlugin _getRemoteInterfacePlugin() { if (this.remoteInterfacePlugin == null) { ! this.remoteInterfacePlugin = new RemoteInterfacePlugin(null, config.getMetadataProvider(), null, config); } --- 101,106 ---- protected synchronized RemoteInterfacePlugin _getRemoteInterfacePlugin() { if (this.remoteInterfacePlugin == null) { ! this.remoteInterfacePlugin = ! new RemoteInterfacePlugin(null, null, config); } *************** *** 112,116 **** protected synchronized EjbJarXmlPlugin _getEjbJarXmlPlugin() { if (this.ejbJarXmlPlugin == null) { ! this.ejbJarXmlPlugin = new EjbJarXmlPlugin(null, config.getMetadataProvider(), null, config); } --- 115,119 ---- protected synchronized EjbJarXmlPlugin _getEjbJarXmlPlugin() { if (this.ejbJarXmlPlugin == null) { ! this.ejbJarXmlPlugin = new EjbJarXmlPlugin(null, null, config); } *************** *** 125,129 **** protected synchronized PrimaryKeyClassPlugin _getPrimaryKeyClassPlugin() { if (this.primaryKeyClassPlugin == null) { ! this.primaryKeyClassPlugin = new PrimaryKeyClassPlugin(null, config.getMetadataProvider(), null, config); } --- 128,133 ---- protected synchronized PrimaryKeyClassPlugin _getPrimaryKeyClassPlugin() { if (this.primaryKeyClassPlugin == null) { ! this.primaryKeyClassPlugin = ! new PrimaryKeyClassPlugin(null, null, config); } *************** *** 138,143 **** protected synchronized LocalHomeInterfacePlugin _getLocalHomeInterfacePlugin() { if (this.localHomeInterfacePlugin == null) { ! this.localHomeInterfacePlugin = new LocalHomeInterfacePlugin(null, config.getMetadataProvider(), null, ! config); } --- 142,147 ---- protected synchronized LocalHomeInterfacePlugin _getLocalHomeInterfacePlugin() { if (this.localHomeInterfacePlugin == null) { ! this.localHomeInterfacePlugin = ! new LocalHomeInterfacePlugin(null, null, config); } Index: EjbJavaGeneratingPlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/EjbJavaGeneratingPlugin.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** EjbJavaGeneratingPlugin.java 7 Jun 2006 01:42:34 -0000 1.7 --- EjbJavaGeneratingPlugin.java 12 Jun 2006 06:52:18 -0000 1.8 *************** *** 71,77 **** protected String packagereplace; ! public EjbJavaGeneratingPlugin(MergeableVelocityTemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper); this.templateEngine = templateEngine; this.config = config; --- 71,83 ---- protected String packagereplace; ! /** When false, files are only created when dirty. */ ! protected boolean force; ! ! /** True if this plugin should explain what it's doing. */ ! protected boolean verbose; ! ! public EjbJavaGeneratingPlugin(MergeableVelocityTemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, config.getMetadataProvider(), writerMapper); this.templateEngine = templateEngine; this.config = config; *************** *** 313,316 **** --- 319,396 ---- } + /** + * Returns the force-flag. + */ + public boolean isForce() { + return force; + } + + /** + * Set the force flag. When false, the plugin will only generate target + * files if the source file is newer. + * + * @param force + */ + public void setForce(boolean force) { + this.force = force; + } + + /** + * Returns whether or not this plugin is being ran in verbose mode. + */ + public boolean isVerbose() { + return verbose; + } + + /** + * Sets the verbose flag. When verbose = true, the plugin will explain + * what it's doing, otherwise it will run silently. + */ + public void setVerbose(boolean verbose) { + this.verbose = verbose; + } + + /** + * Returns true if the source file has been changed after the target file + * has been generated. + * + * @param javaClass + * @return + */ + protected boolean isDestinationDirty(JavaClass javaClass) { + + if (force) return true; + + File destFile = getDestinationFile(javaClass); + File sourceFile = getSourceFile(javaClass); + + return !(destFile.exists() && + sourceFile.lastModified() < destFile.lastModified()); + } + + /** + * Returns a File object representing the Source File represented + * by the given JavaClass + * @param javaClass The source JavaClass + * @return A File Object representing the source file. + */ + protected File getSourceFile(JavaClass javaClass) { + return new File(javaClass.getSource().getURL().getFile()); + } + + /** + * Returns a File object representing the destination File represented + * by the given JavaClass + * + * @param javaClass The JavaClass for which to find the destination. + * @return A File Object representing the destination file. + */ + protected File getDestinationFile(JavaClass javaClass) { + String packagePath = getDestinationPackage(javaClass).replace('.', '/'); + File dir = new File(getDestdirFile(), packagePath); + String filename = getDestinationFilename(javaClass); + return new File(dir, filename); + } + protected boolean isDynamicJavaClass(JavaClass clazz) { return clazz instanceof DynamicJavaClass; --- NEW FILE: AbstractEjbJarXmlPlugin.java --- package org.xdoclet.plugin.ejb; import java.io.File; import java.util.Collection; import java.util.Iterator; import org.generama.TemplateEngine; import org.generama.WriterMapper; import com.thoughtworks.qdox.model.JavaClass; /** * Common superclass for all QDoxPlugins generating a single XML file * containing information about multiple files. * * This plugin will only generate a destination file if at least one * of the beans is dirty, or if force is set. * * @author Ive Hellemans * @version $Revision$ */ public abstract class AbstractEjbJarXmlPlugin extends EjbQDoxPlugin { /** Caches the result of calls to the isDestinationDirty method. */ private Boolean isDestinationDirty; public AbstractEjbJarXmlPlugin(TemplateEngine templateEngine, WriterMapper writerMapper, EjbConfig config) { super(templateEngine, writerMapper, config); } /** * Starts the plugin only if at least one the source file has been * chnaged after the generated file - or when fore = true. * * Set force is true to force starting this plugin. */ public void start() { if (force || isDestinationDirty()) { super.start(); } else { System.out.println("Running " + getClass().getName()); } } /** * Calculates whether or not the destination file is dirty, returning * true if any of the bean source files was changed after the last * time the destination file was generated. * * TODO: take merge files into account */ public boolean isDestinationDirty() { if (isDestinationDirty != null) { return isDestinationDirty.booleanValue(); } boolean dirty = false; File destFile = getDestinationFile(); if (destFile.exists()) { //Iterate over all beans & compare Collection beans = ejbUtils.getBeans(getMetadata()); File sourceFile = null; for (Iterator iterator = beans.iterator(); iterator.hasNext();) { JavaClass javaClass = (JavaClass) iterator.next(); sourceFile = getSourceFile(javaClass); if (destFile.lastModified() < sourceFile.lastModified()) { System.out.println("dirty source = " + sourceFile.getAbsolutePath()); dirty = true; break; } } } else { //File doesn't exist or force = true dirty = true; } //Cache the result and return isDestinationDirty = Boolean.valueOf(dirty); return dirty; } } Index: EjbConfig.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/EjbConfig.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EjbConfig.java 13 Dec 2005 03:34:50 -0000 1.5 --- EjbConfig.java 12 Jun 2006 06:52:18 -0000 1.6 *************** *** 12,15 **** --- 12,16 ---- import org.generama.defaults.QDoxPlugin; + import org.xdoclet.plugin.ejb.util.QDoxCachedMetadataProvider; /** *************** *** 26,30 **** public EjbConfig(QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper) throws ClassNotFoundException { ! super(null, metadataProvider, writerMapper); // Force multioutput path --- 27,31 ---- public EjbConfig(QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper) throws ClassNotFoundException { ! super(null, new QDoxCachedMetadataProvider(metadataProvider), writerMapper); // Force multioutput path Index: EjbQDoxPlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/EjbQDoxPlugin.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EjbQDoxPlugin.java 13 Dec 2005 03:34:50 -0000 1.1 --- EjbQDoxPlugin.java 12 Jun 2006 06:52:18 -0000 1.2 *************** *** 19,26 **** --- 19,29 ---- import org.xdoclet.plugin.ejb.qtags.TagLibrary; + import com.thoughtworks.qdox.model.JavaClass; + /** * Base QDoxPlugin for EjbRelated plugins * * @author Diogo Quintela + * @author Ive Hellemans * @version $Revision$ */ *************** *** 38,44 **** private File mergeDir; ! public EjbQDoxPlugin(TemplateEngine templateEngine, QDoxCapableMetadataProvider metadataProvider, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, metadataProvider, writerMapper); this.config = config; this.ejbUtils = new EjbUtils(config); --- 41,53 ---- private File mergeDir; ! /** Whether or not the creation of a target file should be forced. */ ! protected boolean force = false; ! ! /** True if this plugin should explain what it's doing. */ ! protected boolean verbose; ! ! public EjbQDoxPlugin(TemplateEngine templateEngine, ! WriterMapper writerMapper, EjbConfig config) { ! super(templateEngine, config.getMetadataProvider(), writerMapper); this.config = config; this.ejbUtils = new EjbUtils(config); *************** *** 111,113 **** --- 120,180 ---- return null; } + + /** + * Sets the force flag. When set to true, the destination file is re-generated + * even if it is more recent then any of the beans. + * + * @param force + */ + public void setForce(boolean force) { + this.force = force; + } + + /** + * Returns whether or not this plugin is being ran in verbose mode. + */ + public boolean isVerbose() { + return verbose; + } + + /** + * Sets the verbose flag. When verbose = true, the plugin will explain + * what it's doing, otherwise it will run silently. + */ + public void setVerbose(boolean verbose) { + this.verbose = verbose; + } + + /** + * Displays a message saying that a file is being created (when + * ran in verbose mode). + */ + protected void preGenerate() { + super.preGenerate(); + if (verbose) System.out.println("Generating " + getFileName()); + } + + /** + * Returns a File object representing the Source File represented + * by the given JavaClass + * @param javaClass The source JavaClass + * @return A File Object representing the source file. + */ + protected File getSourceFile(JavaClass javaClass) { + return new File(javaClass.getSource().getURL().getFile()); + } + + /** + * Returns a File Object representing the + * @return + */ + protected File getDestinationFile() { + return new File(getDestdirFile(), getFileName()); + } + + /** + * Returns the name of the file to generate. + */ + public abstract String getFileName(); + } |
From: Ive H. <hel...@us...> - 2006-06-12 06:52:21
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10966/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor Modified Files: EjbJarXmlPlugin.java Log Message: Support force & verbose options (XDP-183) Use cached metatadata stored inside EjbConfig Index: EjbJarXmlPlugin.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor/EjbJarXmlPlugin.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** EjbJarXmlPlugin.java 13 Dec 2005 03:35:32 -0000 1.16 --- EjbJarXmlPlugin.java 12 Jun 2006 06:52:18 -0000 1.17 *************** *** 19,31 **** import org.generama.JellyTemplateEngine; - import org.generama.QDoxCapableMetadataProvider; import org.generama.WriterMapper; - import org.generama.defaults.XMLOutputValidator; import org.xdoclet.plugin.ejb.EjbBeanResolver; import org.xdoclet.plugin.ejb.EjbConfig; import org.xdoclet.plugin.ejb.EjbIds; - import org.xdoclet.plugin.ejb.EjbQDoxPlugin; import org.xdoclet.plugin.ejb.EjbRuntime; import org.xdoclet.plugin.ejb.EjbVersion; --- 19,29 ---- import org.generama.JellyTemplateEngine; import org.generama.WriterMapper; import org.generama.defaults.XMLOutputValidator; + import org.xdoclet.plugin.ejb.AbstractEjbJarXmlPlugin; import org.xdoclet.plugin.ejb.EjbBeanResolver; import org.xdoclet.plugin.ejb.EjbConfig; import org.xdoclet.plugin.ejb.EjbIds; import org.xdoclet.plugin.ejb.EjbRuntime; import org.xdoclet.plugin.ejb.EjbVersion; *************** *** 38,42 **** import org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin; import org.xdoclet.plugin.ejb.interfaces.ServiceEndpointPlugin; - import org.xdoclet.plugin.ejb.util.QDoxCachedMetadataProvider; import com.thoughtworks.qdox.model.JavaClass; --- 36,39 ---- *************** *** 48,52 **** * @version $Revision$ */ ! public class EjbJarXmlPlugin extends EjbQDoxPlugin { private String description; private String displayname; --- 45,50 ---- * @version $Revision$ */ ! public class EjbJarXmlPlugin extends AbstractEjbJarXmlPlugin { ! private String description; private String displayname; *************** *** 65,71 **** // DONE: EjbInterfaceTag: @qtags.comma-list // DONE: EjbRuntimeSingleton instead of EjbUtils.get(config); ! public EjbJarXmlPlugin(JellyTemplateEngine jellyTemplateEngine, QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper, EjbConfig config) { ! super(jellyTemplateEngine, new QDoxCachedMetadataProvider(metadataProvider), writerMapper, config); EjbRuntime.setPlugin(this); Map dtds = EjbVersion.fillEntityResolverMap(new HashMap()); --- 63,69 ---- // DONE: EjbInterfaceTag: @qtags.comma-list // DONE: EjbRuntimeSingleton instead of EjbUtils.get(config); ! public EjbJarXmlPlugin(JellyTemplateEngine jellyTemplateEngine, //QDoxCapableMetadataProvider metadataProvider, WriterMapper writerMapper, EjbConfig config) { ! super(jellyTemplateEngine, /* new QDoxCachedMetadataProvider(metadataProvider), */ writerMapper, config); EjbRuntime.setPlugin(this); Map dtds = EjbVersion.fillEntityResolverMap(new HashMap()); *************** *** 103,106 **** --- 101,111 ---- /** + * Getter or the fileName property. + */ + public String getFileName() { + return this.fileName; + } + + /** * Utility method called from jelly script to resolve a mergeFile reference * |