jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@firstam.com>
Subject RE: class not found error
Date Thu, 09 Oct 2003 21:29:09 GMT
init:
dropping /home/qauser/faws-integration/pm-tests/${cactus.framework.jar} from
path as it doesn't exist
dropping /home/qauser/faws-integration/pm-tests/${cactus.ant.jar} from path
as it doesn't exist
dropping /home/qauser/faws-integration/pm-tests/${commons.logging.jar} from
path as it doesn't exist
dropping /home/qauser/faws-integration/pm-tests/${commons.httpclient.jar}
from path as it doesn't exist
dropping /home/qauser/faws-integration/pm-tests/${junit.jar} from path as it
doesn't exist
dropping /home/qauser/faws-integration/pm-tests/${httpunit.jar} from path as
it doesn't exist
  [taskdef] Loading definitions from resource cactus.tasks
Couldn't load ResourceStream for cactus.tasks
  [taskdef] Could not load definitions from resource cactus.tasks. It could
not be found.


This is what you were talking about?


So it's not picking it up from my build.properties?
-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Thursday, October 09, 2003 11:22 AM
To: 'Cactus Users List'; bkumler@firstam.com
Subject: RE: class not found error


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:bkumler@firstam.com]
> 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:Mark.Lybarger@CBC-Companies.com]
> 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:bkumler@firstam.com]
> > 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.
> >
> > [qauser@srcbusd01 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: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org





Mime
View raw message