Subversion Repositories SmartDukaan

Rev

Rev 344 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 344 Rev 451
Line 17... Line 17...
17
	
17
	
18
	static{
18
	static{
19
		Properties preProps = System.getProperties();
19
		Properties preProps = System.getProperties();
20
		Properties postProps = new Properties();
20
		Properties postProps = new Properties();
21
		//props.setProperty("python.home","PYTHONPATH");  
21
		//props.setProperty("python.home","PYTHONPATH");  
22
		postProps.setProperty("python.path",Utils.JYTHON_SRC_PATH+"/comparisonrules:"+Utils.JYTHON_SRC_PATH+"/irdatarules:"+Utils.JYTHON_SRC_PATH+"/irmetadatarules:"+Utils.JYTHON_SRC_PATH+"/common:"+Utils.JYTHON_SRC_PATH+"/normalizationrules");
22
		postProps.setProperty("python.path",Utils.JYTHON_SRC_PATH+"/comparisonrules:"+Utils.JYTHON_SRC_PATH+"/irdatarules:"+Utils.JYTHON_SRC_PATH+"/irmetadatarules:"+Utils.JYTHON_SRC_PATH+"/common:"+Utils.JYTHON_SRC_PATH+"/normalizationrules"+":/home/rajveer/31July/PyProj/src"+":/usr/local/lib/python2.6/dist-packages"+":/usr/lib/python2.6"+":/usr/bin/python2.6"+":/usr/include/python2.6");
23
		PythonInterpreter.initialize(preProps,postProps,new String[0]);
23
		PythonInterpreter.initialize(preProps,postProps,new String[0]);
24
	}
24
	}
25
	
25
	
26
	/**
26
	/**
27
	 * Private Python interpreter instance
27
	 * Private Python interpreter instance