/[fenfire]/fenfire/org/fenfire/bin/fenpdf10.py
ViewVC logotype

Diff of /fenfire/org/fenfire/bin/fenpdf10.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by tjl, Thu Aug 14 09:58:14 2003 UTC revision 1.37 by tjl, Thu Aug 14 10:13:09 2003 UTC
# Line 88  import vob Line 88  import vob
88  w.setCursor('wait')  w.setCursor('wait')
89    
90    
91    vob.putil.demo.usingNormalBindings = 0
92    
93  ### debugs  ### debugs
94  #ff.view.AreaSelectingView2D.dbg = 1  #ff.view.AreaSelectingView2D.dbg = 1
95    
96    # Java system property "fenpdf.file" can be used to set the file name -
97    # the default is "myFenfire/mygraph.rdf"
98    
99  DIR = 'myFenfire/'  FILE = java.lang.System.getProperty("fenpdf.file")
 FILE = DIR+'mygraph.rdf'  
100    
101    DIR = 'myFenfire/'
102    
103    if FILE == None:
104        FILE = DIR+'mygraph.rdf'
105    
 vob.putil.demo.usingNormalBindings = 0  
106    
 ## Unnecessary rubbish?  
 #vob.buoy.buoymanager.replaceNewScene = vob.putil.demo.replacingScene  
 #vob.buoy.buoymanager.w = vob.putil.demo.w  
107    
108  os.system('mkdir -p '+DIR)  os.system('mkdir -p '+DIR)
109  pool = storm.impl.DirPool(java.io.File(DIR), java.util.HashSet())  pool = storm.impl.DirPool(java.io.File(DIR), java.util.HashSet())
# Line 119  if os.path.isfile(FILE): Line 121  if os.path.isfile(FILE):
121      print 'Loading the RDF graph from the file %s.'% FILE      print 'Loading the RDF graph from the file %s.'% FILE
122      do_load_graph = 1      do_load_graph = 1
123  else:  else:
124      print 'Creating a new RDF graph.'      print 'Creating a new RDF graph. File it will be written to: %s' % FILE
125      do_load_graph = 0      do_load_graph = 0
126    
127    

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26