FELIX-1368
call bldcommon/prepare to set up external dependencies
fix clean and build targets so they perform logical actions for top level build


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@796839 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/build.xml b/sigil/build.xml
index dcfe622..93841f7 100644
--- a/sigil/build.xml
+++ b/sigil/build.xml
@@ -17,11 +17,17 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<project name="sigil" default="build-list">
+<project name="sigil" default="build">
   <import file="bldcommon/common.xml"/>
   <fileset id="my.projects" dir="${basedir}">
     <exclude name="ivy/**/${build_xml}"/>
     <exclude name="bldcommon/**/${build_xml}" />
     <include name="**/${build_xml}"/>
   </fileset>
+  <target name="init">
+    <subant buildpath="bldcommon/prepare" target="resolve" />
+  </target>
+
+  <target name="clean" depends="clean-list" />
+  <target name="build" depends="build-list" />
 </project>