зеркало из https://github.com/mozilla/pjs.git
build_with_ant
This commit is contained in:
Родитель
a8c45c3ea3
Коммит
d2aad95d6e
|
@ -1,2 +1,3 @@
|
|||
debug.jvm.args=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
|
||||
build.unix.classes=true
|
||||
build.home=/home/edburns/Projects/mozilla/NETSCAPE_7_0_RTM_RELEASE/mozilla/dist/classes
|
||||
|
|
|
@ -49,16 +49,10 @@
|
|||
<!-- Should Java compilations set the 'optimize' compiler option? -->
|
||||
<property name="compile.optimize" value="false"/>
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="dist.home" value="${myenv.MOZILLA_FIVE_HOME}/.."/>
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="build.home" value="${myenv.MOZILLA_FIVE_HOME}/../classes"/>
|
||||
|
||||
<!-- ************ Where are we building into? ***************************** -->
|
||||
|
||||
<target name="main"
|
||||
depends="external,util"/>
|
||||
depends="external,util,dom,webclient"/>
|
||||
|
||||
<target name="external">
|
||||
|
||||
|
@ -75,12 +69,40 @@
|
|||
|
||||
</target>
|
||||
|
||||
<target name="dom">
|
||||
|
||||
<exec os="Linux" dir="${basedir}/dom" executable="make"
|
||||
failonerror="yes">
|
||||
</exec>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="webclient">
|
||||
|
||||
<ant dir="${basedir}/webclient"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
|
||||
<delete dir="${build.home}/org/w3c"/>
|
||||
|
||||
<ant dir="${basedir}/util" target="clean"/>
|
||||
|
||||
<exec os="Linux" dir="${basedir}/dom" executable="make"
|
||||
failonerror="yes">
|
||||
<arg line="clean"/>
|
||||
</exec>
|
||||
|
||||
<ant dir="${basedir}/webclient" target="clean"/>
|
||||
|
||||
</target>
|
||||
|
||||
<ant dir="${basedir}/dist"/>
|
||||
|
||||
<target name="dist">
|
||||
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
<?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="20021002"/>
|
||||
|
||||
<!-- ************ 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"/>
|
||||
|
||||
<target name="main" depends="build.webclient"/>
|
||||
|
||||
<target name="build.webclient">
|
||||
|
||||
<mkdir dir="${package.home}"/>
|
||||
<mkdir dir="${package.lib}"/>
|
||||
<mkdir dir="${package.example}"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
|
||||
<delete dir="${package.home}"/>
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -1,17 +1,8 @@
|
|||
java/Makefile
|
||||
java/util/Makefile
|
||||
java/util/classes/Makefile
|
||||
java/build/Makefile
|
||||
java/dom/Makefile
|
||||
java/dom/classes/Makefile
|
||||
java/dom/jni/Makefile
|
||||
java/dom/src/Makefile
|
||||
java/xpcom/Makefile
|
||||
java/webclient/Makefile
|
||||
java/webclient/classes_spec/Makefile
|
||||
java/webclient/src_share/Makefile
|
||||
java/webclient/src_moz/Makefile
|
||||
java/webclient/src_moz/motif/Makefile
|
||||
java/pluggable-jvm/wf_moz6/Makefile
|
||||
java/pluggable-jvm/wf_moz6/public/Makefile
|
||||
java/pluggable-jvm/wf_moz6/src/Makefile
|
||||
|
|
|
@ -52,12 +52,6 @@
|
|||
|
||||
<!-- ************ Where are we building into? ***************************** -->
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="dist.home" value="${myenv.MOZILLA_FIVE_HOME}/.."/>
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="build.home" value="${myenv.MOZILLA_FIVE_HOME}/../classes"/>
|
||||
|
||||
<!-- The base directory for component sources -->
|
||||
<property name="source.home" value="${basedir}/classes"/>
|
||||
|
||||
|
|
|
@ -52,15 +52,12 @@
|
|||
|
||||
<!-- ************ Where are we building into? ***************************** -->
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="build.home" value="${myenv.MOZILLA_FIVE_HOME}/.."/>
|
||||
|
||||
<!-- The base directory for component sources -->
|
||||
<property name="source.home" value="${basedir}/classes_spec"/>
|
||||
|
||||
<!-- Construct compile classpath -->
|
||||
<path id="compile.classpath">
|
||||
<pathelement location="${build.home}/classes"/>
|
||||
<pathelement location="${build.home}"/>
|
||||
</path>
|
||||
|
||||
<target name="main"
|
||||
|
@ -68,7 +65,7 @@
|
|||
|
||||
<target name="compile.classes_spec">
|
||||
|
||||
<javac destdir="${build.home}/classes"
|
||||
<javac destdir="${build.home}"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
optimize="${compile.optimize}">
|
||||
|
@ -215,7 +212,7 @@
|
|||
<delete file="${basedir}/src_moz/gtk/GtkBrowserControlCanvas.h"/>
|
||||
|
||||
|
||||
<delete dir="${build.home}/classes/org/mozilla/webclient"/>
|
||||
<delete dir="${build.home}/org/mozilla/webclient"/>
|
||||
|
||||
</target>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче