ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GNF, Contractor)" <Luis.Cone...@gnf.com>
Subject RE: What is missing
Date Fri, 23 Apr 2004 22:03:08 GMT
Ant 1.6.1 will work with JDK 1.3+
Those variables should *not* be in the path, but in your *environment*.
This is typically done before you call ant. In my windoze environment I have an small .bat
file that does all this work. I just call this file before call ant and the magic is done.



-----Original Message-----
From: Srikrishna.Partha@wellsfargo.com
[mailto:Srikrishna.Partha@wellsfargo.com]
Sent: Friday, April 23, 2004 4:59 PM
To: user@ant.apache.org
Subject: RE: What is missing


I am using windows these variables has to be in the path right .will
jdk131_08 work with ant 1.6.1 

-----Original Message-----
From: Conelly, Luis (GNF, Contractor) [mailto:Luis.Conelly@gnf.com] 
Sent: Friday, April 23, 2004 2:56 PM
To: Ant Users List
Subject: RE: What is missing

Not at all. Just check that the variables have been defined *before* you
call ant.

I have my variables defined as:

JAVA_HOME=/usr/j2se/jdk141_02/bin
ANT_HOME=/usr/apache/apache-ant-1.6.1

and my classpath is empty. After this, I can call ant with no troubles at
all.



-----Original Message-----
From: Srikrishna.Partha@wellsfargo.com
[mailto:Srikrishna.Partha@wellsfargo.com]
Sent: Friday, April 23, 2004 4:51 PM
To: user@ant.apache.org
Subject: RE: What is missing


Is their any order we need to follow for the path ? 

-----Original Message-----
From: Conelly, Luis (GNF, Contractor) [mailto:Luis.Conelly@gnf.com]
Sent: Friday, April 23, 2004 2:08 PM
To: Ant Users List
Subject: RE: What is missing

Check you have defined
$JAVA_HOME  - Points to your JDK home
$ANT_HOME   - Points to your Ant home

and you have nothing in your $CLASSPATH environment variable (messages like
this usually comes due to a mess up in your classpath)

Regards


-----Original Message-----
From: Srikrishna.Partha@wellsfargo.com
[mailto:Srikrishna.Partha@wellsfargo.com]
Sent: Friday, April 23, 2004 4:06 PM
To: user@ant.apache.org
Subject: 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 <bodewig@apache.org>:

> On Sun, 28 Mar 2004, Jacob Kjome <hoju@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

---------------------------------------------------------------------
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message