You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sr...@wellsfargo.com on 2004/04/23 23:05:57 UTC

What is missing

 
After installing ant , try to invoke ant 1.6.1 I get the following error

java.lang.InstantiationException: org.apache.tools.ant.Main
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)


-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com] 
Sent: Friday, April 23, 2004 9:05 AM
To: Ant Users List
Subject: Re: <scriptdef> doesn't allow multicased attributes?

Thanks Stefan,

I thought this had been forgotten.  Nice to see it will work properly in the
next release!

Jake

Quoting Stefan Bodewig <bo...@apache.org>:

> On Sun, 28 Mar 2004, Jacob Kjome <ho...@visi.com> wrote:
> 
> > Notice it reports the attribute in all lower case when it is defined 
> > in mixed case.
> 
> This is how Ant works internally.  All attribute names and element 
> names get turned into lowercase before Ant tries to map them to task 
> methods.
> 
> <macrodef> had the same problem that you've seen with <scriptdef> and 
> we fixed it in 1.6.1.  I just went ahead and fixed <scriptdef> in the 
> same manner so it will be OK in 1.6.2.  "OK" here means that it will 
> lowercase the name you give internally - there is no such thing as a 
> mixed case attribute in Ant (yet).
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
> commands, e-mail: user-help@ant.apache.org

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

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