On 11/1/06, Klaus Hartl <
[EMAIL PROTECTED]> wrote:
Jörn Zaefferer schrieb:
> Klaus Hartl schrieb:
>> Yehuda Katz schrieb:
>>
>>> Jorn made some modification to make it possible (I believe) to choose
>>> specific plugins. I think you need to use with_plugins as an optional
>>> MODIFIER now, so you could do ant docs with_plugins, or ant pack
>>> with_plugins. I could be wrong though.
>>>
>> The task does not merge the plugins into the jQuery build though. I
>> don't see how Ant knows how to add the plugins given in the parameter
>> PLUGINS to the jQuery build task... That is why I assumed that work is
>> in progress. But I'm not to firm with Ant anyway.
>>
>> <target name="with_plugins" description="Build jquery with all plugins">
>> <antcall target="jquery">
>> <param name="PLUGINS" value="${PLUGINS_ALL}" />
>> </antcall>
>> </target>
>>
> Your jquery target should look like this:
> <target name="jquery">
> <echo message="Building ${JQ}" />
> <mkdir dir="${DIST_DIR}" />
> <concat destfile="${JQ}">
> <fileset dir="${SRC_DIR}" includes="intro.js" />
> <fileset dir="${SRC_DIR}" includes="jquery/*.js" />
> <fileset dir="${SRC_DIR}" includes="event/*.js" />
> <fileset dir="${SRC_DIR}" includes="fx/*.js" />
> <fileset dir="${SRC_DIR}" includes="ajax/*.js" />
> <fileset dir="${PLUGIN_DIR}" includes="${PLUGINS}" />
> <fileset dir="${SRC_DIR}" includes="outro.js" />
> </concat>
> <echo message="${JQ} built." />
> </target>
Thanks Jörn, the line
<fileset dir="${PLUGIN_DIR}" includes="${PLUGINS}" />
was missing in latest SVN. Works for me now, both builds with single
jQuery or together with some plugins...
I've committed that.
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
