> From: michael sorens [mailto:[EMAIL PROTECTED]
> 
> The only reference I find to "<apply>" is in "requested-features.txt"
-- I
> assume that means it has not yet been implemented (or released) ...?

Well, <apply> has been a core ant task for a long time.
Have you looked into the manual? ;-)

> In any case, here's my example:
> 
>   <target name="checkJsMenuBuild">
>               <uptodate property="JsMenuBuild.notRequired"
>                       targetfile="${menuArchive}">
>                       <srcfiles dir="${jslib}">
>                               <include
name="${jslib}/Util/Version.js"/>
                                       ^^^^^^^^^
This looks wrong. The <include> pattern should be within the ${jslib}
directory.

>                               <include name="$jsmenu}/ccmenu.js"/>

And if you ${jsmenu} (you're missing the opening brace) in not
within ${jslib}, you'll never select it.

>                               <include
name="${jslib}/Util/NavKeys.js"/>
>                       </srcfiles>
>               </uptodate>
>      </target>
> 
>      <target name="jsar-menu" depends="init, checkJsMenuBuild"
>               unless="JsMenuBuild.notRequired"
>               description="build js-archive file of JavaScript
modules">
>               <java fork="true" dir="${js}"
>                       classname="com.cleancode.format.JSArchive">
>                       <arg value="${jslib}/Util/Version.js"/>
>                       <arg value="$jsmenu}/ccmenu.js"/>
>                       <arg value="${jslib}/Util/NavKeys.js"/>
>               </java>
>      </target>

Use either <apply parallel="true">, which BTW has some built-in
Timestamp checking abilities which would remove the need for the
Separate <uptodate>, or use <pathConvert> to morph your <fileset>
into a property you'd pass in to your <java> with <arg line="">.

I hope this helps. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to