You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2006/10/13 12:48:40 UTC

Sample names

Any comments on the sample war and jar names? Currently we have a mix of
things like 'webapp', 'sample-supplychain-1.0-incubator-M2-SNAPSHOT.jar', '
sample-helloworldjsonrpc.war'.

Including the 'sample-' prefix seems good to me, and presumably we only need
the -incubator- part if we're separately distributing these artifacts, which
I don't think is the plan,  so we could leave the version off to keep things
simple?

   ...ant

Re: Sample names

Posted by Jeremy Boynes <jb...@apache.org>.
Definite +1 for consistency.

I think we should remove the version from the name as it impacts the  
URL the user gets when they deploy to Tomcat. I think that should be  
as short and simple as possible.

--
Jeremy

On Oct 13, 2006, at 5:38 AM, cr22rc wrote:

> I agree we should be consistent.  The only thing I might add is the  
> only way I know to do this in maven is using  finalName in the  
> build section of the pom.xml
> This has the behavior that what's produced in the target directory  
> is the specified name, but in repo the name still follows the  
> conventional maven name as expected. I forgot the details, but at  
> one time this gave me some grief.
>
>
> ant elder wrote:
>> Any comments on the sample war and jar names? Currently we have a  
>> mix of
>> things like 'webapp', 'sample-supplychain-1.0-incubator-M2- 
>> SNAPSHOT.jar', '
>> sample-helloworldjsonrpc.war'.
>> Including the 'sample-' prefix seems good to me, and presumably we  
>> only need
>> the -incubator- part if we're separately distributing these  
>> artifacts, which
>> I don't think is the plan,  so we could leave the version off to  
>> keep things
>> simple?
>>   ...ant
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Sample names

Posted by cr22rc <cr...@gmail.com>.
I agree we should be consistent.  The only thing I might add is the only way I 
know to do this in maven is using  finalName in the build section of the pom.xml
This has the behavior that what's produced in the target directory is the 
specified name, but in repo the name still follows the conventional maven name 
as expected. I forgot the details, but at one time this gave me some grief.


ant elder wrote:
> Any comments on the sample war and jar names? Currently we have a mix of
> things like 'webapp', 'sample-supplychain-1.0-incubator-M2-SNAPSHOT.jar', '
> sample-helloworldjsonrpc.war'.
> 
> Including the 'sample-' prefix seems good to me, and presumably we only 
> need
> the -incubator- part if we're separately distributing these artifacts, 
> which
> I don't think is the plan,  so we could leave the version off to keep 
> things
> simple?
> 
>   ...ant
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org