Skip to content

Commit 479019d

Browse files
committed
Fixed #367 #368 #369, add condition for zstack-network and zstack-distro
1 parent 3a19fa8 commit 479019d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

zstackbuild/build.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,18 @@
193193
<echo message="successfully build zstack.war at ${war.file}" />
194194
</target>
195195

196+
<target name="build-zstack-network-on-condition" if="${build.zstack.network}">
197+
<antcall target="build-zstack-network" />
198+
</target>
199+
200+
<target name="assemble-zstack-network-on-condition" if="${build.zstack.network}">
201+
<antcall target="assemble-zstack-network" />
202+
</target>
203+
204+
<target name="check-zstack-distro-on-condition" if="${check.zstack.distro}">
205+
<antcall target="check-zstack-distro" />
206+
</target>
207+
196208
<!-- For UI 1.x -->
197209
<target name="build-zstack-dashboard-on-condition" unless="${build.zstack.ui.war}">
198210
<antcall target="build-zstack-dashboard" />
@@ -276,10 +288,10 @@
276288
<antcall target="build-zstack-vyos"/>
277289
</sequential>
278290
<sequential>
279-
<antcall target="build-zstack-network"/>
291+
<antcall target="build-zstack-network-on-condition"/>
280292
</sequential>
281293
<sequential>
282-
<antcall target="check-zstack-distro"/>
294+
<antcall target="check-zstack-distro-on-condition"/>
283295
</sequential>
284296
</parallel>
285297
</target>
@@ -353,7 +365,7 @@
353365
<antcall target="assemble-zstack-vyos"/>
354366
</sequential>
355367
<sequential>
356-
<antcall target="assemble-zstack-network"/>
368+
<antcall target="assemble-zstack-network-on-condition"/>
357369
</sequential>
358370
</parallel>
359371

0 commit comments

Comments
 (0)