Update of /cvsroot/nice/Nice/src/bossa/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12009/src/bossa/modules
Modified Files:
Package.java
Log Message:
Catch exceptions in main, and print the stack trace with the correct
source-level information.
Index: Package.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** Package.java 15 Feb 2004 19:22:10 -0000 1.111
--- Package.java 16 Feb 2004 21:47:12 -0000 1.112
***************
*** 499,503 ****
manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"1.0");
manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,
! this.name + "." + packageClassName);
return new JarOutputStream(new FileOutputStream(jarFile), manifest);
}
--- 499,503 ----
manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"1.0");
manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,
! this.name + ".dispatch");
return new JarOutputStream(new FileOutputStream(jarFile), manifest);
}
|