File:  [mozdev] / checky / checky-extension / build.xml
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Jul 10 11:55:12 2004 UTC (14 years, 7 months ago) by joachim
Branches: MAIN
CVS tags: HEAD
Checky 2.2 (Mozilla, Firefox, Netscape one distribution)

<?xml version="1.0" encoding="ISO-8859-1"?>


Version: MPL 1.1/GPL 2.0/LGPL 2.1

The contents of this file are subject to the Mozilla 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

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

The Original Code is Checky.

The Initial Developer of the Original Code is
Joachim Schreiber (
Portions created by the Initial Developer are Copyright (C) 2002-2004
the Initial Developer. All Rights Reserved.

Mike Hommey (

Alternatively, the contents of this file may be used under the terms of
either the GNU General Public License Version 2 or later (the "GPL"), or
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
in which case the provisions of the GPL or the LGPL are applicable instead
of those above. If you wish to allow use of your version of this file only
under the terms of either the GPL or the LGPL, and not to allow others to
use your version of this file under the terms of the MPL, indicate your
decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL.

Checky - Resource Validation and Analysis Extension for Mozilla and Firefox.
Easy to use Interface to many different free and commercial Online 
Validation and Analysis Services. Any rights not expressly granted herein 
are reserved by their owners. 
Please visit all Service Web Sites for more informations about terms of usage 
before using Checky the first time. Hyperlinks are located at



<!-- *** A simple Ant build script for developing and testing mozilla/firebird extensions *** -->

<project name="Checky" default="dist" basedir=".">

	<property file="" />

	<property name="PLUGIN.NAME" value="checky" />
	<property name="PLUGIN.VERSION" value="2.2" />

	<target name="prepare" description="Create directories.">
		<mkdir dir="target" />
		<mkdir dir="target/extension/chrome" />
		<mkdir dir="target/xpi" />
		<mkdir dir="target/zip" />
		<mkdir dir="target/jar" />
		<mkdir dir="target/jar/chrome" />
		<mkdir dir="target/jar/defaults/preferences" />
		<mkdir dir="target/src" />
		<mkdir dir="target/distributions" />

	<target name="clean" description="Clean build directory">
		<delete dir="target" />

	<target name="dist" description="Create Checky XPI and SRC distributions for Mozilla nd Firebird" depends="clean,prepare,src,xpi">
		<copy todir="target/distributions">
			<fileset dir="target/zip" />
			<fileset dir="target/xpi" />

	<target name="xpi" description="Create Firefox XPI distribution">

		<copy todir="target/extension/chrome">
			<fileset dir="src/xpi/${PLUGIN.NAME}" />

		<copy todir="target/extension/chrome">
			<fileset dir="src/xpi/${PLUGIN.NAME}" />

		<zip zipfile="target/jar/chrome/${PLUGIN.NAME}.jar" basedir="target/extension/chrome" />

		<copy todir="target/jar/defaults/preferences">
			<fileset dir="src/xpi/install" includes="**/checky*"/>
		<copy todir="target/jar">
			<fileset dir="src/xpi/install"/>

		<zip zipfile="target/xpi/${PLUGIN.NAME}-${PLUGIN.VERSION}.xpi" basedir="target/jar" />


	<target name="src" description="Create SRC distribution">

		<copy todir="target/src">
			<fileset dir="src/xpi" />

		<zip zipfile="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}" basedir="target/src" />

		<tar destfile="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}-src.tar">
			<tarfileset dir="target/src" preserveLeadingSlashes="false">
				<include name="*/**"/>

		<gzip zipfile="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}-src.tar.gz" src="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}-src.tar"/>
		<bzip2 zipfile="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}-src.tar.bz2" src="target/zip/${PLUGIN.NAME}-${PLUGIN.VERSION}-src.tar"/>

	<target name="update.firefox" description="">
		<delete dir="firefox" />
		<mkdir dir="firefox" />

		<copy todir="firefox">
			<fileset dir="src_firefox" />

	<target name="update.mozilla" description="">
		<delete dir="mozilla" />
		<mkdir dir="mozilla" />

		<copy todir="mozilla">
			<fileset dir="src_mozilla" />


FreeBSD-CVSweb <>