make/build.xml

changeset 161
af6fc67aa73d
parent 155
704f3083af8a
child 273
98798a6336de
     1.1 --- a/make/build.xml	Sun Mar 31 08:19:11 2013 -0300
     1.2 +++ b/make/build.xml	Tue Apr 02 11:37:22 2013 -0300
     1.3 @@ -139,6 +139,31 @@
     1.4        </manifest>
     1.5      </jar>
     1.6    </target>
     1.7 +  
     1.8 +  <target name="build-fxshell" depends="jar">
     1.9 +    <description>Builds the javafx shell.</description>
    1.10 +    <mkdir dir="${fxshell.classes.dir}"/>
    1.11 +    <javac srcdir="${fxshell.dir}"
    1.12 +           destdir="${fxshell.classes.dir}"
    1.13 +           classpath="${dist.jar}:${javac.classpath}"
    1.14 +           debug="${javac.debug}"
    1.15 +           encoding="${javac.encoding}"
    1.16 +           includeantruntime="false">
    1.17 +    </javac>
    1.18 +    <jar jarfile="${fxshell.jar}" manifest="${meta.inf.dir}/MANIFEST.MF" index="true" filesetmanifest="merge">
    1.19 +      <fileset dir="${fxshell.classes.dir}"/>
    1.20 +      <manifest>
    1.21 +        <attribute name="Archiver-Version" value="n/a"/>
    1.22 +        <attribute name="Build-Jdk" value="${java.runtime.version}"/>
    1.23 +        <attribute name="Built-By" value="n/a"/>
    1.24 +        <attribute name="Created-By" value="Ant jar task"/>
    1.25 +        <section name="jdk/nashorn/">
    1.26 +          <attribute name="Implementation-Title" value="Oracle Nashorn FXShell"/>
    1.27 +          <attribute name="Implementation-Version" value="${nashorn.version}"/>
    1.28 +        </section>
    1.29 +      </manifest>
    1.30 +    </jar>
    1.31 +  </target>
    1.32  
    1.33    <target name="javadoc" depends="prepare">
    1.34      <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true">

mercurial