For licensing reasons, fetch depends is only executed if you run:
ant -Dauto.fetch=true
It should work if you do this?
Having said that I think there is room for improvement in the build.xml.
For example, these targets:
<target name="auto_fetch_jdktools_libs" if="auto.fetch">
<ant target="fetch_jdktools_libs" inheritall="false" >
<property name="hy.cfg" value="${hy.cfg}"/>
</ant>
</target>
<target name="fetch_jdktools_libs" if="auto.fetch">
<ant antfile="working_jdktools/build.xml" target="fetch-depends"
inheritall="false" >
<property name="hy.cfg" value="${hy.cfg}"/>
</ant>
</target>
seem overly complicated and probably can be replaced by a single target:
<target name="auto_fetch_jdktools_libs" if="auto.fetch">
<ant antfile="working_jdktools/build.xml"
target="fetch-depends" inheritall="false" >
<property name="hy.cfg" value="${hy.cfg}"/>
</ant>
</target>
Unless I'm missing something? This build.xml really needs some cleanup.
(For example adopting the convention of beginning non-api/-user targets
with hyphen so it is easier to read.) Maybe I'll take a look later.
Regards,
Mark.
On 19 October 2007 at 12:06, "Vladimir Beliaev" <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I come across the same issue twice - the federated build skips fetching
> dependencies for jdktools.
>
> I mean I did a build just by simple 'ant' command from the root directory of
> federated workspace:
>
> /tmp/trunk $ pwd
> /tmp/trunk
> /tmp/trunk $ ls -1
> working_classlib/
> working_jdktools/
> working_vm/
> <skipped>
> /tmp/trunk $ ant
> <skipped>
> BUILD FAILED...
> <skipped>
>
> And this can be fixed by:
>
> /tmp/trunk $ cd working_jdktools
> /tmp/trunk/working_jdktools $ ant fetch-depends
>
> Is it a known issue?
>
> I double check trunk/build.xml - looks like all tags for jdttools's
> fetch-depends are in place... So it may be my local issue... That's why I
> ask.
>
> --
> Vladimir Beliaev
> Intel Middleware Products Division