Menu

#1 Add a depends hook fails

v1.0
open
nobody
General (1)
5
2003-02-21
2003-02-21
No

When a depends on runExe with a 'alwaysRun' is done,
the depends is ignored.

For example:

<build:component name="BORLAND-DEF-RENAME">
<build:ant>
<target name="RENAMEAnt">
<copy file="${build}
\BORLAND-DEF-CREATE\output\pe_cc.def.new"
tofile="${build}\BORLAND-DEF-
CREATE\output\pe_cc.def" overwrite="yes"/>
</target>
</build:ant>
<build:hook>
<build:depends
type="pre" target="BORLAND-LIB-CREATE-component-
build" value="RENAMEAnt"/>
</build:hook>
</build:component>

<\!-- create the pe\_cc.lib file from the

pe_cc.def -->
<build:component name="BORLAND-LIB-
CREATE">
<build:info operation="runEXE"
executable="c:\bc5\bin\implib" mode="borlandpe_view"/>

    <build:path type="command"

literal="pe_cc.lib"/>
<build:path type="command"
component="BORLAND-DEF-CREATE"
location="pe_cc.def"/>
</build:component>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB