Re: Luxilla Site Now Live

Anakreon Mejdi <[email protected]> Wed, 20 Aug 2003 11:28:00 +0300
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Gerald Bauer wrote:
> Hi,
> 
>   I finally got around to put together a front page
> for Luxilla at the sourceforge site over @
> http://luxilla.sourceforge.net
> 
>   In case you wondered "What is Luxilla?" let me quote
> from the front page:
> 
>   Luxilla is a "runtime" that turns Luxor XUL markup
> into live windows, dialogs, menus, toolbars and more
> without requiring a single-line of Java code. Pass on
> the chrome folder holding your XUL markup to Luxilla
> and see the XUL markup come to life. Example:
>  
>   java luxilla
> c:/sandbox/luxilla/src/samples/chrome-calc
> 
>   That's it.
> 
>   - Gerald
I made some modification so luxilla can reload the xul files
if any of them has changed.


The files are attached in the mail and where produced with diff -u

Also updated the jar task to avoid the setenv batch file.
diff.tar.gz (application/x-compressed, 1.4 KB) - not displayed
build.xml (text/xml, 2.8 KB)
<?xml version="1.0"?>

<!-- ======================================================================= -->
<!-- Luxilla Build Script                                                    -->
<!-- ======================================================================= -->

<project name="luxilla" default="jar" basedir="..">
 
  <property name="name"    value="luxilla" />
  <property name="version" value="1.0-b8" />
  <property name="build.dir" value="build" />
  <property name="src.dir" value="src" />
  <property name="build.classes.dir" value="${build.dir}/classes" />
  <property name="build.bin.dir" value="." />
  
  
  <!-- =================================================================== -->
  <!-- Compiles the source code                                            -->
  <!-- =================================================================== -->
  <target name="compile">
    
       <mkdir dir="${build.classes.dir}" />

       <javac
            srcdir     = "${src.dir}"
            destdir    = "${build.classes.dir}"
            debug="on"
            deprecation="off"
            optimize="off" >

            <classpath>               
               <pathelement location="${houston.jar}" />
	       <pathelement location="${apollo.jar}" />
	       <pathelement location="${caramel.jar}" />
	       <pathelement location="${rachel.jar}" />
	       <pathelement location="${cypress.jar}" />
               <pathelement location="${salsa.jar}" />
               <pathelement location="${luxor.jar}" />
	       <pathelement location="${jdom.jar}" />
            </classpath>

            <include name="luxor/**" />
            <include name="luxilla.java" />
       </javac>

  </target>


  <!-- =================================================================== -->
  <!-- Creates the jar archive                                             -->
  <!-- =================================================================== -->

  <target name="jar" depends="compile">

    <mkdir dir="${build.bin.dir}"/>

    <tstamp>
      <format property="build.date" pattern="MMM-dd-yyyy" />
    </tstamp>

    <jar jarfile="${build.bin.dir}/luxilla-${version}.jar"
         basedir="${build.classes.dir}"
         compress="true"
         includes="luxor/**,luxilla.class">
	 <manifest>
	    <attribute name="Build-Date" value="${build.date}" />
	    <attribute name="Version" value="${version}" />
      <attribute name="Class-Path" 
      value="lib/luxor-1.0-b8.jar lib/rachel-2.0-b2.jar lib/salsa-1.0-b1.jar lib/houston-1.0-b1.jar lib/caramel-1.0-b1.jar lib/apollo-1.0-b1.jar lib/cypress-1.0-b1.jar lib/jdom-1.0-b8.jar lib/velocity-1.3-rc1.jar lib/collections-2.0.jar lib/saxpath-1.0.jar lib/jaxen-1.0.jar"/>
      <attribute name="Main-Class" value="luxor.runner.Tool" />
	 </manifest>
    </jar>
 
  </target>


</project>