I seem to have the sc-compiler dependencies wrong, because it runs
the sc-compiler target every time.
Here's the dependency:
<uptodate property="sc-compiler.uptodate"
targetfile="${sc.build.java}/LFCCompiler.java">
<srcfiles dir="${sc.src.py}" includes="*.py"
excludes="test*.py,jsdoc2xml.py,xmldocutils.py"/>
</uptodate>
That dependency says, sc-compiler is uptodate if the targetfile has
been modified after the srcfiles.
<target name="sc-compiler" depends="init"
unless="options.sc.skip,sc-compiler.uptodate"
description="Run jythonc to create *.java files.">
<mkdir dir="${sc.build.java}"/>
<exec executable="${jython}" dir="${sc.src.py}"
failonerror="true" >
<arg value="${LPS_HOME}/3rd-party/tools/jythonc/
jythonc.py"/>
<arg line="--package org.openlaszlo.sc"/>
<arg line="--workdir ../${build.java}"/>
<arg value="--deep"/>
<arg line="--compiler NONE"/>
<arg value="parseinstructions"/>
<arg value="LFCCompiler"/>
<arg value="Regenerator"/>
</exec>
</target>
but it looks to me like what we get are .class files, not .java files.
Tucker, in plain english, what should the up to date check be for the
sc-compiler target?
benjamin shine
software engineer
[EMAIL PROTECTED]
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev