Hi Bret, Could you post the output when you run ant in debug mode (-debug). Maybe one of the property (more specifically cactus.ant.jar does not point to the correct path).
-Vincent > -----Original Message----- > From: Bret Kumler [mailto:[EMAIL PROTECTED] > Sent: 09 October 2003 21:01 > To: Cactus Users List > Subject: RE: class not found error > > Here's the contents of my build.xml > > <!-- ########################### > Cactus Ant classpath > ########################### > --> > <path id="cactus.classpath"> > <pathelement location="${cactus-jar}"/> > <pathelement location="${cactus.ant.jar}"/> > <pathelement location="${servlet-jar}"/> > <pathelement location="${j2ee-jar}"/> > <pathelement location="${aspectjrt-jar}"/> > <pathelement location="${commons-logging-jar}"/> > <pathelement location="${commons-httpclient-jar}"/> > <pathelement location="${junit-jar}"/> > <pathelement location="${httpunit-jar}"/> > <pathelement location="${nekohtml-jar}"/> > </path> > > > <taskdef resource="cactus.tasks" classpathref="cactus.classpath"/> > > > It works on windoze. > > > -----Original Message----- > From: Mark Lybarger [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 10:41 AM > To: 'Cactus Users List' > Subject: RE: class not found error > > > you've probably already checked this, but this is usually when ant can't > find the jars that contain the cactus.tasks file. > > > -----Original Message----- > > From: Bret Kumler [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 09, 2003 2:33 PM > > To: Cactus Users List > > Subject: class not found error > > > > > > Ok, the script works on Windoze but not on UNIX, see below. > > > > [EMAIL PROTECTED] pm-tests]$ ant init > > Buildfile: build.xml > > > > init: > > [echo] ---------------------------------------------- > > [echo] Cactus Classpath: > > [echo] > > [echo] > > /home/qauser/faws-integration/third-party/cactus/lib/cactus-1. > > 6dev-20030907. > > jar:/home/qauser/faws-integration/third-party/cactus/lib/cactu > > s-ant-1.6dev-2 > > 0030907.jar:/home/qauser/faws-integration/third-party/cactus/l > > ib/servletapi- > > 2.3.jar:/home/qauser/faws-integration/third-party/cactus/lib/j > > 2ee-1-3-1.jar: > > /home/qauser/faws-integration/third-party/cactus/lib/aspectjrt > > -1.0.6.jar:/ho > > me/qauser/faws-integration/third-party/cactus/lib/commons-logg > > ing-1.0.3.jar: > > /home/qauser/faws-integration/third-party/cactus/lib/commons-h > > ttpclient-2.0- > > rc1.jar:/home/qauser/faws-integration/third-party/cactus/lib/j > > unit-3.8.1.jar > > :/home/qauser/faws-integration/third-party/cactus/lib/httpunit > > -1.5.3.jar:/ho > > me/qauser/faws-integration/third-party/cactus/lib/nekohtml-0.7.4.jar > > [echo] ---------------------------------------------- > > > > BUILD FAILED > > file:/home/qauser/faws-integration/pm-tests/build.xml:125: > > taskdef class > > org.apache.cactus.integration.ant.CactusTask cannot be found > > > > Total time: 1 second > > > > Any ideas? > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
