[HepData-svn] r1850 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Mar 27 15:38:19 GMT 2015


Author: whalley
Date: Fri Mar 27 15:38:19 2015
New Revision: 1850

Log:
fix resource directory name

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/JsonFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/JsonFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/JsonFormatter.java	Fri Mar 27 15:30:16 2015	(r1849)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/JsonFormatter.java	Fri Mar 27 15:38:19 2015	(r1850)
@@ -36,8 +36,8 @@
         
         for (int i=0; i<descs.length-1; i++){
             for(int j=0; j<ids.length-1; j++){
-                String descfile = "/home/whalley/resource/" +ids[j] + "/" + descs[i];
-                String linkfile = "/home/whalley/resource/" +ids[j] + "/" + links[i];
+                String descfile = "/home/hepdata/resource/" +ids[j] + "/" + descs[i];
+                String linkfile = "/home/hepdata/resource/" +ids[j] + "/" + links[i];
                 File testdesc = new File(descfile);
                 File testlink = new File(linkfile);
                 String desc="";
@@ -62,7 +62,7 @@
         }
 
         for (int j=0; j<ids.length-1; j++){
-            String insertfile = "/home/whalley/resource/" +ids[j] + "/insert.html";
+            String insertfile = "/home/hepdata/resource/" +ids[j] + "/insert.html";
             File testinsert = new File(insertfile);
             String insert="";
             if(testinsert.exists()){


More information about the HepData-svn mailing list