Thanks for your responses, I'll try the solution of Tim even it's not
goot to not have version number in the jar file name ! ;)

-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: vendredi 12 d�cembre 2003 19:25
To: Maven Users List
Subject: Re: Name of generated files


On Fri, 2003-12-12 at 11:30, Kyle Adams wrote:
> Granted, I also think it's a best practice to version JAR files;
however, I'm not convinced that putting the version in the file name is
a good idea, let alone a best practice.
> 
>  Filenames don't seem to be a good place for storing data like this,
especially when you have Sun's versioning specs
(http://java.sun.com/j2se/1..3/docs/guide/versioning/spec/VersioningSpec
ification.html), which put version data in the manifest.
> 
> But that's my take, and we've already been down that road before :-)
I'm not sure why Steph doesn't want version info in the filenames, but
maybe he and I are in the same boat:

Yah, and take a look at how many of Sun's JARs that are deployed that
don't even follow their own spec. No big surprise there but you
basically can't tell what version things are because there is no
manifest information and only some JARs have the versions in them. Sun
is an example of a dog's breakfast.

Anything that lends itself to comprehension and throws up a barrier
against common mistakes is a best practice IMO. The version name in the
JAR file name makes it very hard to mistake that JAR for another.

Just because Sun makes a spec doesn't mean it's any good or even
employed within Sun because in this case it certainly isn't.

> http://marc.theaimsgroup.com/?t=106727058800001&r=1&w=2
> 
> Based on that thread, I build the unversioned JARs, deploy them in my
app server, and then rename before pushing them out to the repository.
> 
> Kyle
> 
> _____
> 
> Kyle Adams | Java Developer  |  Gordon Food Service  |  616-717-6162
> 
> >>> [EMAIL PROTECTED] 12/12/03 11:05AM >>>
> All jars MUST have a version. It's a best practices.
> 
> Emmanuel
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to