Hi, I use the following ant snippet for my compiling:
<target name="compile" description="Compile some file to SWF">
<echo message="Compiling ${file}"/>
<echo message="arg: ${lzc.args} ${file}"/>
<echo message="Using LPS_HOME: ${openlaszlo.home}"/>
<java classpathref="laszlo.compiler.classpath"
classname="org.openlaszlo.compiler.Main"
fork="yes">
<jvmarg value="-DLPS_HOME=${openlaszlo.home}"/>
<jvmarg value="-Xmx256m"/>
<arg line="${lzc.args} ${file}"/>
</java>
</target>
However, I've found that the output from this isn't table to handle there
being no server, and so it gets quite confused. I can change this by using
the 'proxied="false"' attribute in the canvas tag, but sometimes I want it to
be proxied, so this shouldn't be specified in the code. How can I tell the
compiler to spit out a solo version? lzc --help doesn't explain how, either.
Cheers, Robin.