[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Jan 16 21:46:21 UTC 2008


kawas
Wed Jan 16 16:46:21 EST 2008
Update of /home/repository/moby/moby-live/Perl/scripts
In directory dev.open-bio.org:/tmp/cvs-serv18270/Perl/scripts

Modified Files:
	RESOURCES 
Log Message:
added a config parameter so that users dont have to modify the script everytime a new update occurs
moby-live/Perl/scripts RESOURCES,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/scripts/RESOURCES,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Perl/scripts/RESOURCES	2007/12/21 15:41:19	1.4
+++ /home/repository/moby/moby-live/Perl/scripts/RESOURCES	2008/01/16 21:46:21	1.5
@@ -33,9 +33,10 @@
 use MOBY::RDF::Ontologies::Cache::ObjectCache;
 use MOBY::RDF::Ontologies::Cache::NamespaceCache;
 use MOBY::RDF::Ontologies::Cache::ServiceTypeCache;
+use MOBY::Config;
 
 # your cache dir
-my $dir = "/tmp/";
+my $dir = MOBY::Config->new->{mobycentral}->{rdf_cache} || "/tmp/";
 
 # should we use caching?
 my $useCache = 1;




More information about the MOBY-guts mailing list