Changeset 69 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf
- Timestamp:
- 05/26/14 11:48:28 (11 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/.classpath
r61 r69 6 6 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> 7 7 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> 8 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/avalon-framework-4.2.0.jar"/> 9 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/batik-all-1.7.jar"/> 10 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/commons-io-1.3.1.jar"/> 11 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/commons-logging-1.0.4.jar"/> 12 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/serializer-2.7.0.jar"/> 13 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/xalan-2.7.0.jar"/> 14 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/xercesImpl-2.7.1.jar"/> 15 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/xml-apis-1.3.04.jar"/> 16 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/xml-apis-ext-1.3.04.jar"/> 17 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/lib/xmlgraphics-commons-1.5.jar"/> 18 <classpathentry kind="lib" path="C:/Users/hauke/Desktop/Uni/Hiwijob bnf tools/fop-1.1/build/fop.jar"/> 8 19 <classpathentry kind="output" path="bin"/> 9 20 </classpath> -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/EbnfGenerator.xtend
r65 r69 20 20 import de.ugoe.cs.swe.bnftools.ebnf.StringRule 21 21 import java.io.File 22 import org.eclipse.xtext.generator.IFileSystemAccessExtension2 23 import org.eclipse.emf.common.util.URI; 22 24 23 25 /** … … 32 34 if (e.bnfEntry.size!=0) { 33 35 fsa.generateFile(e.name + ".fo", e.compile) 36 37 //generate pdf 38 // var uri = (fsa as IFileSystemAccessExtension2).getURI(e.name+".fo"); 39 // (fsa as IFileSystemAccessExtension2). 40 // 41 // System.out.println(uri.hasAbsolutePath()); 42 // System.out.println(uri.path.substring(0,uri.path.length-3)); 43 // System.out.println(uri.file); 44 // System.out.println(uri.toString()); 45 // var File file = new File(uri.path).absoluteFile; 46 // System.out.println(file.exists); 47 // var String aPath = file.absolutePath; 48 // 49 // foToPdf.createPdfFromFo(file,aPath.substring(0,aPath.length-3)); 34 50 } 35 51 }
Note: See TracChangeset
for help on using the changeset viewer.