151 <stopwatch name="sf-prep"/> |
151 <stopwatch name="sf-prep"/> |
152 <echo>[SF-PREP]</echo> |
152 <echo>[SF-PREP]</echo> |
153 </target> |
153 </target> |
154 |
154 |
155 <target name="sf-check-env"> |
155 <target name="sf-check-env"> |
156 <!-- Dario's environment dumper --> |
156 <echo message="Create report on environment info"/> |
157 <exec executable="perl" dir="${build.drive}/utilities/envinfo"> |
157 <!-- Dario's environment dumper --> |
158 <arg value="envinfo.pl"/> |
158 <if> |
159 <arg value="-d"/> |
159 <isset property="sf.spec.baseline.location"/> |
160 </exec> |
160 <then> |
|
161 <exec executable="perl" dir="${build.drive}/utilities/envinfo"> |
|
162 <arg value="envinfo.pl"/> |
|
163 <arg value="-r"/> |
|
164 <arg value="-c"/> |
|
165 <arg value="${sf.spec.baseline.location}"/> |
|
166 </exec> |
|
167 </then> |
|
168 <else> |
|
169 <exec executable="perl" dir="${build.drive}/utilities/envinfo"> |
|
170 <arg value="envinfo.pl"/> |
|
171 <arg value="-r"/> |
|
172 </exec> |
|
173 </else> |
|
174 </if> |
|
175 <echo message="Translate \output\logs\envinfo.txt into a Diamonds file"/> |
|
176 <exec executable="perl" dir="${build.drive}"> |
|
177 <arg value="${sf.common.config.dir}/tools/envinfo2diamonds.pl"/> |
|
178 </exec> |
161 |
179 |
162 <!-- Conditional location of BuildEnv.xml. Project always preferred to default --> |
180 <!-- Conditional location of BuildEnv.xml. Project always preferred to default --> |
163 <if><available file="${sf.project.location}/BuildEnv.xml"/> |
181 <if><available file="${sf.project.location}/BuildEnv.xml"/> |
164 <then> |
182 <then> |
165 <property name="sf.buildenv.location" value="${sf.project.location}"/> |
183 <property name="sf.buildenv.location" value="${sf.project.location}"/> |