Thanks for the help. I found out what the problem was. setting classpath=%ANT_HOME%\lib\*.jar did not work. I had to list them all seperatly, ie: set classpath=%classpath%;%ANT_HOME%\lib\crimson.jar;%ANT_HOME%\lib\jaxp.jar Tedious, no? Can someone answer this? On Java 2 platforms, I've read that you can just collect your jar files in JDK_HOME\jre\lib\ext. The JVM looks there each time it runs. It would be better than having a mile-long classpath. The instructions for installing ant caution against doing this with ant.jar, saying that ant is an application. Would it be considered good practice to add jar files to JDK_HOME\jre\lib\ext provided they are NOT applications?
Quoting Steve Loughran <[EMAIL PROTECTED]>: > > ----- Original Message ----- > From: "Owen Corpening" <[EMAIL PROTECTED]> > To: "Ant Users List" <[EMAIL PROTECTED]> > Sent: Saturday, February 09, 2002 1:52 PM > Subject: Re: Fwd: trouble getting ant1.4.1 to work > > > > > > try unsetting classpath, I don't have it set at all and ant works > fine > with everything set the way your other stuff is > > [EMAIL PROTECTED] wrote: > > Hi: > > I'm new to the group. > > I am having trouble getting ant 1.4.1 working on my PC. Can someone > help? > > I have downloaded the jakarta-ant-1.4.1 zip file and unzipped it into > d:\ > > I have set: > > set ANT_HOME=d:\ant1.4.1 > > set JAVA_HOME=c:\jdk1.3.1_01 > > I think these are the problems; because they have >1 "." in their > names, > neither of these are short file names; and win9x batch file handling > is > brain dead on long file paths. rename ant1.4.1 to ant and see if that > works > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>