96 lines
2.8 KiB
XML
96 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
|
|
* Ed Burns >edburns@acm.org<
|
|
|
|
|
|
-->
|
|
|
|
<project name="java.supplement.build" default="main" basedir=".">
|
|
|
|
<property name="Name" value="java.supplement.build"/>
|
|
<property name="name" value="java.supplement.build"/>
|
|
<property name="version" value="20021109"/>
|
|
|
|
<!-- ************ Per user local properties ******************************* -->
|
|
|
|
<property file="${user.home}/build.properties"/> <!-- User local -->
|
|
<property file="../build.properties"/> <!-- Component local -->
|
|
<property environment="myenv" />
|
|
|
|
<property name="package.home" value="${build.home}/../javadev"/>
|
|
<property name="package.lib" value="${package.home}/lib"/>
|
|
<property name="package.example" value="${package.home}/example"/>
|
|
<property name="package.manifest" value="${build.home}/META-INF/MANIFEST.MF"/>
|
|
<property name="package.version" value="1_3"/>
|
|
|
|
<target name="main" depends="prepare,build.webclient"/>
|
|
|
|
<target name="prepare">
|
|
|
|
<condition property="short.os.name" value="win32">
|
|
<os family="dos" />
|
|
</condition>
|
|
|
|
<mkdir dir="${package.home}"/>
|
|
<mkdir dir="${package.lib}"/>
|
|
<mkdir dir="${package.example}"/>
|
|
<mkdir dir="${build.home}/META-INF"/>
|
|
|
|
</target>
|
|
|
|
<target name="build.webclient"
|
|
depends="create.webclient.manifest,build.webclient.jar">
|
|
|
|
</target>
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="${package.home}"/>
|
|
<delete dir="${build.home}/META-INF"/>
|
|
|
|
</target>
|
|
|
|
<target name="create.webclient.manifest">
|
|
|
|
<echo file="${package.manifest}">Manifest-Version: 1.0
|
|
Created-By: Webclient Build System
|
|
Specification-Title: Webclient
|
|
Specification-Version: 1.0
|
|
Specification-Vendor: mozilla.org
|
|
Implementation-Title: Webclient_mozilla
|
|
Implementation-Version: ${package.version}
|
|
Implementation-Vendor: mozilla.org
|
|
</echo>
|
|
|
|
</target>
|
|
|
|
<target name="build.webclient.jar">
|
|
|
|
<jar jarfile="${package.lib}/webclient_${package.version}_${short.os.name}.jar"
|
|
basedir="${build.home}" manifest="${package.manifest}"/>
|
|
|
|
</target>
|
|
|
|
</project>
|