[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Wed Jan 30 00:41:39 UTC 2008
gordonp
Tue Jan 29 19:41:39 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/minnow
In directory dev.open-bio.org:/tmp/cvs-serv11299/src/main/ca/ucalgary/minnow
Modified Files:
MinJarMaker.java
Log Message:
Avoid null pointer if jarmaker.class.extras property is not set
moby-live/Java/src/main/ca/ucalgary/minnow MinJarMaker.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/minnow/MinJarMaker.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/minnow/MinJarMaker.java 2008/01/30 00:14:11 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/minnow/MinJarMaker.java 2008/01/30 00:41:39 1.2
@@ -452,6 +452,10 @@
}
protected void addExtraClasses(Set<String> classes){
+ if(System.getProperty("jarmaker.class.extras") == null){
+ return;
+ }
+
StringTokenizer extraClassesTokens = new StringTokenizer(System.getProperty("jarmaker.class.extras"),
File.pathSeparator);
while(extraClassesTokens.hasMoreElements()){
More information about the MOBY-guts
mailing list