| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
|---|
| 2 | <!--
|
|---|
| 3 | * LICENCE[[
|
|---|
| 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1/CeCILL 2.O
|
|---|
| 5 | *
|
|---|
| 6 | * The contents of this file are subject to the Mozilla Public License Version
|
|---|
| 7 | * 1.1 (the "License"); you may not use this file except in compliance with
|
|---|
| 8 | * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
|
|---|
| 9 | *
|
|---|
| 10 | * Software distributed under the License is distributed on an "AS IS" basis,
|
|---|
| 11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|---|
| 12 | * for the specific language governing rights and limitations under the
|
|---|
| 13 | * License.
|
|---|
| 14 | *
|
|---|
| 15 | * The Original Code is utc.fr code.
|
|---|
| 16 | *
|
|---|
| 17 | * The Initial Developer of the Original Code is
|
|---|
| 18 | * Universite de Technologie de Compiegne.
|
|---|
| 19 | *
|
|---|
| 20 | * Portions created by the Initial Developer are Copyright (C) 2005
|
|---|
| 21 | * the Initial Developer. All Rights Reserved.
|
|---|
| 22 | *
|
|---|
| 23 | * Contributor(s):
|
|---|
| 24 | *
|
|---|
| 25 | *
|
|---|
| 26 | * Alternatively, the contents of this file may be used under the terms of
|
|---|
| 27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
|
|---|
| 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|---|
| 29 | * or the CeCILL Licence Version 2.0 (http://www.cecill.info/licences.en.html),
|
|---|
| 30 | * in which case the provisions of the GPL, the LGPL or the CeCILL are applicable
|
|---|
| 31 | * instead of those above. If you wish to allow use of your version of this file
|
|---|
| 32 | * only under the terms of either the GPL or the LGPL, and not to allow others
|
|---|
| 33 | * to use your version of this file under the terms of the MPL, indicate your
|
|---|
| 34 | * decision by deleting the provisions above and replace them with the notice
|
|---|
| 35 | * and other provisions required by the GPL or the LGPL. If you do not delete
|
|---|
| 36 | * the provisions above, a recipient may use your version of this file under
|
|---|
| 37 | * the terms of any one of the MPL, the GPL, the LGPL or the CeCILL.
|
|---|
| 38 | * ]]LICENCE
|
|---|
| 39 | -->
|
|---|
| 40 |
|
|---|
| 41 | <project name="jav_BDP" default="all" basedir=".">
|
|---|
| 42 |
|
|---|
| 43 | <!-- Point d'entrée pour personnalisation des propriétés -->
|
|---|
| 44 | <property file="build.properties"/>
|
|---|
| 45 |
|
|---|
| 46 | <!-- Dossier de publication du jar. -->
|
|---|
| 47 | <property name="destjardir" value="./lib"/>
|
|---|
| 48 |
|
|---|
| 49 | <!-- Propriétés génériques -->
|
|---|
| 50 | <import file="${basedir}/../Bui_Core/properties.xml"/>
|
|---|
| 51 |
|
|---|
| 52 | <!-- Propriétés spécifiques à ce build -->
|
|---|
| 53 | <property name="jav_bdp_fs.classdir" value="${basedir}/classes"/>
|
|---|
| 54 | <property name="jav_bdp_fs.jarpath" value="${destjardir}/${jarprefix}_bdp_fs.jar"/>
|
|---|
| 55 |
|
|---|
| 56 | <path id="Jav_bdp_fs.classpath">
|
|---|
| 57 | <pathelement location="${wspdir}/Jav_Updt"/>
|
|---|
| 58 | <pathelement location="${wspdir}/Jav_FW"/>
|
|---|
| 59 | <pathelement location="${wspdir}/Jav_CO"/>
|
|---|
| 60 | <pathelement location="${wspdir}/Jav_BDP"/>
|
|---|
| 61 | <fileset dir="${destjardir}">
|
|---|
| 62 | <include name="*.jar"/>
|
|---|
| 63 | </fileset>
|
|---|
| 64 | <pathelement location="${servlet.jar}"/>
|
|---|
| 65 | <pathelement location="${scxmlparser.res.jar}"/>
|
|---|
| 66 | <pathelement location="${scxslt.res.jar}"/>
|
|---|
| 67 | <pathelement location="${scxmlserializer.res.jar}"/>
|
|---|
| 68 | </path>
|
|---|
| 69 |
|
|---|
| 70 | <target name="all">
|
|---|
| 71 | <delete dir="${jav_bdp_fs.classdir}"/>
|
|---|
| 72 | <mkdir dir="${jav_bdp_fs.classdir}"/>
|
|---|
| 73 | <mkdir dir="${destjardir}"/>
|
|---|
| 74 | <javac encoding="ISO-8859-1" srcdir="." destdir="${jav_bdp_fs.classdir}" debug="${compile.debug}" debuglevel="${compile.debuglevel}" optimize="${compile.optimize}" excludes="**/CVS/**">
|
|---|
| 75 | <classpath refid="Jav_bdp_fs.classpath"/>
|
|---|
| 76 | </javac>
|
|---|
| 77 | <jar destfile="${jav_bdp_fs.jarpath}" basedir="${jav_bdp_fs.classdir}"/>
|
|---|
| 78 | <delete dir="${jav_bdp_fs.classdir}"/>
|
|---|
| 79 | </target>
|
|---|
| 80 |
|
|---|
| 81 | </project>
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
|
|---|