blob: 96ba21814d7013d7f3e44d439b4ec7947aee2ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2007 - INRIA - Allan CORNET
* Copyright (C) 2007 - INRIA - Sylvestre LEDRU
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
-->
<project name="javasci" default="jar">
<import file="../../build.incl.xml"/>
<property name="library.name" value="${library.javasci.name}"/>
<property name="library.title" value="Scilab Java API"/>
<property name="junit.forkMode" value="perTest"/>
<description>
Build the Java/Scilab connecter (javasci) module
</description>
<!-- Compile sources -->
<target name="compile" description="Build sources of Javasci v2" depends="init">
<mkdir dir="${classes.dir}/v2"/>
<javac srcdir="src/java/" destdir="${classes.dir}/v2" classpathref="compile.classpath" deprecation="on" debug="${build.debug}" verbose="off" listfiles="on" includeAntRuntime="no" includes="org/**/*.java" source="6" target="6"/>
</target>
<!-- Create the jar -->
<target name="jar" description="Build the jar file" depends="compile">
<manifestclasspath property="manifest.classpath" jarfile="${build.jar.dir}/${library.name}">
<classpath location="${library.jvm.dir}/${library.jvm.name}"/>
</manifestclasspath>
<jar destfile="${build.jar.dir}/${library.name}" basedir="${classes.dir}/v2/">
<manifest>
<attribute name="Class-Path" value="${manifest.classpath}"/>
</manifest>
</jar>
</target>
</project>
|