[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Fri Dec 14 21:27:02 UTC 2007
gordonp
Fri Dec 14 16:27:01 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services
In directory dev.open-bio.org:/tmp/cvs-serv24454/src/main/ca/ucalgary/services
Modified Files:
ACDService.java
Log Message:
Added definition of EMBOSS_DATA env var for program execution
moby-live/Java/src/main/ca/ucalgary/services ACDService.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/ACDService.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/ACDService.java 2007/12/06 23:36:21 1.5
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/ACDService.java 2007/12/14 21:27:01 1.6
@@ -313,9 +313,11 @@
// programs like emma call other programs such as clustalw
String libDir = embossRootDirName+File.separator+"lib";
String binDir = programBinaryFile.getParent();
+ String dataDir = embossRootDirName+File.separator+"share"+File.separator+"EMBOSS"+File.separator+"data";
final Process process = runtime.exec(command,
new String[]{"EMBOSS="+embossRootDirName,
"EMBOSS_ACDROOT="+acdRootDirName,
+ "EMBOSS_DATA="+dataDir,
"LD_LIBRARY_PATH="+libDir,
"PATH="+libDir+File.pathSeparator+binDir},
workingDir);
More information about the MOBY-guts
mailing list