[jQuery] Help with the SVN Build Process [u]
I've an ANT build for my development environment before and I added targets
to checkout/update the latest version from the SVN. The available tag
checks, if an SVN version exist (my eclispe project was initial empty), if
not an initial checkout is done, otherwise the sources are updated.
If you're interested, here is the ant snipplet for the SVN handling:
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask"/>
<available file="${targetdir}/.svn" type="dir"
property="already.checkout"/>
<!-- - - - - - - - - - - - - - - - - -
target: checkout newer sources from svn
- - - - - - - - - - - - - - - - - - -->
<target name="checkout" unless="already.checkout">
<echo level="info" message="Checkout HEAD versions to ${SRC_DIR}"/>
<svn javahl="true">
<checkout url="svn://jquery.com/jquery"
destPath="${SRC_DIR}"/>
</svn>
<property name="just.checkedout" value="true"/>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: checkout newer sources from svn
- - - - - - - - - - - - - - - - - - -->
<target name="update" unless="just.checkedout">
<echo level="info" message="Update HEAD versions on ${SRC_DIR}"/>
<svn javahl="true">
<update dir="${SRC_DIR}"/>
</svn>
</target>
Btw, what is the content of the jquery-lite version? is it the same
functionality as the jquery.js and the packed version but without the
comments?