Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-externalizer/src/main/java/org/xdoclet/plugin/externalizer
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13714/plugin-externalizer/src/main/java/org/xdoclet/plugin/externalizer
Modified Files:
MessageBundlePlugin.java PropertiesTranslatorPlugin.java
Log Message:
added empty class-level javadoc, to avoid having $class.comment in the
generated confluence docs
Index: MessageBundlePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-externalizer/src/main/java/org/xdoclet/plugin/externalizer/MessageBundlePlugin.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** MessageBundlePlugin.java 22 Jul 2005 10:18:31 -0000 1.10
--- MessageBundlePlugin.java 1 Dec 2005 02:29:21 -0000 1.11
***************
*** 17,20 ****
--- 17,23 ----
import com.thoughtworks.qdox.model.JavaClass;
+ /**
+ *
+ */
public class MessageBundlePlugin extends QDoxPlugin {
private String lang;
***************
*** 22,26 ****
private String variant;
private String destinationfilename = "ResourceBundle.properties";
!
public MessageBundlePlugin(VelocityTemplateEngine templateEngine,
QDoxCapableMetadataProvider metadataProvider,
WriterMapper writerMapper) {
--- 25,29 ----
private String variant;
private String destinationfilename = "ResourceBundle.properties";
!
public MessageBundlePlugin(VelocityTemplateEngine templateEngine,
QDoxCapableMetadataProvider metadataProvider,
WriterMapper writerMapper) {
***************
*** 54,65 ****
}
! public String getDestinationfilename() {
! return destinationfilename;
! }
- public void setDestinationfilename(String destinationfilename) {
- this.destinationfilename = destinationfilename;
- }
-
public String getBundleKey() {
StringBuffer sb = new StringBuffer();
--- 57,68 ----
}
! public String getDestinationfilename() {
! return destinationfilename;
! }
!
! public void setDestinationfilename(String destinationfilename) {
! this.destinationfilename = destinationfilename;
! }
public String getBundleKey() {
StringBuffer sb = new StringBuffer();
***************
*** 114,127 ****
return clazz.getTagByName("msg.bundle") != null;
}
!
! public void start() {
! if (isMultioutput()) {
! setFileregex("\\.java");
! setFilereplace("\\" + getBundleKey() + ".properties");
! } else {
! setFileregex("");
! setFilereplace(getDestinationfilename());
! }
! super.start();
! }
}
\ No newline at end of file
--- 117,130 ----
return clazz.getTagByName("msg.bundle") != null;
}
!
! public void start() {
! if (isMultioutput()) {
! setFileregex("\\.java");
! setFilereplace("\\" + getBundleKey() + ".properties");
! } else {
! setFileregex("");
! setFilereplace(getDestinationfilename());
! }
! super.start();
! }
}
\ No newline at end of file
Index: PropertiesTranslatorPlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-externalizer/src/main/java/org/xdoclet/plugin/externalizer/PropertiesTranslatorPlugin.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** PropertiesTranslatorPlugin.java 6 Jul 2005 07:27:59 -0000 1.6
--- PropertiesTranslatorPlugin.java 1 Dec 2005 02:29:21 -0000 1.7
***************
*** 16,23 ****
import com.thoughtworks.qdox.model.JavaClass;
public class PropertiesTranslatorPlugin extends JavaGeneratingPlugin {
public PropertiesTranslatorPlugin(VelocityTemplateEngine
velocityTemplateEngine,
! QDoxCapableMetadataProvider metadataProvider, WriterMapper
writerMapper)
! throws ClassNotFoundException {
super(velocityTemplateEngine, metadataProvider, writerMapper);
setFileregex("\\.java");
--- 16,25 ----
import com.thoughtworks.qdox.model.JavaClass;
+ /**
+ *
+ */
public class PropertiesTranslatorPlugin extends JavaGeneratingPlugin {
public PropertiesTranslatorPlugin(VelocityTemplateEngine
velocityTemplateEngine,
! QDoxCapableMetadataProvider metadataProvider, WriterMapper
writerMapper) {
super(velocityTemplateEngine, metadataProvider, writerMapper);
setFileregex("\\.java");
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits