Révision 2725

tmp/org.txm.core/src/java/org/txm/objects/Text.java (revision 2725)
240 240
	
241 241
	@Override
242 242
	public boolean loadParameters() throws Exception {
243
		
244
		// we may need to update pXMLTXMFile
245
		if (pXMLTXMFile == null || !pXMLTXMFile.exists()) { // try setting the parameter using the corpus directory
246
			File file = new File(this.getParent().getProjectDirectory(), "txm/" + this.getParent().getName() + "/" + this.getName() + ".xml");
247
			if (file.exists()) {
248
				pXMLTXMFile = file;
249
				this.saveParameter("xmltxm", pXMLTXMFile.getAbsolutePath());
250
			}
251
		}
252
		
243 253
		return true;
244 254
	}
245 255
	
......
300 310
	
301 311
	@Override
302 312
	protected boolean _compute(TXMProgressMonitor monitor) throws Exception {
303
		// TODO System.out.println("CALL IMPORTMODULE TO BUILD TEXT="+userName);
304 313
		return true;
305 314
	}
306 315
	

Formats disponibles : Unified diff