Changeset 82 in default
- Timestamp:
- 06/25/14 13:06:59 (11 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/.classpath
r72 r82 3 3 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> 4 4 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> 5 <classpathentry kind="src" path="src"/>5 <classpathentry excluding="libs/" kind="src" path="src"/> 6 6 <classpathentry kind="src" path="src-gen"/> 7 7 <classpathentry kind="src" path="xtend-gen"/> 8 <classpathentry kind="src" path=" libs"/>9 <classpathentry kind="lib" path=" libs/avalon-framework-4.2.0.jar"/>10 <classpathentry kind="lib" path=" libs/batik-all-1.7.jar"/>11 <classpathentry kind="lib" path=" libs/commons-io-1.3.1.jar"/>12 <classpathentry kind="lib" path=" libs/commons-logging-1.0.4.jar"/>13 <classpathentry kind="lib" path=" libs/fop.jar"/>14 <classpathentry kind="lib" path=" libs/serializer-2.7.0.jar"/>15 <classpathentry kind="lib" path=" libs/xalan-2.7.0.jar"/>16 <classpathentry kind="lib" path=" libs/xercesImpl-2.7.1.jar"/>17 <classpathentry kind="lib" path=" libs/xml-apis-1.3.04.jar"/>18 <classpathentry kind="lib" path=" libs/xml-apis-ext-1.3.04.jar"/>19 <classpathentry kind="lib" path=" libs/xmlgraphics-commons-1.5.jar"/>8 <classpathentry kind="src" path="src/libs"/> 9 <classpathentry kind="lib" path="src/libs/avalon-framework-4.2.0.jar"/> 10 <classpathentry kind="lib" path="src/libs/batik-all-1.7.jar"/> 11 <classpathentry kind="lib" path="src/libs/commons-io-1.3.1.jar"/> 12 <classpathentry kind="lib" path="src/libs/commons-logging-1.0.4.jar"/> 13 <classpathentry kind="lib" path="src/libs/fop.jar"/> 14 <classpathentry kind="lib" path="src/libs/serializer-2.7.0.jar"/> 15 <classpathentry kind="lib" path="src/libs/xalan-2.7.0.jar"/> 16 <classpathentry kind="lib" path="src/libs/xercesImpl-2.7.1.jar"/> 17 <classpathentry kind="lib" path="src/libs/xml-apis-1.3.04.jar"/> 18 <classpathentry kind="lib" path="src/libs/xml-apis-ext-1.3.04.jar"/> 19 <classpathentry kind="lib" path="src/libs/xmlgraphics-commons-1.5.jar"/> 20 20 <classpathentry kind="output" path="bin"/> 21 21 </classpath> -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/META-INF/MANIFEST.MF
r72 r82 21 21 org.eclipse.core.resources, 22 22 org.eclipse.core.runtime;version="3.4.0", 23 org.eclipse.xtext.xbase.lib 23 org.eclipse.xtext.xbase.lib 24 24 Bundle-RequiredExecutionEnvironment: J2SE-1.5 25 25 Export-Package: de.ugoe.cs.swe.bnftools;uses:="org.eclipse.xtext,org.eclipse.xtext.service,com.google.inject", 26 26 de.ugoe.cs.swe.bnftools.ebnf;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util", 27 de.ugoe.cs.swe.bnftools.ebnf.impl; 28 uses:="org.eclipse.emf.ecore, 29 de.ugoe.cs.swe.bnftools.ebnf, 30 org.eclipse.emf.common.util, 31 org.eclipse.emf.ecore.impl, 32 org.eclipse.emf.common.notify", 33 de.ugoe.cs.swe.bnftools.ebnf.util; 34 uses:="org.eclipse.emf.ecore.util, 35 org.eclipse.emf.ecore, 36 org.eclipse.emf.common.notify.impl, 37 de.ugoe.cs.swe.bnftools.ebnf, 38 org.eclipse.emf.common.notify", 27 de.ugoe.cs.swe.bnftools.ebnf.impl; uses:="org.eclipse.emf.ecore, de.ugoe.cs.swe.bnftools.ebnf, org.eclipse.emf.common.util, org.eclipse.emf.ecore.impl, org.eclipse.emf.common.notify", 28 de.ugoe.cs.swe.bnftools.ebnf.util; uses:="org.eclipse.emf.ecore.util, org.eclipse.emf.ecore, org.eclipse.emf.common.notify.impl, de.ugoe.cs.swe.bnftools.ebnf, org.eclipse.emf.common.notify", 39 29 de.ugoe.cs.swe.bnftools.formatting;uses:="org.eclipse.xtext.formatting.impl", 40 30 de.ugoe.cs.swe.bnftools.generator;uses:="org.eclipse.emf.ecore.resource,de.ugoe.cs.swe.bnftools.ebnf,org.eclipse.xtext.generator", 41 31 de.ugoe.cs.swe.bnftools.parser.antlr;uses:="de.ugoe.cs.swe.bnftools.services,org.eclipse.xtext.parser.antlr,de.ugoe.cs.swe.bnftools.parser.antlr.internal", 42 de.ugoe.cs.swe.bnftools.parser.antlr.internal; 43 uses:="org.eclipse.emf.ecore, 44 de.ugoe.cs.swe.bnftools.services, 45 org.antlr.runtime, 46 org.eclipse.xtext.parser.antlr", 32 de.ugoe.cs.swe.bnftools.parser.antlr.internal; uses:="org.eclipse.emf.ecore, de.ugoe.cs.swe.bnftools.services, org.antlr.runtime, org.eclipse.xtext.parser.antlr", 47 33 de.ugoe.cs.swe.bnftools.scoping;uses:="org.eclipse.xtext.scoping.impl", 48 de.ugoe.cs.swe.bnftools.serializer; 49 uses:="org.eclipse.xtext, 50 org.eclipse.emf.ecore, 51 org.eclipse.xtext.serializer.sequencer, 52 de.ugoe.cs.swe.bnftools.services, 53 de.ugoe.cs.swe.bnftools.ebnf, 54 org.eclipse.xtext.serializer.analysis, 55 org.eclipse.xtext.nodemodel", 34 de.ugoe.cs.swe.bnftools.serializer; uses:="org.eclipse.xtext, org.eclipse.emf.ecore, org.eclipse.xtext.serializer.sequencer, de.ugoe.cs.swe.bnftools.services, de.ugoe.cs.swe.bnftools.ebnf, org.eclipse.xtext.serializer.analysis, org.eclipse.xtext.nodemodel", 56 35 de.ugoe.cs.swe.bnftools.services;uses:="org.eclipse.xtext,org.eclipse.xtext.service", 57 36 de.ugoe.cs.swe.bnftools.validation;uses:="de.ugoe.cs.swe.bnftools.ebnf" 37 Bundle-ClassPath: .,src/libs/avalon-framework-4.2.0.jar,src/libs/batik-all-1.7.jar,src/libs/commons-io-1.3.1.jar,src/libs/commons-logging-1.0.4.jar,src/libs/fop.jar,src/libs/serializer-2.7.0.jar,src/libs/xalan-2.7.0.jar,src/libs/xercesImpl-2.7.1.jar,src/libs/xml-apis-1.3.04.jar,src/libs/xml-apis-ext-1.3.04.jar,src/libs/xmlgraphics-commons-1.5.jar -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/build.properties
r78 r82 1 1 2 source.. = src/,\ 2 3 src-gen/,\ 3 4 xtend-gen/,\ 4 libs/ 5 bin.includes = META-INF/,\ 6 .,\ 7 plugin.xml 5 src/libs/ 6 7 bin.includes = model/,\ 8 META-INF/,\ 9 plugin.xml,\ 10 src/libs/avalon-framework-4.2.0.jar,\ 11 src/libs/batik-all-1.7.jar,\ 12 src/libs/commons-io-1.3.1.jar,\ 13 src/libs/commons-logging-1.0.4.jar,\ 14 src/libs/fop.jar,\ 15 src/libs/serializer-2.7.0.jar,\ 16 src/libs/xalan-2.7.0.jar,\ 17 src/libs/xercesImpl-2.7.1.jar,\ 18 src/libs/xml-apis-1.3.04.jar,\ 19 src/libs/xml-apis-ext-1.3.04.jar,\ 20 src/libs/xmlgraphics-commons-1.5.jar 21 -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSyntacticSequencer.java
r72 r82 76 76 * Syntax: 77 77 * ( 78 '|' | 78 79 ']' | 79 '|' | 80 '[' | 81 ')' | 80 82 '(' | 83 '+' | 84 '{' | 81 85 '*' | 82 '+' | 83 '}' | 84 '{' | 85 '[' | 86 ')' 86 '}' 87 87 )* 88 88 */ -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/EbnfGenerator.xtend
r72 r82 42 42 var uri = (fsa as IFileSystemAccessExtension2).getURI(e.name + ".fo"); 43 43 var String fullUri = workspacePath + uri.path.substring(10, uri.path.length); 44 System.out.println(workspacePath + uri.path.substring(10, uri.path.length));45 44 var File file = new File(fullUri); 46 System.out.println(file.exists+ "," + fullUri.substring(0, fullUri.length - 3));47 45 48 46 if (file.exists) { 47 49 48 foToPdf.createPdfFromFo(fullUri.substring(0, fullUri.length - 3)); 49 // fsa.deleteFile(e.name + ".fo"); 50 50 } 51 51 } -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/foToPdf.java
r72 r82 40 40 41 41 // Step 2: Set up output stream. 42 OutputStream out = new BufferedOutputStream(new FileOutputStream(new File(pdfFileName+". pdf")));42 OutputStream out = new BufferedOutputStream(new FileOutputStream(new File(pdfFileName+".rtf"))); 43 43 44 44 try { 45 45 // Step 3: Construct fop with desired output format 46 Fop fop = fopFactory.newFop(MimeConstants.MIME_ PDF, out);46 Fop fop = fopFactory.newFop(MimeConstants.MIME_RTF, out); 47 47 48 48 // Step 4: Setup JAXP using identity transformer
Note: See TracChangeset
for help on using the changeset viewer.