http://ant.apache.org/manual/CoreTasks/concat.html
On 11/7/06,
Christopher Jordan <[EMAIL PROTECTED]> wrote:
Sweet Derrek! Thanks a lot! :o)
Chris
Derrek wrote:If you're familiar with Any, here's a (re-worked) piece of my Ant code. It takes all the specified .js files and concatenates them into bigFile.js.
Just re-work this code to your needs and place within your <target>
<!-- Concatenate seperate JS files into one -->
<echo message="Concatenating _javascript_ ..." />
<concat destfile="${_dist}/scripts/bigFile.js">
<fileset dir="${_dist}/scripts">
<include name="**/files-I-want-contatenated1.js" />
<include name="**/files-I-want-contatenated2.js" />
<include name="**/files-I-want-contatenated3.js" />
<include name="**/files-I-want-contatenated4.js" />
<include name="**/files-I-want-contatenated5.js" />
<include name="**/contatenate-*.js" />
<exclude name="**/non-contatenate-*.js" />
</fileset>
</concat>
Derrek
On 11/7/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:Christopher Jordan schrieb:
> That's a good point. That probably is the best way.
>
> Chris
If you can handle Ant, you can put the desired plugins into their own
folders in the plugins folder from the checkout and then make your own
custom task to merge all the desired plugins with jquery and pack it
afterwards...
Some of the plugins are already contained in SVN, but you can add others
locally.
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected] http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
