gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] fenfire ./Makefile org/fenfire/bin/fenpdf10.py ...


From: Tuomas J. Lukka
Subject: [Gzz-commits] fenfire ./Makefile org/fenfire/bin/fenpdf10.py ...
Date: Thu, 14 Aug 2003 06:13:10 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/14 06:13:09

Modified files:
        .              : Makefile 
        org/fenfire/bin: fenpdf10.py 
Added files:
        org/fenfire/fenpdf: BUGS 

Log message:
        File selectable. Start bug list

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/Makefile.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/bin/fenpdf10.py.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/fenpdf/BUGS?rev=1.1

Patches:
Index: fenfire/Makefile
diff -u fenfire/Makefile:1.29 fenfire/Makefile:1.30
--- fenfire/Makefile:1.29       Wed Aug 13 01:39:49 2003
+++ fenfire/Makefile    Thu Aug 14 06:13:08 2003
@@ -38,8 +38,9 @@
        $(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython 
../libvob/rundemo.py $(DBG) $(DEMO)
 
 BIN?=fenpdf10.py
+FILE?=myFenfire/mygraph.rdf
 run:
-       $(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython 
../libvob/rundemo.py $(DBG) org/fenfire/bin/$(BIN)
+       $(LDLIB) java -cp $(CLASSPATH) $(PYTHONPATH) org.python.util.jython 
../libvob/rundemo.py -Dfenpdf.file=$(FILE) $(DBG) org/fenfire/bin/$(BIN)
 
 BENCH=org.fenfire.swamp.bench.graph
 
Index: fenfire/org/fenfire/bin/fenpdf10.py
diff -u fenfire/org/fenfire/bin/fenpdf10.py:1.36 
fenfire/org/fenfire/bin/fenpdf10.py:1.37
--- fenfire/org/fenfire/bin/fenpdf10.py:1.36    Thu Aug 14 05:58:14 2003
+++ fenfire/org/fenfire/bin/fenpdf10.py Thu Aug 14 06:13:09 2003
@@ -88,20 +88,22 @@
 w.setCursor('wait')
 
 
+vob.putil.demo.usingNormalBindings = 0
+
 ### debugs
 #ff.view.AreaSelectingView2D.dbg = 1
 
+# Java system property "fenpdf.file" can be used to set the file name - 
+# the default is "myFenfire/mygraph.rdf"
 
-DIR = 'myFenfire/'
-FILE = DIR+'mygraph.rdf'
+FILE = java.lang.System.getProperty("fenpdf.file")
 
+DIR = 'myFenfire/'
 
+if FILE == None:
+    FILE = DIR+'mygraph.rdf'
 
-vob.putil.demo.usingNormalBindings = 0
 
-## Unnecessary rubbish?
-#vob.buoy.buoymanager.replaceNewScene = vob.putil.demo.replacingScene
-#vob.buoy.buoymanager.w = vob.putil.demo.w
 
 os.system('mkdir -p '+DIR)
 pool = storm.impl.DirPool(java.io.File(DIR), java.util.HashSet())
@@ -119,7 +121,7 @@
     print 'Loading the RDF graph from the file %s.'% FILE
     do_load_graph = 1
 else:
-    print 'Creating a new RDF graph.'
+    print 'Creating a new RDF graph. File it will be written to: %s' % FILE
     do_load_graph = 0
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]