]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/GenerateParser.xml
Restricted version of imported ANTLR packages, compile with 3.5.2
[simantics/platform.git] / bundles / org.simantics.graph.compiler / GenerateParser.xml
diff --git a/bundles/org.simantics.graph.compiler/GenerateParser.xml b/bundles/org.simantics.graph.compiler/GenerateParser.xml
new file mode 100644 (file)
index 0000000..c80b4c2
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+    <property name="parser.dir" value="src/org/simantics/graph/compiler/internal/parsing" />
+    
+    <target name="compile">
+        <java jar="tools/antlr-3.5.2-complete.jar" fork="true" failonerror="true">
+            <arg line="${parser.dir}/Graph.g -o ${parser.dir}"/>
+        </java>
+    </target>
+</project>
\ No newline at end of file