Changeset 68 in default for trunk/de.ugoe.cs.swe.bnftools.xtools
- Timestamp:
- 05/21/14 10:20:09 (10 years ago)
- Location:
- trunk/de.ugoe.cs.swe.bnftools.xtools
- Files:
-
- 11 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.bnftools.xtools/META-INF/MANIFEST.MF
r58 r68 12 12 Bundle-RequiredExecutionEnvironment: JavaSE-1.7 13 13 Bundle-ActivationPolicy: lazy 14 Import-Package: org.apache.commons.io;version="2.0.1"15 14 Export-Package: app, 16 15 resource.tools.xtools -
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.