geirm 01/05/10 20:55:33
Modified: src/java/org/apache/velocity/texen/ant TexenTask.java
Log:
Converted from Configuration to ExtendedProperties. Should be no functional
change.
Revision Changes Path
1.25 +5 -5
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.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- TexenTask.java 2001/05/08 11:55:29 1.24
+++ TexenTask.java 2001/05/11 03:55:32 1.25
@@ -70,7 +70,6 @@
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.context.Context;
-import org.apache.velocity.runtime.configuration.Configuration;
import org.apache.velocity.texen.Generator;
import org.apache.velocity.util.StringUtils;
@@ -78,13 +77,14 @@
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
+import org.apache.commons.collections.ExtendedProperties;
/**
* An ant task for generating output by using Velocity
*
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="[EMAIL PROTECTED]">Robert Burrell Donkin</a>
- * @version $Id: TexenTask.java,v 1.24 2001/05/08 11:55:29 geirm Exp $
+ * @version $Id: TexenTask.java,v 1.25 2001/05/11 03:55:32 geirm Exp $
*/
public class TexenTask extends Task
{
@@ -151,7 +151,7 @@
* So initial context values can be set with
* properties file.
*/
- protected Configuration contextProperties;
+ protected ExtendedProperties contextProperties;
/**
* [REQUIRED] Set the control template for the
@@ -248,7 +248,7 @@
*/
public void setContextProperties( File file )
{
- contextProperties = new Configuration();
+ contextProperties = new ExtendedProperties();
try
{
@@ -265,7 +265,7 @@
* fed into the initial context be the
* generating process starts.
*/
- public Configuration getContextProperties()
+ public ExtendedProperties getContextProperties()
{
return contextProperties;
}