you won't be able to do it because you cannot know which revision you'll have in your tag. If someone else commit just before you it wont work ?<div><br clear="all">Cheers,<br><br>Arnaud<br><br># Arnaud Héritier<br>
# Software Factory Manager<br># eXo Platform<br># <a href="http://www.exoplatform.com">http://www.exoplatform.com</a><br># <a href="http://blog.aheritier.net">http://blog.aheritier.net</a><br>
<br><br><div class="gmail_quote">On Sun, Oct 11, 2009 at 12:39 AM, Dimitri BAELI <span dir="ltr"><<a href="mailto:dbaeli@gmail.com">dbaeli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I was simply suggesting to create a tag with the revision number of the source, and in the version.<div class="im"><br clear="all">Dimitri BAELI - eXo Platform SAS<br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Sun, Oct 11, 2009 at 12:36 AM, Arnaud HERITIER <span dir="ltr"><<a href="mailto:aheritier@gmail.com" target="_blank">aheritier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div>It is impossible to deploy a version with the SCM revision (for several bugs/reasons in Maven)</div><div><br></div>You have to use timestamped versions instead of SNAPSHOTs version to avoid this problem<div>You can use mvn <span style="font-family:Verdana,Helvetica,Arial,sans-serif;line-height:16px">versions:lock-snapshots to resolve them</span></div>
<div><font face="Verdana, Helvetica, Arial, sans-serif"><span style="line-height:16px"><a href="http://mojo.codehaus.org/versions-maven-plugin/lock-snapshots-mojo.html" target="_blank">http://mojo.codehaus.org/versions-maven-plugin/lock-snapshots-mojo.html</a></span></font></div>
<div><font face="Verdana, Helvetica, Arial, sans-serif"><span style="line-height:16px">Actually at eXo we don't keep all SNAPSHOTs but they don't cleanup them at JBoss</span></font></div>
<div><div><br clear="all">Cheers,<br><br>Arnaud<br><br># Arnaud Héritier<br># Software Factory Manager<br># eXo Platform<br># <a href="http://www.exoplatform.com" target="_blank">http://www.exoplatform.com</a><br>
# <a href="http://blog.aheritier.net" target="_blank">http://blog.aheritier.net</a><br>
<br><br></div><div><div></div><div><div class="gmail_quote">On Sun, Oct 11, 2009 at 12:22 AM, Dimitri BAELI <span dir="ltr"><<a href="mailto:dbaeli@gmail.com" target="_blank">dbaeli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Note:<br> +1 to not use any SNAPSHOT in dependencies because it can block to reproduce the build of past revisions. <br> Trying to build a previous revision can fail because the last version of dependencies snapshots will be used, not the one this revision was using.<br>
Instead of using snapshots, we can simply deploy versions of those dependencies with revision number instead of the SNAPSHOT name (like 2.1.0-r326).<div><br clear="all">Dimitri BAELI - eXo Platform SAS<br>
<br><br></div><div><div></div><div><div class="gmail_quote">On Sun, Oct 11, 2009 at 12:12 AM, Arnaud HERITIER <span dir="ltr"><<a href="mailto:aheritier@gmail.com" target="_blank">aheritier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
I suppose that avoiding to build it on windows isn't a reply ??<div>:-)</div><div>Another solution can be a change in a plugin because I updated several things in poms.</div><div>But the only one I'm sure I didn't change is the compiler plugin where the problem seems to be.</div>
<div><br clear="all">Cheers,<br><br>Arnaud<br><br># Arnaud Héritier<br># Software Factory Manager<br># eXo Platform<br># <a href="http://www.exoplatform.com" target="_blank">http://www.exoplatform.com</a><br># <a href="http://blog.aheritier.net" target="_blank">http://blog.aheritier.net</a><br>
<br><br><div class="gmail_quote"><div><div></div><div>On Sat, Oct 10, 2009 at 10:59 PM, Dimitri BAELI <span dir="ltr"><<a href="mailto:dbaeli@gmail.com" target="_blank">dbaeli@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>
Hello,<br> I already see your smile but we've got a big problem on compiling GateIn on windows.<br> The issue is reported and detailled here : <a href="https://jira.jboss.org/jira/browse/GTNPORTAL-27" target="_blank">https://jira.jboss.org/jira/browse/GTNPORTAL-27</a><br>
The build takes 40min where it should take 5min.<br><br>I've investigated a bit:<br>* It seems that the javac is spending all his time in scaning directories in the classpath. <br>* Then I compared the dependencies of current a previous versions of webui\eXo module (one of the slow modules), and it turns that nearly only some versions changed in the dependencies.<br>
** There is tools.jar (12Mo !) from htmlparser from JCR (see <a href="https://jira.jboss.org/jira/browse/EXOJCR-179" target="_blank">EXOJCR-179</a>) but removing it from the compilation classpath is not sufficient.<br>** Other dependencies changes are mainly versions changes.<br>
<br>Current conclusion:<br>* It is probably a change in the classpath, but not sure yet.<br>* No clue of responsible commit for the moment.<br><br>What's next:<br>* update the gatein source code to past revision and rebuild until the commit that introduced the regression is found.<br>
<br>I'm starting to study that and let you know. Unless someone has another idea.<br><font color="#888888"><br clear="all">Dimitri BAELI - eXo Platform SAS<br>
</font><br></div></div>_______________________________________________<br>
gatein-dev mailing list<br>
<a href="mailto:gatein-dev@lists.jboss.org" target="_blank">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></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>