fix scirenderer compilation on Wiwdows
[scilab.git] / scilab / modules / prebuildjava / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2011 - Scilab Enterprises - Sylvestre LEDRU
5  * Copyright (C) 2012 - Scilab Enterprises - ClĂ©ment DAVID
6  *
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at
11  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
12  *
13  -->
14 <project default="all" name="build-all-jar">
15     <!-- Call World
16 The main idea is to build at once all the var files
17 -->
18     <property name="target-jar" value="jar"/>
19     <property file="../../scilab-lib.properties"/>
20     
21     <!-- Order matter : fixed order to avoid dependency handling-->
22     <target name="all" depends="scirenderer, localization, commons, history_manager, jvm, action_binding, graphic_objects, completion, console, renderer, graphic_export, gui, core, helptools, types, scinotes, ui_data, history_browser, javasci, graph, xcos, preferences" />
23     <target name="clean">
24         <antcall target="all">
25             <param name="target-jar" value="clean"/>
26         </antcall>
27     </target>
28     <target name="test"/>
29     
30     <target name="scirenderer">
31         <condition property="thirdparty.dir" value="../../thirdparty">
32             <os family="windows"/>
33         </condition>
34         <ant antfile="../scirenderer/build.xml" target="${target-jar}" useNativeBasedir="true" inheritAll="false">
35             <property name="thirdparty.dir" value="${thirdparty.dir}"/>
36             <property name="fromScilab" value="yes"/>
37         </ant>
38     </target>
39     
40     <target name="action_binding">
41         <ant antfile="../action_binding/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
42     </target>
43     <target name="commons">
44         <ant antfile="../commons/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
45     </target>
46     <target name="completion">
47         <ant antfile="../completion/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
48     </target>
49     <target name="console">
50         <ant antfile="../console/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
51     </target>
52     <target name="core">
53         <ant antfile="../core/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
54     </target>
55     <target name="graph">
56         <ant antfile="../graph/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
57     </target>
58     <target name="graphic_export">
59         <ant antfile="../graphic_export/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
60     </target>
61     <target name="graphic_objects">
62         <ant antfile="../graphic_objects/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
63     </target>
64     <target name="gui">
65         <ant antfile="../gui/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
66     </target>
67     <target name="helptools">
68         <ant antfile="../helptools/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
69     </target>
70     <target name="history_browser">
71         <ant antfile="../history_browser/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
72     </target>
73     <target name="history_manager">
74         <ant antfile="../history_manager/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
75     </target>
76     <target name="javasci" if="build_javasci">
77         <ant antfile="../javasci/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
78     </target>
79     <target name="jvm">
80         <ant antfile="../jvm/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
81     </target>
82     <target name="localization">
83         <ant antfile="../localization/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
84     </target>
85     <target name="output_stream">
86         <ant antfile="../output_stream/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
87     </target>
88     <target name="renderer">
89         <ant antfile="../renderer/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
90     </target>
91     <target name="scinotes">
92         <ant antfile="../scinotes/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
93     </target>
94     <target name="types">
95         <ant antfile="../types/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
96     </target>
97     <target name="ui_data">
98         <ant antfile="../ui_data/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
99     </target>
100     <target name="xcos" if="build_xcos" depends="javasci">
101         <ant antfile="../xcos/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
102     </target>
103     <target name="preferences">
104         <ant antfile="../preferences/build.xml" target="${target-jar}" inheritRefs="false" inheritAll="false" />
105     </target>
106 </project>
107