I don't know if it is already possible in Cargo but what I would like to have is :<div>- We can set a property name in the download mojo</div><div>- If the user define this property we consider it as the local path of the app server</div>
<div>- Otherwise<br><div>-- Cargo downloads the app server from an url</div><div>-- It can store it on a given local path or in the local repo (we give it a groupId/artifactId/version)</div><div><div><br></div><div>With that app servers binaries are downloaded only one time (we don't store it in the target dir which is always removed).</div>
<div>By default a user doesn't have to setup a local app server but he can if he want by setting up a property in his local settings.</div><div><br clear="all">Arnaud Héritier<br>Software Factory Manager<br>eXo platform - <a href="http://www.exoplatform.com">http://www.exoplatform.com</a><br>
---<br><a href="http://www.aheritier.net">http://www.aheritier.net</a><br>
<br><br><div class="gmail_quote">On Fri, Nov 13, 2009 at 5:57 PM, Matt Wringe <span dir="ltr"><<a href="mailto:mwringe@redhat.com">mwringe@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, 2009-11-13 at 17:40 +0100, Arnaud HERITIER wrote:<br>
> For me having a build which fails by default in the middle of the<br>
> process his a really bad thing (like gatein portal). At least we<br>
> should add an enforcer rule to no start the build if the tomcat_home<br>
> env var isn't set.<br>
<br>
</div>I agreed, it probably needs enforcer rules added.<br>
<div class="im"><br>
> Another possibility is to use a profile which<br>
> activates this module only if the var is set.<br>
<br>
</div>by default these tests need to be run, if the person wants to skip the<br>
tests they should have to specify they want to skip parts of the test.<br>
<div class="im"><br>
> Didn't you think to use cargo to avoid all those installations by<br>
> default ? It was creAted for that.<br>
<br>
</div>It does use cargo, but we don't setup cargo is to automatically download<br>
the packages. This has been brought up before with JBoss Portal, and the<br>
preferred situation was to just force people to set the home variables.<br>
<div><div></div><div class="h5"><br>
><br>
> Arnaud<br>
><br>
> On Friday, November 13, 2009, Thomas Heute <<a href="mailto:theute@redhat.com">theute@redhat.com</a>> wrote:<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > We definitely need to keep Tomcat test. Since WCI is all about Web<br>
> > Container integration.<br>
> ><br>
> > It builds fine in our Hudson:<br>
> > <a href="http://hudson.jboss.org/hudson/view/GateIn/job/gatein_wci_trunk_sun5_tomcat6_jboss5_jboss423/" target="_blank">http://hudson.jboss.org/hudson/view/GateIn/job/gatein_wci_trunk_sun5_tomcat6_jboss5_jboss423/</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On 11/13/2009 09:58 AM, Arnaud HERITIER wrote:<br>
> > Hi,<br>
> ><br>
> ><br>
> > For several days now, the build of WCI is KO :<br>
> > <a href="http://builder.exoplatform.org/hudson/job/gatein-wci-trunk-ci/5/console" target="_blank">http://builder.exoplatform.org/hudson/job/gatein-wci-trunk-ci/5/console</a><br>
> > This is because the module "WCI<br>
> > Tomcat 6 test component"<br>
> > requires to have a local installation of Tomcat in ${env.TOMCAT_6_0_HOME} and actually I<br>
> > don't have it.<br>
> > Couldn't we deactivate this<br>
> > part by default like it is possible in others gatein modules which<br>
> > require TOMCAT or JBOSS for their integration tests.<br>
> ><br>
> ><br>
> > Cheers<br>
> ><br>
> ><br>
> > Arnaud Héritier<br>
> > Software Factory Manager<br>
> > eXo platform - <a href="http://www.exoplatform.com" target="_blank">http://www.exoplatform.com</a><br>
> > ---<br>
> > <a href="http://www.aheritier.net" target="_blank">http://www.aheritier.net</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > gatein-dev mailing list<br>
> > <a href="mailto:gatein-dev@lists.jboss.org">gatein-dev@lists.jboss.org</a> <javascript:_e({}, 'cvml', '<a href="mailto:gatein-dev@lists.jboss.org">gatein-dev@lists.jboss.org</a>');><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/gatein-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/gatein-dev</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div></div></div>