[MOBY-guts] biomoby commit

Martin Senger senger at dev.open-bio.org
Sun Mar 2 16:19:15 UTC 2008


senger
Sun Mar  2 11:19:15 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard
In directory dev.open-bio.org:/tmp/cvs-serv1130/src/main/org/biomoby/service/dashboard

Modified Files:
	RegistryPanel.java 
Log Message:
problem with Windows vs. Unix filenames
moby-live/Java/src/main/org/biomoby/service/dashboard RegistryPanel.java,1.29,1.30
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java	2008/03/02 12:45:26	1.29
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java	2008/03/02 16:19:15	1.30
@@ -17,6 +17,8 @@
 import org.biomoby.registry.meta.RegistriesList;
 import org.biomoby.registry.meta.Registry;
 
+import org.apache.commons.io.FilenameUtils;
+
 import javax.swing.JPanel;
 import javax.swing.JLabel;
 import javax.swing.Icon;
@@ -515,8 +517,9 @@
    	labelCacheDir = new JLabel("Cache directory");
 	cacheDir = createFileSelector ("Select directory for/with local cache",
 				       "Select",
-				       DashboardConfig.getString (DP_REGISTRY_CACHE_DIR,
-								  getUserTmpDir()),
+				       FilenameUtils.separatorsToSystem
+				       (DashboardConfig.getString (DP_REGISTRY_CACHE_DIR,
+								   getUserTmpDir())),
 				       "cacheDirectory",
 				       DP_CACHE_DIR);
 	cacheDir.getFileChooser().setFileSelectionMode (JFileChooser.DIRECTORIES_ONLY);




More information about the MOBY-guts mailing list