If you do that, then maybe you can make the LFC depend on the jar?

On 2006-06-11, at 19:59 EDT, Benjamin Shine wrote:

> Tucker:
> If you want to get rid of this happening on every "ant make"
> compile:
>     [javac] Compiling 5 source files to /home/ben/src/svn/ 
> openlaszlo/trunk/WEB-INF/lps/server/build
>       [jar] Building jar: /home/ben/src/svn/openlaszlo/trunk/WEB- 
> INF/lps/server/lib/lps-3.3.x.jar
>
>
> apply this diff to the server's build.xml... but it seems rather  
> complicated for the small win it gets us.
>
> Index: WEB-INF/lps/server/build.xml
> ===================================================================
> --- WEB-INF/lps/server/build.xml        (revision 872)
> +++ WEB-INF/lps/server/build.xml        (working copy)
> @@ -148,6 +148,25 @@
>      </and>
>    </condition>
>
> +  <uptodate property="compiler.uptodate" targetfile="${LPS_JAR}">
> +    <srcfiles dir="${src}">
> +          <include name="org/openlaszlo/**" />
> +          <!-- yes the jjt sources -->
> +          <include name="org/openlaszlo/sc/parser/**" />
> +          <!-- Parts of JGenerator 1.4 that we don't yet need -->
> +          <!-- and don't compile easily without more external jars  
> -->
> +          <exclude name="org/openlaszlo/iv/flash/commands/ 
> FOPCommand" />
> +          <exclude name="org/openlaszlo/iv/flash/xml/**" />
> +          <exclude name="org/openlaszlo/iv/flash/js/**" />
> +          <exclude name="org/openlaszlo/iv/flash/url/JSUrl.*" />
> +          <exclude name="org/openlaszlo/iv/flash/**/*Test.*" />
> +          <exclude name="org/openlaszlo/iv/flash/context/**" />
> +          <exclude name="org/openlaszlo/iv/flash/fop/ 
> SWFRenderer.*" />
> +     </srcfiles>
> +     <srcfiles dir="${jgen.src}" />
> +     <srcfiles dir="${jjt.src}" />
> +     <srcfiles file="${properties.file}" />
> +  </uptodate>
>      <property name="done.server.init" value="true" />
>    </target>
> @@ -290,7 +309,8 @@
>    <!-- jar up classes an place them in ${lib}            -->
>    <target name="compile"
>        depends="init,lps-xml,css-parser,sc-parser,sc-compiler"
> -      description="Compile java code and jar classes into ${lib}">
> +      description="Compile java code and jar classes into ${lib}"
> +      unless="compiler.uptodate">
>      <javac classpathref="3rd.party.classpath"
>             srcdir="${java.1.3.srcs}"
>
> benjamin shine
> software engineer
> [EMAIL PROTECTED]
>
>
>

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to