2004-09-29 23:53:55 +04:00
|
|
|
<?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<
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<project name="webclient" default="release" basedir=".">
|
2004-09-29 23:53:55 +04:00
|
|
|
|
|
|
|
<property name="Name" value="webclient"/>
|
|
|
|
<property name="name" value="webclient"/>
|
2007-02-27 07:47:59 +03:00
|
|
|
<property name="major.version" value="2" />
|
|
|
|
<property name="minor.version" value="0" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<property name="release.version" value="a8" />
|
|
|
|
<property name="release.version.full" value="alpha_8" />
|
2007-02-27 07:47:59 +03:00
|
|
|
<property name="version"
|
|
|
|
value="${major.version}_${minor.version}_${release.version}"/>
|
|
|
|
<property name="full.version" value="${major.version}_${minor.version}_${release.version.full}"/>
|
2007-05-04 21:10:35 +04:00
|
|
|
<property name="snapshot" value="-SNAPSHOT" />
|
2004-09-29 23:53:55 +04:00
|
|
|
|
|
|
|
<!-- ************ Per user local properties ******************************* -->
|
|
|
|
|
|
|
|
<property file="${user.home}/build.properties"/> <!-- User local -->
|
|
|
|
<property file="build.properties"/> <!-- Component local -->
|
|
|
|
<property file="../build.properties"/> <!-- java-supplement local -->
|
|
|
|
<property environment="myenv" />
|
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<property name="dist.home" value="${objdir}/${name}" />
|
2005-03-15 05:49:16 +03:00
|
|
|
<property name="dist.javadocs" value="${dist.home}/javadocs" />
|
2004-10-10 07:38:04 +04:00
|
|
|
<property name="source.home" value="${basedir}/.." />
|
2007-02-16 22:57:59 +03:00
|
|
|
<property name="moz.dist" value="${objdir}/dist" />
|
|
|
|
<property name="dist.classes" value="${moz.dist}/classes" />
|
2005-03-15 05:49:16 +03:00
|
|
|
<property name="javadoc.private" value="false"/>
|
|
|
|
<property name="javadoc.protected" value="true"/>
|
2007-02-16 22:57:59 +03:00
|
|
|
<property name="dist.jar" value="${dist.home}/lib/${name}-${version}.jar"/>
|
2005-03-15 05:49:16 +03:00
|
|
|
|
2007-05-04 21:10:35 +04:00
|
|
|
<target name="release"
|
|
|
|
description="Build a Webclient Release">
|
2005-03-15 05:49:16 +03:00
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<antcall target="prepare" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<antcall target="uptodate" />
|
2007-02-16 22:57:59 +03:00
|
|
|
<antcall target="compile.all" />
|
|
|
|
<antcall target="build.dist.jar" />
|
|
|
|
<antcall target="copy.binaries" />
|
2007-02-23 19:40:14 +03:00
|
|
|
<antcall target="copy.test.src" />
|
2007-03-05 19:35:47 +03:00
|
|
|
<antcall target="copy.core.src" />
|
2007-02-19 21:32:42 +03:00
|
|
|
<antcall target="copy.build.support" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<antcall target="copy.release.notes" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<antcall target="build.javadocs" />
|
|
|
|
<antcall target="build.zip" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build.zip">
|
|
|
|
<condition property="platform" value="win32">
|
|
|
|
<and>
|
|
|
|
<os family="windows" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
2007-05-24 08:16:59 +04:00
|
|
|
<condition property="platform" value="macosx-ppc">
|
|
|
|
<and>
|
|
|
|
<os name="Mac OS X" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
|
2007-02-23 20:32:11 +03:00
|
|
|
<condition property="platform" value="linux">
|
|
|
|
<and>
|
|
|
|
<os family="unix" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
2007-02-16 22:57:59 +03:00
|
|
|
|
2007-02-23 20:32:11 +03:00
|
|
|
<zip destfile="${objdir}/${name}_${version}_${platform}.zip"
|
|
|
|
basedir="${dist.home}" />
|
2007-02-16 22:57:59 +03:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean">
|
2007-02-23 20:32:11 +03:00
|
|
|
<delete file="${objdir}/${name}_${version}_${platform}.zip" />
|
2007-02-16 22:57:59 +03:00
|
|
|
<delete dir="${dist.home}" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="prepare">
|
|
|
|
<mkdir dir="${dist.home}" />
|
|
|
|
<mkdir dir="${dist.home}/lib" />
|
|
|
|
<mkdir dir="${dist.home}/bin" />
|
|
|
|
<mkdir dir="${dist.home}/javadocs" />
|
2007-02-23 19:40:14 +03:00
|
|
|
<mkdir dir="${dist.home}/test" />
|
2007-03-05 19:35:47 +03:00
|
|
|
<mkdir dir="${dist.home}/src" />
|
2004-09-29 23:53:55 +04:00
|
|
|
|
2007-05-24 08:16:59 +04:00
|
|
|
<!-- the shared object library prefix -->
|
|
|
|
|
2004-09-29 23:53:55 +04:00
|
|
|
<condition property="so.prefix" value="">
|
|
|
|
<and>
|
|
|
|
<os family="windows" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="so.prefix" value="lib">
|
|
|
|
<and>
|
|
|
|
<os family="unix" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
2007-05-24 08:16:59 +04:00
|
|
|
<!-- the jni shared object library extension -->
|
|
|
|
|
|
|
|
<condition property="jni.extension" value="jnilib">
|
|
|
|
<and>
|
|
|
|
<os name="Mac OS X" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="jni.extension" value="dll">
|
|
|
|
<and>
|
|
|
|
<os family="windows" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="jni.extension" value="so">
|
|
|
|
<and>
|
|
|
|
<os family="unix" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<!-- the shared object library extension -->
|
|
|
|
|
|
|
|
<condition property="so.extension" value="dylib">
|
|
|
|
<and>
|
|
|
|
<os name="Mac OS X" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
2004-09-29 23:53:55 +04:00
|
|
|
<condition property="so.extension" value="dll">
|
|
|
|
<and>
|
|
|
|
<os family="windows" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="so.extension" value="so">
|
|
|
|
<and>
|
|
|
|
<os family="unix" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
2004-10-15 20:39:07 +04:00
|
|
|
<condition property="platform" value="win32">
|
|
|
|
<and>
|
|
|
|
<os family="windows" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="platform" value="linux">
|
|
|
|
<and>
|
|
|
|
<os family="unix" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
2005-03-15 05:49:16 +03:00
|
|
|
|
2007-05-24 08:16:59 +04:00
|
|
|
<condition property="platform" value="darwin-ppc">
|
|
|
|
<and>
|
|
|
|
<os name="Mac OS X" />
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
|
2007-05-04 21:10:35 +04:00
|
|
|
<condition property="has.mozdocdir">
|
|
|
|
<available file="${mozdocdir}" />
|
|
|
|
</condition>
|
|
|
|
|
2005-03-15 05:49:16 +03:00
|
|
|
</target>
|
|
|
|
|
2004-10-15 20:39:07 +04:00
|
|
|
|
2007-02-23 20:32:11 +03:00
|
|
|
<target name="uptodate">
|
2007-02-16 22:57:59 +03:00
|
|
|
<uptodate property="core.java.classes.uptodate"
|
|
|
|
targetfile="${dist.jar}">
|
|
|
|
<srcfiles dir="${dist.classes}" />
|
|
|
|
</uptodate>
|
2007-02-19 21:32:42 +03:00
|
|
|
<echo message="java classes up to date: ${core.java.classes.uptodate}" />
|
2007-02-23 20:32:11 +03:00
|
|
|
|
|
|
|
<uptodate property="javadocs.uptodate"
|
|
|
|
targetfile="${dist.javadocs}/index.html" >
|
|
|
|
<srcfiles dir= "${source.home}">
|
|
|
|
<include name="**/webclient/classes_spec/**/*.java" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<include name="**/webclient/webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java" />
|
|
|
|
<include name="**/webclient/webclient/test/automated/src/classes/org/mozilla/webclient/CompareFiles.java" />
|
|
|
|
<include name="**/webclient/webclient/test/automated/src/classes/org/mozilla/webclient/TestLogStrings.properties" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<include name="**/util/classes/**/*.java" />
|
|
|
|
<include name="**/dom/classes/**/*.java" />
|
|
|
|
</srcfiles>
|
2007-05-04 21:10:35 +04:00
|
|
|
|
2007-02-23 20:32:11 +03:00
|
|
|
</uptodate>
|
|
|
|
<echo message="javadoc up to date: ${javadocs.uptodate}" />
|
|
|
|
|
2004-09-29 23:53:55 +04:00
|
|
|
</target>
|
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<target name="build.dist.jar">
|
|
|
|
<jar jarfile="${dist.jar}" >
|
2004-09-29 23:53:55 +04:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="${Name}"/>
|
2007-05-04 21:10:35 +04:00
|
|
|
<attribute name="Specification-Version" value="${major.version}.${minor.version}"/>
|
2004-09-29 23:53:55 +04:00
|
|
|
<attribute name="Implementation-Title" value="'${name}': ${Name}"/>
|
|
|
|
<attribute name="Implementation-Version" value="${version}"/>
|
|
|
|
<attribute name="Implementation-Vendor" value="mozilla.org"/>
|
|
|
|
<attribute name="Implementation-Vendor-Id" value="org.mozilla"/>
|
|
|
|
<attribute name="Extension-Name" value="org.mozilla.webclient"/>
|
|
|
|
</manifest>
|
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<fileset dir="${dist.classes}"
|
2007-05-04 21:10:35 +04:00
|
|
|
excludes="**/test/**">
|
|
|
|
</fileset>
|
2004-09-29 23:53:55 +04:00
|
|
|
</jar>
|
2004-10-10 07:38:04 +04:00
|
|
|
</target>
|
|
|
|
|
2007-05-04 21:10:35 +04:00
|
|
|
<target name="edburns.compile">
|
|
|
|
<ant inheritAll="false" dir="${source.home}/webclient"
|
|
|
|
target="compile.classes_spec" />
|
|
|
|
</target>
|
|
|
|
|
2007-02-19 21:32:42 +03:00
|
|
|
<target name="compile.all" unless="core.java.classes.uptodate"
|
2007-02-23 20:32:11 +03:00
|
|
|
depends="uptodate">
|
2007-02-16 22:57:59 +03:00
|
|
|
<ant inheritAll="false" dir="${source.home}" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<ant inheritAll="false" dir="${source.home}/webclient"
|
|
|
|
target="compile.test" />
|
This checkin removes bookmarks support from webclient by not
initializing the bookmarks engine. Next step is to work with the
mozilla embedding people to see how I can fix this. What I'd like to do
is *NOT* use the GRE, but rather use the mozilla suite installation.
SECTION: Changes
M dist/build.xml
- rename release to 2_0_a2b
- made the test run from the mozilla suite installation directory
- clean out the generated batch file or sh file.
M dist/webclient-dist.xml
- made the build.xml generate a batch file, that sets the proper env
vars, then calls back to this build.xml and executes the
run.test.browser target.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
- don't pull in Bookmarks, since it's not in the GRE.
SECTION: Diffs
Index: dist/build.xml
===================================================================
RCS file: /cvsroot/mozilla/java/dist/build.xml,v
retrieving revision 1.4
diff -u -r1.4 build.xml
--- dist/build.xml 15 Oct 2004 16:39:07 -0000 1.4
+++ dist/build.xml 18 Oct 2004 14:03:36 -0000
@@ -30,7 +30,7 @@
<property name="Name" value="webclient"/>
<property name="name" value="webclient"/>
- <property name="version" value="2_0_a2"/>
+ <property name="version" value="2_0_a2b"/>
<!-- ************ Per user local properties ******************************* -->
@@ -136,9 +136,13 @@
</zip>
</target>
- <target name="test.dist" depends="prepare,clean.dev.build">
-
+ <target name="unzip.dist" depends="prepare">
<unzip dest="${moz.install.dir}" src="${dist.home}/${name}_${version}_${platform}.zip" />
+ </target>
+
+ <target name="test.dist" depends="prepare">
+
+ <antcall target="unzip.dist" />
<ant inheritAll="false" dir="${moz.install.dir}"/>
@@ -149,6 +153,8 @@
<target name="clean.test.dist" depends="props">
<delete file="${moz.install.dir}/build.xml" />
+ <delete file="${moz.install.dir}/runwc.bat" />
+ <delete file="${moz.install.dir}/runwc.sh" />
<delete file="${moz.install.dir}/components/${so.prefix}javadom.${so.extension}" />
<delete file="${moz.install.dir}/${so.prefix}javadomjni.${so.extension}" />
<delete file="${moz.install.dir}/${so.prefix}${name}.${so.extension}" />
Index: dist/webclient-dist.xml
===================================================================
RCS file: /cvsroot/mozilla/java/dist/webclient-dist.xml,v
retrieving revision 1.2
diff -u -r1.2 webclient-dist.xml
--- dist/webclient-dist.xml 15 Oct 2004 16:39:07 -0000 1.2
+++ dist/webclient-dist.xml 18 Oct 2004 14:03:36 -0000
@@ -3,6 +3,20 @@
<property environment="myenv" />
<target name="props">
+ <condition property="is.win32" value="true">
+ <and>
+ <os family="windows" />
+ </and>
+ </condition>
+
+ <condition property="is.unix" value="true">
+ <and>
+ <os family="unix" />
+ </and>
+ </condition>
+
+
+
<condition property="PATH_SEP" value=";">
<and>
<os family="windows" />
@@ -55,7 +69,31 @@
</target>
- <target name="main" depends="props">
+ <target name="main" depends="main.win32,main.unix"/>
+
+ <target name="main.win32" depends="props" if="is.win32">
+
+ <delete file="${basedir}/runwc.bat" />
+ <echo file="${basedir}/runwc.bat">
+SET PATH=${java.libpath};%PATH%
+SET NSPR_LOG_MODULES=webclient:4,webclientstub:4
+SET NSPR_LOG_FILE=webclient.log
+ant run.test.browser
+ </echo>
+ <exec command=".\runwc.bat" newenvironment="true" />
+
+ </target>
+
+ <target name="main.unix" depends="props" if="is.unix">
+
+ <delete file="${basedir}/runwc.sh" />
+ <echo file="${basedir}/runwc.sh">
+ </echo>
+
+ </target>
+
+
+ <target name="run.test.browser" depends="props">
<java newenvironment="true"
classname="org.mozilla.webclient.test.TestBrowser"
Index: webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java,v
retrieving revision 1.8
diff -u -r1.8 WrapperFactoryImpl.java
--- webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java 17 Jun 2004 21:27:55 -0000 1.8
+++ webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java 18 Oct 2004 14:03:37 -0000
@@ -316,7 +316,8 @@
((Service)WrapperFactoryImpl.this.profileManager).startup();
((Service)WrapperFactoryImpl.this.prefs).startup();
- ((Service)WrapperFactoryImpl.this.bookmarks).startup();
+ // PENDING(edburns): see Message-ID: <bbf0af98.0410171147.3109d532@posting.google.com> on n.p.m.java
+ // ((Service)WrapperFactoryImpl.this.bookmarks).startup();
WrapperFactoryImpl.this.nativeAppSetup(nativeWrapperFactory);
return null;
2004-10-18 18:08:22 +04:00
|
|
|
</target>
|
|
|
|
|
2007-02-16 22:57:59 +03:00
|
|
|
<target name="copy.binaries" depends="prepare">
|
|
|
|
<copy todir="${dist.home}/bin/components"
|
|
|
|
file="${objdir}/java/dom/src/${so.prefix}javadom.${so.extension}" />
|
|
|
|
<copy todir="${dist.home}/bin"
|
2007-05-24 08:16:59 +04:00
|
|
|
file="${objdir}/java/dom/jni/${so.prefix}javadomjni.${jni.extension}" />
|
2007-02-16 22:57:59 +03:00
|
|
|
<copy todir="${dist.home}/bin"
|
|
|
|
file="${objdir}/java/webclient/src_moz/${so.prefix}${name}.${so.extension}" />
|
2004-09-29 23:53:55 +04:00
|
|
|
|
|
|
|
</target>
|
|
|
|
|
2007-02-23 19:40:14 +03:00
|
|
|
<target name="copy.test.src" depends="prepare">
|
2007-03-04 00:06:39 +03:00
|
|
|
|
|
|
|
<!-- Populate the netbeans Test Packages -->
|
|
|
|
|
2007-02-23 19:40:14 +03:00
|
|
|
<copy todir="${dist.home}/test/automated/src/main/java">
|
2007-02-21 04:40:44 +03:00
|
|
|
<fileset dir="${source.home}/webclient/test/automated/src/classes">
|
|
|
|
<exclude name="**/*Bookmark*.java" />
|
2007-02-23 00:31:43 +03:00
|
|
|
<exclude name="**/*Preferences*.java" />
|
|
|
|
<exclude name="**/*Profile*.java" />
|
2007-02-21 04:40:44 +03:00
|
|
|
</fileset>
|
2007-03-04 00:06:39 +03:00
|
|
|
<fileset dir="${basedir}/mcp-test/src/test/java">
|
|
|
|
<include name="**/*.java" />
|
|
|
|
</fileset>
|
2007-02-16 22:57:59 +03:00
|
|
|
</copy>
|
2007-02-23 19:40:14 +03:00
|
|
|
<copy todir="${dist.home}/test/automated/src/main/resources">
|
2007-02-16 22:57:59 +03:00
|
|
|
<fileset dir="${source.home}/webclient/test/automated/src/test">
|
|
|
|
<exclude name="*basic*/" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2004-09-29 23:53:55 +04:00
|
|
|
|
2007-03-04 00:06:39 +03:00
|
|
|
<!-- Populate the netbeans Source Packages -->
|
|
|
|
|
2007-02-23 19:40:14 +03:00
|
|
|
<copy todir="${dist.home}/test/manual/src/main/java">
|
2007-02-19 21:32:42 +03:00
|
|
|
<fileset dir="${source.home}/webclient/test/manual/src/classes" />
|
2007-03-04 00:06:39 +03:00
|
|
|
<fileset dir="${basedir}/mcp-test/src/main/java">
|
|
|
|
<include name="**/*.java" />
|
|
|
|
</fileset>
|
2007-02-19 21:32:42 +03:00
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
2007-03-05 19:35:47 +03:00
|
|
|
<target name="copy.core.src" depends="prepare">
|
|
|
|
|
|
|
|
<!-- Populate the netbeans Source Package with the core
|
|
|
|
webclient sources -->
|
|
|
|
|
|
|
|
<copy todir="${dist.home}/src/main/java" includeEmptyDirs="false">
|
|
|
|
<fileset dir="${source.home}/webclient/classes_spec">
|
|
|
|
<exclude name="**/test/*" />
|
|
|
|
<exclude name="**/test_nonnative/*" />
|
|
|
|
<exclude name="**/wrapper_nonnative/*" />
|
|
|
|
<exclude name="**/*.html" />
|
|
|
|
<exclude name="**/*ICE*.*" />
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="${source.home}/util/classes">
|
|
|
|
<exclude name="**/*.html" />
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="${source.home}/dom/classes">
|
|
|
|
<exclude name="**/*.html" />
|
|
|
|
</fileset>
|
2007-05-04 21:10:35 +04:00
|
|
|
<fileset dir="${source.home}/webclient/test/automated/src/classes">
|
|
|
|
<include name="**/CompareFiles.java" />
|
|
|
|
<include name="**/WebclientTestCase.java" />
|
|
|
|
<include name="**/TestLogStrings.properties" />
|
|
|
|
</fileset>
|
2007-03-05 19:35:47 +03:00
|
|
|
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
2007-02-19 21:32:42 +03:00
|
|
|
<target name="copy.build.support" depends="prepare">
|
|
|
|
<copy todir="${dist.home}/netbeans">
|
|
|
|
<fileset dir="${basedir}/netbeans" />
|
|
|
|
</copy>
|
2007-02-27 07:47:59 +03:00
|
|
|
<copy todir="${dist.home}/non-ide">
|
|
|
|
<fileset dir="${basedir}/non-ide" />
|
|
|
|
</copy>
|
2007-05-04 21:10:35 +04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="copy.release.notes" depends="prepare" if="has.mozdocdir">
|
2007-02-27 07:47:59 +03:00
|
|
|
<copy file="${mozdocdir}/webclient/release-notes/${full.version}.html" todir="${dist.home}" />
|
|
|
|
<copy file="${mozdocdir}/webclient/release-notes/${full.version}-detail.html" todir="${dist.home}" />
|
2004-09-29 23:53:55 +04:00
|
|
|
</target>
|
2007-02-23 20:32:11 +03:00
|
|
|
|
2007-05-04 21:10:35 +04:00
|
|
|
<target name="deploy.to.local.www" depends="prepare" if="has.mozdocdir"
|
|
|
|
description="After building the release, it can be deployed to the local mozilla-org CVS workarea">
|
|
|
|
<copy file="${dist.jar}"
|
|
|
|
tofile="${mozdocdir}/webclient/bin/maven2/org/mozilla/webclient/${major.version}.${minor.version}${snapshot}/${name}-${major.version}.${minor.version}${snapshot}.jar" />
|
|
|
|
<copy file="${name}-pom.xml"
|
|
|
|
tofile="${mozdocdir}/webclient/bin/maven2/org/mozilla/webclient/${major.version}.${minor.version}${snapshot}/${name}-${major.version}.${minor.version}${snapshot}.pom" />
|
|
|
|
<copy file="${objdir}/${name}_${version}_${platform}.zip"
|
|
|
|
todir="${mozdocdir}/webclient/bin/${platform}" />
|
|
|
|
</target>
|
|
|
|
|
2007-02-23 20:32:11 +03:00
|
|
|
<target name="build.javadocs" depends="prepare,uptodate"
|
2007-05-04 21:10:35 +04:00
|
|
|
unless="javadocs.uptodate">
|
2007-03-15 00:02:14 +03:00
|
|
|
<copy todir="${dist.javadocs}">
|
|
|
|
<fileset dir="${source.home}/webclient/classes_spec">
|
|
|
|
<include name="**/*.jpg" />
|
|
|
|
<include name="**/*.jpeg" />
|
|
|
|
<include name="**/*.gif" />
|
|
|
|
<include name="**/*.html" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2007-02-23 20:32:11 +03:00
|
|
|
<javadoc packagenames="org.mozilla.*"
|
|
|
|
destdir="${dist.javadocs}"
|
|
|
|
Overview="${source.home}/webclient/classes_spec/org/mozilla/webclient/overview.html"
|
2007-03-15 00:02:14 +03:00
|
|
|
stylesheetfile="javadoc.css"
|
2007-02-23 20:32:11 +03:00
|
|
|
private="${javadoc.private}"
|
|
|
|
protected="${javadoc.protected}"
|
|
|
|
windowtitle="${Name} (${version})"
|
|
|
|
doctitle="${Name} (${version})"
|
2007-03-09 17:17:04 +03:00
|
|
|
bottom="Copyright © 2002-2007 Mozilla.org All Rights Reserved.">
|
2007-02-23 20:32:11 +03:00
|
|
|
<fileset dir="${source.home}">
|
|
|
|
<include name="**/*.java"/>
|
2007-05-04 21:10:35 +04:00
|
|
|
<include name="**/WebclientTestCase.java"/>
|
2007-02-23 20:32:11 +03:00
|
|
|
<exclude name="**/impl/**/*.java" />
|
2007-03-15 00:02:14 +03:00
|
|
|
<exclude name="**/*ICE*.java" />
|
|
|
|
<exclude name="**/cardemo/**/*.java" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<exclude name="**/jsf_jmaki/**/*.java" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<exclude name="**/wrapper_nonnative/**/*.java" />
|
|
|
|
<exclude name="**/*Impl.java" />
|
|
|
|
<exclude name="**/test*/**/*.java" />
|
|
|
|
<exclude name="plugins/**/*.*" />
|
|
|
|
<exclude name="xpcom/**/*.*" />
|
|
|
|
<exclude name="dom/blackconnect/**/*.*" />
|
|
|
|
<exclude name="pluggable-jvm/**/*.*" />
|
2007-05-04 21:10:35 +04:00
|
|
|
<exclude name="**/*THTTPD*.java" />
|
|
|
|
<exclude name="**/*CompareFiles*.java" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<exclude name="**/*Bookmark*.java" />
|
|
|
|
<exclude name="**/*Preferences*.java" />
|
2007-03-15 00:02:14 +03:00
|
|
|
<exclude name="**/PrefChangedCallback.java" />
|
2007-02-23 20:32:11 +03:00
|
|
|
<exclude name="**/*Profile*.java" />
|
2007-03-15 00:02:14 +03:00
|
|
|
<exclude name="**/WebclientFactory.java" />
|
|
|
|
<exclude name="**/ImplObject.java" />
|
|
|
|
<exclude name="**/WCKeyEvent.java" />
|
|
|
|
<exclude name="**/WCMouseEvent.java" />
|
|
|
|
<exclude name="util/**/*.java" />
|
|
|
|
<exclude name="dom/**/*.java" />
|
2007-02-23 20:32:11 +03:00
|
|
|
</fileset>
|
|
|
|
<classpath location="${dist.jar}"/>
|
|
|
|
</javadoc>
|
|
|
|
</target>
|
2007-02-16 22:57:59 +03:00
|
|
|
|
2004-09-29 23:53:55 +04:00
|
|
|
|
|
|
|
</project>
|