Source

main-silver / collab.provider.im / build.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--
                Sun Public License Notice

The contents of this file are subject to the Sun Public License
Version 1.0 (the "License"). You may not use this file except in
compliance with the License. A copy of the License is available at
http://www.sun.com/

The Original Code is NetBeans. The Initial Developer of the Original
Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
Microsystems, Inc. All Rights Reserved.
-->

<project name="collab-im" default="netbeans" basedir=".">

    <import file="../../nbbuild/templates/projectized.xml"/>
 
    <target name="build-init" depends="projectized.build-init">
        <ant dir="../external" target="unscramble"/>
    </target>

 
    <target name="netbeans-extra" depends="init">
        <mkdir dir="${netbeans.dest.dir}/${cluster.dir}/modules/ext"/>
        <copy todir="${netbeans.dest.dir}/${cluster.dir}/modules/ext">
          <fileset dir="../external">
           <include name="collab-service.jar"/>
           <include name="jso-*.jar"/>
           <include name="log4j-1.2.8.jar"/>
           <include name="xp.jar"/>
           <include name="jaxen-core-1.0.jar"/>
           <include name="saxpath-1.0.jar"/>        
          </fileset>
        </copy>
    </target>

    <target name="nbm" depends="init,netbeans" description="Build NBM archive.">
        <mkdir dir="build"/>
        <makenbm file="build/${nbm}"
                 productdir="${cluster}"
                 module="${module.jar}"
                 homepage="${nbm.homepage}"
                 distribution="http://${dist.base}/${nbm}"
                 needsrestart="${nbm.needs.restart}"
                 releasedate="${nbm.release.date}"
		 moduleauthor="${nbm.module.author}">
            <license name="im-libs-license.html">
                <text>For the integration module:</text>
                <file location="${license.file}"/>
		<text>Jabber Stream Objects 0.12.3</text>
                <file location="../external/jso-lgpl2.1-license.txt"/>
		<text>Log4J - Apache Common Logging 1.2.8</text>
                <file location="../external/apache-2.0-license.txt"/>
                <text>XP - XML Parser 0.5</text>
                <file location="../external/jc-license.txt"/>
                <text>Jaxen 1.0 and SaxPath 1.0</text>
                <file location="../external/jaxen-license.txt"/>
            </license>
            <signature keystore="${keystore}" storepass="${storepass}" alias="${nbm_alias}"/>
        </makenbm>
    </target>

</project>