jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@bitfone.com>
Subject RE: Cactus1.6.1 and Ant 1.6.1
Date Mon, 12 Jul 2004 16:46:23 GMT
Vincent

-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com] 
Sent: Monday, July 12, 2004 9:41 AM
To: 'Cactus Users List'
Subject: RE: Cactus1.6.1 and Ant 1.6.1

Hi Brett,

I have checked your log file and I cannot find any problem. Just one thing:
at some point it says "Adding reference: cactus.class.path" and at others it
says "Adding reference: cactus.classpath". Do you really want to have 2 such
paths?



I couldn't find cactus.class.path in my build file.
I do have cactus.classpath




Could you also check that the cactus.tasks file is present in the
${cactus-ant-jar} jar? (I'd expect it to be there but who knows).


It's there in the jar file.


Could you please also verify that the Cactus Ant jar is *NOT* present in the
System classpath, i.e. that it is not present in the Ant classpath.


It's not in the system classpath or in ant/lib



Thanks
-Vincent

> -----Original Message-----
> From: Bret Kumler [mailto:bkumler@bitfone.com]
> Sent: lundi 12 juillet 2004 18:34
> To: 'Cactus Users List'
> Subject: RE: Cactus1.6.1 and Ant 1.6.1
> 
> Here's my cactus 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>
> 
> I ran it with -debug.  See log attachment.
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Monday, July 12, 2004 9:12 AM
> To: 'Cactus Users List'
> Subject: RE: Cactus1.6.1 and Ant 1.6.1
> 
> 
> 
> > -----Original Message-----
> > From: Bret Kumler [mailto:bkumler@bitfone.com]
> > Sent: lundi 12 juillet 2004 17:59
> > To: 'Cactus Users List'
> > Subject: RE: Cactus1.6.1 and Ant 1.6.1
> >
> > Vincent, here ya go.
> 
> [snip]
> 
> >
> > 	<taskdef resource="cactus.tasks" classpathref="cactus.classpath"/>
> 
> [snip]
> 
> Ok. And is cactus.classpath correctly defined as:
> 
>   <path id="cactus.classpath">
>     <pathelement location="${aspectjrt.jar}"/>
>     <pathelement location="${cactus.jar}"/>
>     <pathelement location="${cactus.ant.jar}"/>
>     <pathelement location="${commons.httpclient.jar}"/>
>     <pathelement location="${commons.logging.jar}"/>
>     <pathelement location="${junit.jar}"/>
>   </path>
> 
> ?
> 
> That would be the reason for the taskdef not being able to download some
> Cactus Ant task.
> 
> Could you also run it in debug mode (ant -debug) and show us what it says?
> 
> Thanks
> -Vincent
> 
> >
> >
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Friday, July 09, 2004 11:42 PM
> > To: 'Cactus Users List'
> > Subject: RE: Cactus1.6.1 and Ant 1.6.1
> >
> > Hi Bret,
> >
> > > -----Original Message-----
> > > From: Bret Kumler [mailto:bkumler@bitfone.com]
> > > Sent: mardi 6 juillet 2004 22:36
> > > To: 'Cactus Users List'
> > > Subject: Cactus1.6.1 and Ant 1.6.1
> > >
> > > I just got Cactus 1.6.1 & Ant 1.6.1
> > >
> > > I'm getting the following message.
> > >
> > >   [taskdef] Could not load definitions from resource cactus.tasks. It
> > > could
> > > not be found.
> > >
> > > But the cactus task work, how can I get rid of this message?
> >
> > Strange. I do not have this problem. Could you show us how you use
> > <taskdef>
> > in your build file?
> >
> > Thanks
> > -Vincent
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 
> 
> 
> ---------------------------------------------------------------------
> 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