ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolfgang haefelinger <whaefelin...@gmail.com>
Subject Installing Ant's own PropertyHelper
Date Thu, 11 Nov 2010 12:40:41 GMT
Hello,

<?xml version="1.0" encoding="UTF-8"?>
<project name="testme">
  <componentdef classname="org.apache.tools.ant.PropertyHelper"
name="defaulthelper" />
  <propertyhelper>
    <defaulthelper />
  </propertyhelper>
</project>

$ ant -f testme.xml
Buildfile: testme.xml

BUILD FAILED
testme.xml:4: Could not create type defaulthelper as the class class
org.apache.tools.ant.PropertyHelper has no compatible constructor

Rather unexpected!

Especially when developing and "ant unit testing"  new property
helpers, if would be rather helpful to switch between new and the old
property helpers.

Regards.
-- 
Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
http://www.haefelinger.it
+31 648 27 61 59

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


Mime
View raw message