User: cgjung
Date: 01/05/21 04:31:43
Modified: src/main/org/jboss/deployment Installer.java
Log:
maintain initial manifest entry in deployment.
Revision Changes Path
1.7 +11 -1 jboss/src/main/org/jboss/deployment/Installer.java
Index: Installer.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/Installer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Installer.java 2001/05/18 15:04:56 1.6
+++ Installer.java 2001/05/21 11:31:43 1.7
@@ -58,7 +58,7 @@
*
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Schulze</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class Installer
{
@@ -141,8 +141,18 @@
{
localCopy = makeLocalCopy();
+ // <code author="cgjung">
+ // we include the manifest into the deployment
+ try{
+ d.manifest=new JarFile(localCopy).getManifest();
+ } catch(IOException e) {
+ // wrecked manifest is ignored
+ }
+ // </code>
+
// determine the type...
int type = determineType (new JarFile(localCopy));
+
log.log ("Create application " + d.name);
switch (type)
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development