bonjour a tous , juste pour comprendre le role de la condition pour dans le target qui contient le if. Le role du if merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?xml version="1.0" encoding="UTF-8"?> <project name="simplemessage" default="default" basedir="."> <description>Builds, tests, and runs the project simplemessage.</description> <property name="is.ear.module" value="true"/> <import file="../bp-project/main.xml"/> <path id="ear-components"> <filelist dir="./simplemessage-ejb" files="build.xml"/> <filelist dir="./simplemessage-app-client" files="build.xml"/> </path> <target name="run-nb" if="netbeans.home" depends="init"> <antcall target="run-ac"/> </target> <target name="-pre-deploy" unless="netbeans.home" depends="init"> <antcall target="add-resources"/> </target> <target name="run-ant" unless="netbeans.home" depends="init"> <antcall target="client-jar"/> <antcall target="bpp-run-app-client"/> </target> <target name="run" depends="init,run-deploy"> <antcall target="run-ant"/> <antcall target="run-nb"/> </target> </project>
Partager