Maven Jetty Integration

"Michael Rimov" <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Organization Centerline Computers, Inc
Message-ID <02fd01c674fc$c585aad0$651ea8c0@prosperity>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.