This content has been marked as final.
Show 3 replies
-
1. Re: .SAR file extension deprecated in JBoss 5 ?
dimitris May 29, 2009 8:09 AM (in response to dimar1975)It's not a bug, it's a feature :-)
I think AS5 primarily is looking for the META-INF/jboss-service.xml descriptor, rather than checking the extension. -
2. Re: .SAR file extension deprecated in JBoss 5 ?
alesj May 29, 2009 8:38 AM (in response to dimar1975)"dimitris@jboss.org" wrote:
It's not a bug, it's a feature :-)
Yup, this is now treated the same way."dimitris@jboss.org" wrote:
I think AS5 primarily is looking for the META-INF/jboss-service.xml descriptor, rather than checking the extension.
OK, there is more to it than this. ;-)
The actual change is that we do 2 diff phases of deployment recognition.
1st == structure
2nd == real --> parsing, cl, install, ...
And it's the 1st phase that legally doesn't see any diff between .sar and .jar.
e.g. both have META-INF as their metadata location
The rest is just how you read the files. -
3. Re: .SAR file extension deprecated in JBoss 5 ?
dimar1975 May 29, 2009 9:11 AM (in response to dimar1975)ok, this is a good news since when developing with Eclipse you can use only standard extensions (.jar, .war, .ear).
If you wanted to pack classes in a .sar archive, you had to create your own script to rename it.
regards
Marco