On Sat, Feb 23, 2008 at 9:44 AM, Yannick Haudry <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 10:06 PM, Garrett Smith <[EMAIL PROTECTED]> wrote: > > On 2/22/08, Yannick Haudry <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > Adding the 'dest' attribute to the Apply task and moving up the '-v' > > > argument (as shown below) should make it work ! > > > > Thanks that worked great! Files are minified now. > > > > docs: > > http://ant.apache.org/manual/CoreTasks/apply.html > > > > So I ran the whole thing on **/* and min'd them all. I also made a > > <copy> command in a new target. > > > > It's great. But I still want to figure a few more things out. > > > > I want to build to files and combine them into one: > > a.js > > b.js > > > > result: > > a-b.js > > > > How to do this? > > > > Take a look at the Concat Task: > http://ant.apache.org/manual/CoreTasks/concat.html
Wow that was way easier than I thought it would be. High level overview: <target name="js.rollups">...</target> <target name="js.copy" depends="js.rollups">...</target> <target name="js.minify" depends="js.copy">...</target> <target name="clean">...</target> I just build all my js in 3 sec. I'm surprised at how easy this was. Thanks, Yannik. Garrett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
