Missing Cactus property [cactus.contextURL] when using maven 1.1

Christopher Thill <[email protected]> Tue, 7 Apr 2009 23:30:08 -0700 (PDT)
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Sorry for the long winded newbie questions but help would will be greatly a=
ppreciated.=0A=0AI have a turbine web applications that has been working fo=
r a while.  I am using maven 1.1 and the META plugin 1.3 and turbine 2.3.3.=
=0A=0AI am trying to setup cactus testing for the application.  I downloade=
d the cactus maven plugin using the command=0A   maven plugin:download -Dar=
tifactId=3Dcactus-maven -DgroupId=3Dcactus -Dversion=3D1.7.2=0A=0AI then ad=
ded the following lines to my project.xml file=0A    <dependency>=0A      <=
groupId>cactus</groupId>=0A      <artifactId>cactus</artifactId>=0A      <v=
ersion>13-1.7.2</version>=0A      <properties>        =0A        <war.bundl=
e>false</war.bundle>=0A      </properties>      =0A    </dependency>       =
     =0A    <dependency>=0A      <groupId>cactus</groupId>=0A      <artifac=
tId>cactus-ant</artifactId>=0A      <version>13-1.7.2</version>=0A    </dep=
endency>=0A    <dependency>=0A      <groupId>aspectj</groupId>=0A      <art=
ifactId>aspectjrt</artifactId>=0A      <version>1.2.1</version>=0A      <pr=
operties>=0A        <war.bundle>false</war.bundle>=0A      </properties>=0A=
    </dependency>=0A    <dependency>=0A      <groupId>commons-httpclient</g=
roupId>=0A      <artifactId>commons-httpclient</artifactId>=0A      <versio=
n>2.0.2</version>=0A      <properties>=0A        <cactus.bundle>true</cactu=
s.bundle>=0A        <war.bundle>false</war.bundle>=0A      </properties>=0A=
    </dependency>=0A    <!-- The following have been added to try to get ri=
de of an error with the the =0A         build where cactus.ContextURL is no=
t found. -->=0A    <dependency>=0A      <groupId>cargo</groupId>=0A      <a=
rtifactId>cargo</artifactId>=0A      <version>0.5</version>=0A    </depende=
ncy>=0A    <dependency>=0A      <groupId>httpunit</groupId>=0A      <artifa=
ctId>httpunit</artifactId>=0A      <version>1.6</version>=0A    </dependenc=
y>=0A    <dependency>=0A      <groupId>nekohtml</groupId>=0A      <artifact=
Id>nekohtml</artifactId>=0A      <version>0.9.1</version>=0A    </dependenc=
y>=0A    <dependency>=0A      <groupId>xerces</groupId>=0A      <artifactId=
>xercesImpl</artifactId>=0A      <version>2.6.2</version>=0A    </dependenc=
y>=0A    <dependency>=0A      <groupId>xerces</groupId>=0A      <artifactId=
>xmlParserAPIs</artifactId>=0A      <version>2.2.1</version>=0A    </depend=
ency>=0A    <dependency>=0A      <groupId>rhino</groupId>=0A      <artifact=
Id>js</artifactId>=0A      <version>1.5R4.1</version>=0A    </dependency>=
=0A    <dependency>=0A      <groupId>ant</groupId>=0A      <artifactId>ant<=
/artifactId>=0A      <version>1.5.3-1</version>=0A    </dependency>=0A    <=
dependency>=0A      <groupId>commons-jelly</groupId>=0A      <artifactId>co=
mmons-jelly</artifactId>=0A      <version>20030902.160215</version>=0A    <=
/dependency>=0A    <dependency>=0A      <groupId>commons-jelly</groupId>=0A=
      <artifactId>commons-jelly-tags-ant</artifactId>=0A      <version>2003=
0625.032346</version>=0A    </dependency>=0A    <dependency>=0A      <group=
Id>commons-beanutils</groupId>=0A      <artifactId>commons-beanutils</artif=
actId>=0A      <version>1.7.0</version>=0A    </dependency>=0A    <dependen=
cy>=0A      <groupId>commons-jelly</groupId>=0A      <artifactId>commons-je=
lly-tags-xml</artifactId>=0A      <version>20030211.142705</version>=0A    =
</dependency>=0A=0AI then added the following lines to the build.properties=
 for the project=0A   # Cactus configuration=0A   #cactus.home.tomcat4x =3D=
      C:/Apache/apache-tomcat-6.0.14=0A   #cactus.home.tomcat6x =3D      C:=
/Apache/apache-tomcat-6.0.14=0A   cactus.src.dir       =3D      src/test=0A=
   # cactus.contextURL    =3D      http://localhost:8080/jacksprats=0A=0AI =
wrote a test case. I will not attach the file here it does not even get exe=
cuted.=0A=0AI issue the command =0A   maven cactus=0A=0AI get the erro "Mis=
sing Cactus property [cactus.contextURL]" problem in the cactus "TEST-TestC=
aseTest.xml" file=0A=0AThis still persists if I uncomment the cactus.contex=
tURL line in the build.properties.=0A=0AIf I enter the command line=0A    m=
aven cactus -Dcactus.contextURL=3Dhttp://localhost:8080/jacksprats=0A=0AI g=
et the a "Connection refused: connect" error in the test output.=0A=0A=0A  =
    Enjoy a better web experience. Upgrade to the new Internet Explorer 8 o=
ptimised for Yahoo!7. Get it now.