source: versions/3.5.201/Jav_CO/build.xml @ 10587

Revision 10587, 3.8 KB checked in by anp, 4 years ago (diff)

supp source=1.4 sur la task <javac

Line 
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_CO" 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_co.classdir" value="${basedir}/classes"/>
54        <property name="jav_co.jarpath" value="${destjardir}/${jarprefix}_co.jar"/>
55       
56        <path id="Jav_co.classpath">
57                <pathelement location="${wspdir}/Jav_EL"/>
58                <pathelement location="${wspdir}/Jav_FW"/>
59                <pathelement location="${wspdir}/Jav_EXT"/>
60                <pathelement location="${wspdir}/Xul_Image/_java"/>
61                <fileset dir="${destjardir}">
62                <include name="*.jar"/>
63            </fileset>
64                <pathelement location="${oo.unofinder.jar}"/>
65                <pathelement location="${servlet.jar}"/>
66                <pathelement location="${beanshell.jar}"/>
67                <pathelement location="${webmacro.jar}"/>
68                <pathelement location="${jai.jar}"/>
69                <pathelement location="${fileupload.jar}"/>
70                <pathelement location="${xmlapi.jar}"/>
71                <pathelement location="${xpcom.res.jar}"/>
72                <pathelement location="${scxmlserializer.res.jar}"/>
73                <pathelement location="${scxmlparser.res.jar}"/>
74                <pathelement location="${scxslt.res.jar}"/>
75        </path>
76
77        <target name="all">
78                <delete dir="${jav_co.classdir}"/>
79                <mkdir dir="${jav_co.classdir}"/>
80                <mkdir dir="${destjardir}"/>
81                <javac encoding="ISO-8859-1" srcdir="." destdir="${jav_co.classdir}" debug="${compile.debug}" debuglevel="${compile.debuglevel}" optimize="${compile.optimize}" excludes="**/CVS/**">
82                        <classpath refid="Jav_co.classpath"/>
83                </javac>
84                <unzip src="com/scenari/s/co/transform/oo/ooTransformations.jar" dest="${jav_co.classdir}/com/scenari/s/co/transform/oo/classes"/>
85                <jar destfile="${jav_co.jarpath}">
86                        <fileset dir="${jav_co.classdir}"/>
87                </jar>
88                <delete dir="${jav_co.classdir}"/>
89        </target>
90
91</project>
92
93
94
95
Note: See TracBrowser for help on using the repository browser.