Hi, I noticed a stange behaviour of ant which may be the root of the problems, I described in an earlier mail (and which are solved thanks to the help of Arnout Kuiper): If I put my task as a jar file into the classpath everything works fine. But beginning with jdk 1.2 there is an extension mechanism which makes every jar file which is in a predefined directory (usually jre/lib/ext) visible in the classpath. If I put my task file there I get an error. Fotis
> Hi, > > A few things to check: > > 1. Are you running the latest version of Ant? You can get the latest version > via http://jakarta.apache.org/builds/tomcat/nightly/, or via anonymous CVS. > > 2. Is your own task in the classpath? > > 3. Is the <taskdef> task called (is it somewhere in the depends tree)? > > If you are using the files I mailed you, then you can forget about item 3. > > When you still got problems, I can mail you my Ant. > > Cheers, > > Arnout > > > -----Original Message----- > > From: Fotis Jannidis [mailto:[EMAIL PROTECTED] > > Sent: vrijdag 3 maart 2000 13:44 > > To: [EMAIL PROTECTED] > > Subject: RE: problem with writing a task > > > > > > Hi, > > > > > > I just tested it against the latest Ant release, and it worked. > > > > > > Below are the testfiles I used. I'll review the docs, and > > put these files in > > > an example directory in the Ant distribution. > > Thanks a lot. It still doesn't work, so it's obviously some > > problem with my computer. > > BTW: a command line switch -version which puts out the > > version info would be helpful in > > situations like this. > > > > Fotis > >
