[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Dec 4 22:30:49 UTC 2006


gordonp
Mon Dec  4 17:30:49 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util
In directory dev.open-bio.org:/tmp/cvs-serv16792/src/main/ca/ucalgary/seahawk/util

Modified Files:
	MinJarMaker.java 
Log Message:
Added check for extra resources (non-pattern), not just classes
moby-live/Java/src/main/ca/ucalgary/seahawk/util MinJarMaker.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MinJarMaker.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MinJarMaker.java	2006/11/23 19:28:58	1.3
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MinJarMaker.java	2006/12/04 22:30:49	1.4
@@ -456,9 +456,12 @@
 		    e.printStackTrace();
 		}
 		if(classBytes == null){
-		    System.err.println("Could not find the specified extra class: " + 
-				       classPathElement);
-		    continue;
+		    URL u = findResource(classPathElement);
+		    if(u == null){
+			System.err.println("Could not find the specified extra class: " + 
+					   classPathElement);			
+			continue;
+		    }
 		}
 		classes.add(classPathElement);
 	    }




More information about the MOBY-guts mailing list