[jboss-cvs] JBossAS SVN: r98924 - trunk/build.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 23 16:49:07 EST 2009
Author: jason.greene at jboss.com
Date: 2009-12-23 16:49:07 -0500 (Wed, 23 Dec 2009)
New Revision: 98924
Modified:
trunk/build/VersionRelease.java
Log:
Merge fix for missing manifest
Modified: trunk/build/VersionRelease.java
===================================================================
--- trunk/build/VersionRelease.java 2009-12-23 18:31:54 UTC (rev 98923)
+++ trunk/build/VersionRelease.java 2009-12-23 21:49:07 UTC (rev 98924)
@@ -185,7 +185,8 @@
throw new FileNotFoundException("Not a JarFile: "+file);
}
- this.mf = jarFile.getManifest();
+ Manifest tmpMf = jarFile.getManifest();
+ this.mf = tmpMf == null ? new Manifest() : tmpMf;
Attributes mfAttrs = mf.getMainAttributes();
String sealedAttr = mfAttrs.getValue(Attributes.Name.SEALED);
More information about the jboss-cvs-commits
mailing list