Permalink
Browse files

Remove a ton of cruft in favor of the much simpler techniques invente…

…d by github user kazimuth.
  • Loading branch information...
1 parent fcc923b commit 7871d36e74985c3d765253da2a541845cf7e00f8 @jdf committed Dec 23, 2013
View
@@ -2,7 +2,6 @@
<classpath>
<classpathentry kind="src" path="runtime/src"/>
<classpathentry kind="src" path="testing/src"/>
- <classpathentry kind="src" path="runtime/generated"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="buildtime/lib/jython/jython.jar" sourcepath="buildtime/lib/jython/jython-2.5.3-sources.jar"/>
View
@@ -1,3 +1,5 @@
[submodule "externals/processing"]
path = externals/processing
url = git@github.com:processing/processing.git
+ ignore = dirty
+
View
@@ -65,11 +65,10 @@
</jar>
</target>
- <target name="build" depends="generate-driver,build-processing">
+ <target name="build" depends="build-processing">
<mkdir dir="bin"/>
<javac destdir="bin" includeantruntime="false">
<src path="runtime/src"/>
- <src path="runtime/generated"/>
<classpath>
<pathelement location="${jython}"/>
<pathelement location="${corejar}"/>
@@ -109,27 +108,6 @@
<ant dir="externals/processing/build" target="build"/>
</target>
- <target name="check-driver-required">
- <uptodate property="driver-is-generated"
- srcfile="buildtime/template/DriverImpl.java.cog"
- targetfile="runtime/generated/jycessing/DriverImpl.java"/>
- </target>
- <target name="generate-driver"
- depends="check-driver-required,build-processing"
- unless="driver-is-generated"
- description="Generate DriverImpl class">
- <java
- classpath="${jython}:${corejar}:${joglall}:${gluegenrt}"
- classname="org.python.util.jython"
- fork="true">
- <arg value="buildtime/py/cog.py"/>
- <arg value="-U"/>
- <arg value="-o"/>
- <arg value="runtime/generated/jycessing/DriverImpl.java"/>
- <arg value="buildtime/template/DriverImpl.java.cog"/>
- </java>
- </target>
-
<target name="clean">
<ant dir="externals/processing/build" target="clean"/>
<rm-rf target="bin"/>
@@ -140,9 +118,6 @@
<delete>
<fileset dir="buildtime/py" includes="*.class"/>
</delete>
- <delete>
- <fileset dir="buildtime/lib/jython/Lib/cogapp" includes="*.class"/>
- </delete>
<exec executable="find" failonerror="true">
<arg line=". -name .DS_Store -depth -exec rm {} ;"/>
</exec>
@@ -1,7 +0,0 @@
-""" Cog code generation tool.
- http://nedbatchelder.com/code/cog
-
- Copyright 2004-2005, Ned Batchelder.
-"""
-
-from cogapp import *
Oops, something went wrong.

0 comments on commit 7871d36

Please sign in to comment.