Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 52064 invoked from network); 16 Apr 2003 21:10:08 -0000 Received: from smtp-ft3.fr.colt.net (213.41.78.27) by daedalus.apache.org with SMTP; 16 Apr 2003 21:10:08 -0000 Received: from octovma (m64.net195-132-244.noos.fr [195.132.244.64]) by smtp-ft3.fr.colt.net with ESMTP id h3GLA7v18146 for ; Wed, 16 Apr 2003 23:10:07 +0200 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: nightly build Date: Wed, 16 Apr 2003 23:09:55 +0200 Message-ID: <00b301c3045c$87eacc00$2502a8c0@octovma> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <41669DC6FE3B80449A33A4DD46DB370A0224F01B@Entcoexch15> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Matt, I believe Erik's web page are using Cactus 1.4.1 and not Cactus 1.5dev. You need to understand that the Ant Integration module is new to Cactus 1.5! It did not exist in Cactus 1.4.1 or before. What did exist was some sample Ant build files that were located in the Sample Servlet. These scripts have been generalized and made generic and Cactus is now delivering an integration module called the Ant integration module that can be used as is. It is now much much easier to integrate Cactus with your project's Ant script. When I mentioned to you that you should check the Sample Servlet application, I meant the 1.5dev Sample Servlet application (the reference you are giving to me is from Cactus 1.4.1 and before). You don't need cactus*ant* in ANT_HOME/lib at all nor anything for that matter. You don't even need to worry at all about CLASSPATH anymore! Here's the relevant portion from the Sample Application: [...] where cactus.classpath is a path reference containing external jars needed to compile the cactus test cases (excluding the Cactus related jars which are added automatically by the Ant integration module script). That's all you need to run Cactus tests (of course the Ant integration module has several Ant properties that you can use to customize its behavior for your needs)! Hope it helps, -Vincent > -----Original Message----- > From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com] > Sent: 16 April 2003 21:42 > To: 'Cactus Users List' > Subject: RE: nightly build > > My Ant/Cactus stuff is very similar to Erik Hatcher's JavaDevWithAnt app > (http://www.ehatchersolutions.com/JavaDevWithAnt/). I have Cactus 1.5-dev > working from a couple months ago - I was hoping for a simple and smooth > upgrade. > > I looked at the sample app, and it looks similar to what I'm doing - > here's > what I have: > > > > > description="Runs Cactus tests in Tomcat, starts/stops server"> > running tests at > http://${tomcat.server}:${tomcat.port}/${webapp.name} > > testURL="http://${tomcat.server}:${tomcat.port}/${webapp.name}" > startTarget="start.tomcat" > stopTarget="stop.tomcat" > testTarget="test-web"> > > > > In the past, I haven't needed cactus*ant*.jar in $ANT_HOME/lib, just in > the > classpath. I tried putting it in $ANT_HOME/lib, but it didn't help. > > Thanks, > > Matt > > > -----Original Message----- > > From: Vincent Massol [mailto:vmassol@pivolis.com] > > Sent: Wednesday, April 16, 2003 12:42 PM > > To: 'Cactus Users List' > > Subject: RE: nightly build > > > > > > Very strange. If I remember correctly this class is now in the > > o.a.c.server.wrapper package. However, all Cactus automated tests are > > running fine so I wonder what the problem is... (old cactus > > jars getting > > mixed up?). > > > > Are you using the Ant integration as is (it is supposed to be used as > > is)? We're still lacking documentation on it but you can check the > > servlet sample application that shows how to use it. > > > > Thanks > > -Vincent > > > > > -----Original Message----- > > > From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com] > > > Sent: 16 April 2003 20:21 > > > To: 'Cactus Users List' > > > Subject: RE: nightly build > > > > > > Since I'm using Ant, I downloaded the ant integration > > build, but I got > > the > > > following error: > > > > > > [junit] java.lang.NoClassDefFoundError: > > > org/apache/cactus/server/AbstractHttpServletRequestWrapper > > > > > > In cactus-framework-20030416.jar, there are no files in the "server" > > > package. Any ideas? > > > > > > Matt > > > > > > > -----Original Message----- > > > > From: Vincent Massol [mailto:vmassol@pivolis.com] > > > > Sent: Wednesday, April 16, 2003 11:45 AM > > > > To: 'Cactus Users List' > > > > Subject: RE: nightly build > > > > > > > > > > > > Hi Matt, > > > > > > > > When I go to > > > > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-04-16 > > > > /, I only > > > > find the files described at > > > > http://jakarta.apache.org/cactus/downloads.html > > > > > > > > The strategy is to pick the files that corresponds to how you want > > to > > > > use Cactus. If you wish to use Cactus with Ant, pick the Ant > > > > integration, if you wish to use Cactus with Eclipse pick > > the Eclipse > > > > integration, if you wish to use Cactus with Maven pick the Maven > > > > integration (bundled with Maven), etc. > > > > > > > > I'm not sure I understand where the list of jar you're > > > > mentioning comes > > > > from? > > > > > > > > Thanks > > > > -Vincent > > > > > > > > > -----Original Message----- > > > > > From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com] > > > > > Sent: 16 April 2003 18:57 > > > > > To: 'cactus-user@jakarta.apache.org' > > > > > Subject: nightly build > > > > > > > > > > Downloading and using Cactus used to be an easy thing - now > > > > there are > > > > many > > > > > choices at: > > > > > > > > > > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-04-16/ > > > > > > > > > > Here's all the jar's I have in my current (1.5-dev) snapshot: > > > > > > > > > > aspectjrt.jar > > > > > cactus-1.5dev.jar > > > > > cactus-ant-1.5dev.jar > > > > > commons-httpclient-2.0alpha1-20020720.jar > > > > > httpunit.jar > > > > > > > > > > Which download should I get? > > > > > > > > > > Thanks, > > > > > > > > > > Matt the lazy developer ;-) > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > 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 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org