jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Rimov" <rim...@centercomp.com>
Subject Maven Jetty Integration
Date Thu, 11 May 2006 13:14:01 GMT
Hi All!

 

Since it didn't look like the maven 1 plugin was supporting Jetty, I tried
adding to the integration plugin.jelly:

 

<j:if test="${context.getVariable('cactus.home.jetty5x') != null}">

     <ant:mkdir dir="${cactus.reports.dir}/jetty5x"/>

   </j:if>

 

And

 

<jetty5x if="cactus.home.jetty5x" port="${cactus.port}"

                        ="${cactus.home.jetty5x}"
output="${cactus.reports.dir}/jetty5x.out"

                        ="${cactus.reports.dir}/jetty5x"

           jvmArgs="${cactus.jetty5x.jvmArgs}">

 

         <j:if test="${context.getVariable('cactus.tmp.dir') != null}">

           <ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>

         </j:if>    

         <j:if test="${context.getVariable('cactus.jetty5x.config') !=
null}">

           <ant:setProperty name="serverxml"
value="${cactus.jetty5x.config}"/>

         </j:if> 

         <j:if test="${context.getVariable('cactus.jetty5x.tmpdir') !=
null}">

           <ant:setProperty name="tmpdir" value="${cactus.jetty5x.tmpdir}"/>

         </j:if>             

         <j:if test="${context.getVariable('cactus.jetty5x.conf.dir') !=
null}">

           <conf dir="${cactus.jetty5x.conf.dir}"

             includes="${cactus.jetty5x.conf.includes}"

             excludes="${cactus.jetty5x.conf.excludes}"/>

         </j:if>            

</jetty5x>

 

It still seemed to ignore the <jetty/> tag.  So I'm assuming that Cargo .5
didn't support Jetty 5?

 

So just to see if a hack would work, I tried dropping the latest cargo
uberjar and ant tasks in the same directory as the plugins.  No dice.  

 

So - I then, feeling rather determined to get this working went to check out
the latest source and see if I could get it going.

 

According to
http://jakarta.apache.org/cactus/integration/maven/cvs-usage.html  I tried
their instructions of pressing enter when asked for a password for the CVS
home and anoncvs user.  I get access denied.

 

Would it take extensive rewriting to get the cargo upgraded to the latest
work and then would it be hard to include Jetty integration like I had used
with the plugin.jelly?  And finally, how can I get the CVS code? ;)

 

Thanks in advance!

 
-Mike

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message