|
1 | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | 2 | <project name="dependencies" default="depend.all"> |
3 | | - |
4 | | - <condition property="isWindows"> |
5 | | - <os family="windows" /> |
6 | | - </condition> |
7 | | - |
8 | | - <target name="windows.directory.format" if="isWindows"> |
9 | | - <dirname property="dependencies.basedir.windows" file="${ant.file.dependencies}"/> |
10 | | - <path id="dependencies.basedir.path"> |
11 | | - <pathelement path="${dependencies.basedir.windows}" /> |
12 | | - </path> |
13 | | - <pathconvert targetos="unix" property="dependencies.basedir" refid="dependencies.basedir.path"/> |
14 | | - </target> |
15 | | - |
16 | | - <target name="unix.directory.format" unless="isWindows"> |
17 | | - <dirname property="dependencies.basedir" file="${ant.file.dependencies}"/> |
18 | | - </target> |
| 3 | + <condition property="isWindows"> |
| 4 | + <os family="windows" /> |
| 5 | + </condition> |
19 | 6 |
|
20 | | - <!-- ================================================================== --> |
21 | | - <target name="depend.all" depends="depend.maven, depend.eclipse"> |
22 | | - </target> |
| 7 | + <target name="windows.directory.format" if="isWindows"> |
| 8 | + <dirname property="dependencies.basedir.windows" file="${ant.file.dependencies}"/> |
| 9 | + <path id="dependencies.basedir.path"> |
| 10 | + <pathelement path="${dependencies.basedir.windows}" /> |
| 11 | + </path> |
| 12 | + <pathconvert targetos="unix" property="dependencies.basedir" refid="dependencies.basedir.path"/> |
| 13 | + </target> |
23 | 14 |
|
24 | | - <!-- Maven Builds --> |
25 | | - <!-- ================================================================== --> |
26 | | - <target name="depend.maven" depends="windows.directory.format, unix.directory.format"> |
27 | | - <ant dir="${dependencies.basedir}/build/maven" inheritAll="true"/> |
28 | | - </target> |
| 15 | + <target name="unix.directory.format" unless="isWindows"> |
| 16 | + <dirname property="dependencies.basedir" file="${ant.file.dependencies}"/> |
| 17 | + </target> |
29 | 18 |
|
30 | | - <!-- Eclipse Builds --> |
31 | | - <target name="depend.eclipse" depends="depend.maven"> |
32 | | - <ant dir="${dependencies.basedir}/interfaces/eclipse" inheritAll="true"/> |
33 | | - </target> |
| 19 | + <!-- ================================================================== --> |
| 20 | + <target name="depend.all" depends="depend.maven, depend.eclipse"> |
| 21 | + </target> |
34 | 22 |
|
| 23 | + <!-- Maven Builds --> |
| 24 | + <!-- ================================================================== --> |
| 25 | + <target name="depend.maven" depends="windows.directory.format, unix.directory.format"> |
| 26 | + <ant dir="${dependencies.basedir}/build/maven" inheritAll="true"/> |
| 27 | + </target> |
| 28 | + |
| 29 | + <!-- Eclipse Builds --> |
| 30 | + <target name="depend.eclipse" depends="depend.maven"> |
| 31 | + <ant dir="${dependencies.basedir}/interfaces/eclipse" inheritAll="true"/> |
| 32 | + </target> |
35 | 33 | </project> |
0 commit comments