Apache NetBeans Wiki Index

Note: These pages are being reviewed.

How can I launch an Ant Task on all modules of my suite?

I needed to launch the fix-dependencies target on all the modules of my suite, but doing manually is very boring. So I added this target into my suite build.xml that runs the target in each module

<target name="fix-dependencies" depends="-init">
  <subant target="fix-dependencies" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false"/>

You can change the code so it works with any target.

Applies to: NetBeans IDE 6.5 and newer Platforms: All

=== Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/FaqRunSameTargetOnAllModules , that was last modified by NetBeans user Skygo on 2013-12-16T20:06:19Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.