jvanzyl 00/11/16 15:03:50
Modified: src/java/org/apache/velocity/texen/ant TexenTask.java
Log:
- updated texen to work with the new velocity loading mechanism.
Revision Changes Path
1.4 +2 -2
jakarta-velocity/src/java/org/apache/velocity/texen/ant/TexenTask.java
Index: TexenTask.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/texen/ant/TexenTask.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TexenTask.java 2000/11/16 01:50:43 1.3
+++ TexenTask.java 2000/11/16 23:03:50 1.4
@@ -76,7 +76,7 @@
* An ant task for generating output by using Velocity
*
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: TexenTask.java,v 1.3 2000/11/16 01:50:43 jvanzyl Exp $
+ * @version $Id: TexenTask.java,v 1.4 2000/11/16 23:03:50 jvanzyl Exp $
*/
public abstract class TexenTask extends Task
@@ -159,7 +159,7 @@
// This is strictly to allow vel to compile for now.
// I need a new way to set what was the template path
// now that templates streams can come from anywhere.
- //!!!Runtime.setProperty(Runtime.TEMPLATE_PATH, templatePath);
+ Runtime.setSourceProperty(Runtime.FILE_TEMPLATE_PATH, templatePath);
Runtime.init();
// Create the text generator.