ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <russg...@gmail.com>
Subject Using properties files to define types?
Date Tue, 16 Nov 2004 17:30:06 GMT
How do you specify a type in a properties file? It's working fine for
me with tasks, but when I use a type:

dependencies-mapper=org.apache.tools.ant.taskdefs.optional.dependencies.DependenciesFileNameMapper

I get:

C:\opensource\httpunit-dom\build.xml:54: No public execute() in class
org.apache.tools.ant.taskdefs.optional.dependencies.DependenciesFileNameMapper
        at org.apache.tools.ant.TaskAdapter.checkTaskClass(TaskAdapter.java:70)
        at org.apache.tools.ant.TaskAdapter.checkProxyClass(TaskAdapter.java:85)
        at org.apache.tools.ant.AntTypeDefinition.checkClass(AntTypeDefinition.java:248)
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:476)
        at org.apache.tools.ant.taskdefs.Definer.loadProperties(Definer.java:304)

so it seems to think I am defining a task instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message