Changeset 68 in default for trunk/de.ugoe.cs.swe.bnftools.xtools/src
- Timestamp:
- 05/21/14 10:20:09 (10 years ago)
- Location:
- trunk/de.ugoe.cs.swe.bnftools.xtools/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.bnftools.xtools/src/app/Translator.java
r58 r68 16 16 if (args.length != 1) { 17 17 System.out.println("Usage: Translator <FILE>"); 18 return;18 // return; 19 19 } 20 20 21 Translator app = new Translator(); 21 app.process(args[0],"bnf"); 22 System.out.println(args[0]); 23 String path = "C:\\Users\\hauke\\test.bnf"; 24 app.process(path,"bnf"); 22 25 } 23 26 -
trunk/de.ugoe.cs.swe.bnftools.xtools/src/resource/tools/xtools/ResourceTool.java
r58 r68 7 7 import java.util.Properties; 8 8 9 import org.apache.commons.io.FileUtils;10 9 import org.eclipse.emf.common.util.BasicDiagnostic; 11 10 import org.eclipse.emf.common.util.Diagnostic; … … 99 98 System.out.println(s); 100 99 101 try {102 FileUtils.writeStringToFile(new File(pathName), s);103 } catch (IOException e) {104 // TODO Auto-generated catch block105 e.printStackTrace();106 }100 // try { 101 //// FileUtils.writeStringToFile(new File(pathName), s); 102 // } catch (IOException e) { 103 // // TODO Auto-generated catch block 104 // e.printStackTrace(); 105 // } 107 106 Resource resource = null; 108 107 //Resource resource = loadResourceFromXtext(workspace, pathName, true);
Note: See TracChangeset
for help on using the changeset viewer.