but we don't wnat that name to be part of the URL when people deploy it to their container of choice - so either they need to remember to rename it, or the context name needs to be set (not sure if you can do that in a standard war?). <div>
<br><br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 10:19 AM, Jervis Liu <span dir="ltr"><<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Correction.The name convention we currently used in Drools is<br>
<drools>-<version>-<moduleName>. Guvnor should follow the same<br>
convention I believe, so it should be drools-5.1.0-guvnor.war (same as<br>
it is called right now). Nothing needs to be changed in assembly, I will<br>
update doc.<br>
<font color="#888888"><br>
Jervis<br>
</font><div><div></div><div class="h5"><br>
<br>
On 2010/8/6 15:07, Jervis Liu wrote:<br>
> So the consensue is to use a name convention of<br>
> <artifact>-<version>.war. I will update Guvnor doc to reflect this<br>
> change. Mark, once I have the doc updated, do we need to upload a new<br>
> version of doc to the website?<br>
><br>
> Cheers,<br>
> Jervis<br>
><br>
> Michael Neale wrote:<br>
>> hahaha...<br>
>><br>
>> to be fair, that stupid OS-X "feature" made me scratch my head for a<br>
>> few hours once, thinking our build was doing something wrong...<br>
>><br>
>> On Thu, Aug 5, 2010 at 10:13 PM, Mark Proctor<<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a><br>
>> <mailto:<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>>> wrote:<br>
>><br>
>> This is quite funny, the longest debate we've had on dev mailing<br>
>> list for a while, and it's about the naming of a jar :)<br>
>><br>
>> Mark<br>
>><br>
>> On 05/08/2010 12:48, Michael Neale wrote:<br>
>>> thankfully it didn't do that...<br>
>>><br>
>>> but not naming the folder drools-guvnor.war tripped me enough<br>
>>> enough times that I still remember it.<br>
>>><br>
>>> On Thu, Aug 5, 2010 at 9:25 PM, Anstis, Michael (M.)<br>
>>> <<a href="mailto:manstis1@ford.com">manstis1@ford.com</a><mailto:<a href="mailto:manstis1@ford.com">manstis1@ford.com</a>>> wrote:<br>
>>><br>
>>> ..and unzip the jars in WEB-INF\lib? ;-)<br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>> *From:* <a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>><br>
>>> [mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>>] *On Behalf Of<br>
>>> *Michael Neale<br>
>>> *Sent:* 05 August 2010 12:06<br>
>>> *To:* Rules Dev List<br>
>>> *Subject:* Re: [rules-dev] Guvnor 5.1 war file is<br>
>>> nownamedasdrools-5.1.0-guvnor.war?<br>
>>><br>
>>> no I think it was more that OS-X finder would unzip the<br>
>>> zip, and then unzip the war, and you end up with a<br>
>>> drools-guvnor directory... confuses people.<br>
>>><br>
>>> Distributing it as a war makes sense.<br>
>>><br>
>>> On Thu, Aug 5, 2010 at 8:59 PM, Anstis, Michael (M.)<br>
>>> <<a href="mailto:manstis1@ford.com">manstis1@ford.com</a><mailto:<a href="mailto:manstis1@ford.com">manstis1@ford.com</a>>> wrote:<br>
>>><br>
>>> So,<artifact>-<version>.war without zip then?<br>
>>><br>
>>> (Says he with little experience of maven packaging)<br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>> *From:* <a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>><br>
>>> [mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>>] *On<br>
>>> Behalf Of *Michael Neale<br>
>>> *Sent:* 05 August 2010 11:47<br>
>>> *To:* Rules Dev List<br>
>>> *Subject:* Re: [rules-dev] Guvnor 5.1 war file is<br>
>>> now namedasdrools-5.1.0-guvnor.war?<br>
>>><br>
>>> yeah zipping the war sometimes caused hassles for<br>
>>> OS-X users (I know tripped me up) so its a good<br>
>>> thing to do this (but want to set the web context<br>
>>> or rename when deploying !).<br>
>>><br>
>>> On Thu, Aug 5, 2010 at 8:40 PM, Mark Proctor<br>
>>> <<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a><br>
>>> <mailto:<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>>> wrote:<br>
>>><br>
>>> On 05/08/2010 11:18, Anstis, Michael (M.) wrote:<br>
>>> > I like the new format - I like version<br>
>>> numbers in filenames so you can<br>
>>> > differentiate.<br>
>>> ><br>
>>> > I can always change the web-context at<br>
>>> deployment time if I like.<br>
>>> Previuosly it was<br>
>>> drools-guvnor-5.1.0.zip<br>
>>> -- drools-guvnor.war<br>
>>><br>
>>> So the zip was versioned, just the contained<br>
>>> .war wasn't. I didn't see<br>
>>> the point in zipping a single war. But I can<br>
>>> move back to that, so the<br>
>>> main download artifact is versioned, but the<br>
>>> war isn't....<br>
>>><br>
>>> Mark<br>
>>> > -----Original Message-----<br>
>>> > From: <a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>><br>
>>> > [mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>>]<br>
>>> On Behalf Of Mark Proctor<br>
>>> > Sent: 05 August 2010 11:15<br>
>>> > To: <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> > Subject: Re: [rules-dev] Guvnor 5.1 war<br>
>>> file is now namedas<br>
>>> > drools-5.1.0-guvnor.war?<br>
>>> ><br>
>>> ><br>
>>> > On 05/08/2010 10:11, Jervis Liu wrote:<br>
>>> >> Hi, just found that Guvnor 5.1 war file is<br>
>>> now named as<br>
>>> >> drools-5.1.0-guvnor.war? This way users<br>
>>> have to change the default url<br>
>>> >> to things like<br>
>>> <a href="http://localhost:8080/drools-5.1.0-guvnor" target="_blank">http://localhost:8080/drools-5.1.0-guvnor</a>. Is<br>
>>> this a<br>
>>> >> mistake or intended?<br>
>>> > Previously it was a versioned zip that had<br>
>>> an unversioned war in it. As<br>
>>> > a war is already compressed it seemed<br>
>>> pointless compressing it in<br>
>>> > another archive.<br>
>>> ><br>
>>> > Users can just rename the .war if they<br>
>>> like, stripping the version. Or<br>
>>> > we can change it back to placing hte .war<br>
>>> inside of the .zip.<br>
>>> ><br>
>>> > What do people want?<br>
>>> ><br>
>>> > Mark<br>
>>> >> Cheers,<br>
>>> >> Jervis<br>
>>> >><br>
>>> >><br>
>>> _______________________________________________<br>
>>> >> rules-dev mailing list<br>
>>> >> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> >><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>> >><br>
>>> >><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > rules-dev mailing list<br>
>>> > <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> ><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > rules-dev mailing list<br>
>>> > <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> ><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>> ><br>
>>> ><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-dev mailing list<br>
>>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Michael D Neale<br>
>>> home: <a href="http://www.michaelneale.net" target="_blank">www.michaelneale.net</a><br>
>>> <<a href="http://www.michaelneale.net" target="_blank">http://www.michaelneale.net</a>><br>
>>> blog: <a href="http://michaelneale.blogspot.com" target="_blank">michaelneale.blogspot.com</a><br>
>>> <<a href="http://michaelneale.blogspot.com" target="_blank">http://michaelneale.blogspot.com</a>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-dev mailing list<br>
>>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Michael D Neale<br>
>>> home: <a href="http://www.michaelneale.net" target="_blank">www.michaelneale.net</a><<a href="http://www.michaelneale.net" target="_blank">http://www.michaelneale.net</a>><br>
>>> blog: <a href="http://michaelneale.blogspot.com" target="_blank">michaelneale.blogspot.com</a><br>
>>> <<a href="http://michaelneale.blogspot.com" target="_blank">http://michaelneale.blogspot.com</a>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-dev mailing list<br>
>>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Michael D Neale<br>
>>> home: <a href="http://www.michaelneale.net" target="_blank">www.michaelneale.net</a><<a href="http://www.michaelneale.net" target="_blank">http://www.michaelneale.net</a>><br>
>>> blog: <a href="http://michaelneale.blogspot.com" target="_blank">michaelneale.blogspot.com</a><<a href="http://michaelneale.blogspot.com" target="_blank">http://michaelneale.blogspot.com</a>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> rules-dev mailing list<br>
>>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> rules-dev mailing list<br>
>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Michael D Neale<br>
>> home: <a href="http://www.michaelneale.net" target="_blank">www.michaelneale.net</a><<a href="http://www.michaelneale.net" target="_blank">http://www.michaelneale.net</a>><br>
>> blog: <a href="http://michaelneale.blogspot.com" target="_blank">michaelneale.blogspot.com</a><<a href="http://michaelneale.blogspot.com" target="_blank">http://michaelneale.blogspot.com</a>><br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> rules-dev mailing list<br>
>> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
>><br>
><br>
> _______________________________________________<br>
> rules-dev mailing list<br>
> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>
</div>