User: pathoss
Date: 02/05/14 02:58:51
Modified: core/src/xdoclet/template Tag: MODULE_REFACTORING_BRANCH
TemplateEngine.java
Log:
Fixed the build scripts.
Revision Changes Path
No revision
No revision
1.26.2.4 +6 -12 xdoclet/core/src/xdoclet/template/TemplateEngine.java
Index: TemplateEngine.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/template/TemplateEngine.java,v
retrieving revision 1.26.2.3
retrieving revision 1.26.2.4
diff -u -w -r1.26.2.3 -r1.26.2.4
--- TemplateEngine.java 13 May 2002 22:24:17 -0000 1.26.2.3
+++ TemplateEngine.java 14 May 2002 09:58:51 -0000 1.26.2.4
@@ -32,7 +32,7 @@
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created July 14, 2001
- * @version $Revision: 1.26.2.3 $
+ * @version $Revision: 1.26.2.4 $
* @see #generate(java.lang.String)
*/
public class TemplateEngine
@@ -81,29 +81,23 @@
XDOCLET_TAIL_LEN = XDOCLET_TAIL.length();
}
- protected TemplateEngine()
- {
- }
-
/**
* Initialize the Template Engine. Reads the XDoclet properties file, and loads
any tag handler classes specified.
- *
- * @param dummy
- * @todo completely remove the property file. when module stuff works
*/
- protected TemplateEngine(String dummy)
+ protected TemplateEngine()
{
Log log = LogUtil.getLog(TemplateEngine.class, "TemplateEngine");
try {
Properties tagHandlerMappings = new Properties();
+
System.out.println(getClass().getResourceAsStream(TAG_MAPPINGS_FILE).toString());
tagHandlerMappings.load(getClass().getResourceAsStream(TAG_MAPPINGS_FILE));
- Iterator tagHandletMappingNames =
tagHandlerMappings.keySet().iterator();
+ Iterator tagHandlerMappingNames =
tagHandlerMappings.keySet().iterator();
- while (tagHandletMappingNames.hasNext()) {
- String prefix = (String) tagHandletMappingNames.next();
+ while (tagHandlerMappingNames.hasNext()) {
+ String prefix = (String) tagHandlerMappingNames.next();
String className = (String) tagHandlerMappings.get(prefix);
try {
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel