|
[HepData-svn] r1617 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Apr 25 14:14:54 BST 2013
Author: whalley Date: Thu Apr 25 14:14:54 2013 New Revision: 1617 Log: getting home directory correct Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Fri Apr 19 16:07:06 2013 (r1616) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Thu Apr 25 14:14:54 2013 (r1617) @@ -636,8 +636,8 @@ // This next sections adds any extra information to the specific table. // Not ideal because the relative table Id could change but I see no better was. // Requires two files: description.n and link.n in the specific resource direcotry - String descname="/mt/home/whalley/resource/"+_dataset.getPaper().getSpiresId()+"/description."+_dataset.getId(); - String linkname="/mt/home/whalley/resource/"+_dataset.getPaper().getSpiresId()+"/link."+_dataset.getId(); + String descname="/home/whalley/resource/"+_dataset.getPaper().getSpiresId()+"/description."+_dataset.getId(); + String linkname="/home/whalley/resource/"+_dataset.getPaper().getSpiresId()+"/link."+_dataset.getId(); File descfile = new File(descname); if(descfile.exists()) { try{
More information about the HepData-svn mailing list |