mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 00:08:51 -05:00
* fuck svnant, svnkit, and whatnot -> just use cmdline svn to get the revision number
This commit is contained in:
parent
14c4bc7c01
commit
6f68f0c00e
20
build.xml
20
build.xml
@ -119,7 +119,7 @@
|
||||
<zipfileset src="${dir.lib}/jna.jar">
|
||||
<include name="com/sun/jna/**" />
|
||||
</zipfileset>
|
||||
|
||||
|
||||
<zipfileset src="${dir.lib}/platform.jar">
|
||||
<include name="com/sun/jna/platform/win32/**" />
|
||||
</zipfileset>
|
||||
@ -150,12 +150,12 @@
|
||||
<zipfileset src="${dir.lib}/sevenzipjbinding.jar">
|
||||
<include name="net/sf/sevenzipjbinding/**" />
|
||||
</zipfileset>
|
||||
|
||||
|
||||
<!-- Ivy for @Grapes automatic dependency management -->
|
||||
<zipfileset src="${dir.lib}/scripting/ivy.jar">
|
||||
<include name="org/apache/ivy/**" />
|
||||
</zipfileset>
|
||||
|
||||
|
||||
<!-- AntBuilder including dependencies for ant-javamail, ant-commons-net and ant-jsch -->
|
||||
<zipfileset src="${dir.lib}/scripting/ant.jar">
|
||||
<include name="org/apache/tools/**" />
|
||||
@ -461,18 +461,8 @@
|
||||
|
||||
|
||||
<target name="svn-update">
|
||||
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml">
|
||||
<classpath>
|
||||
<fileset dir="${dir.lib}/build" includes="*.jar" />
|
||||
</classpath>
|
||||
</typedef>
|
||||
<svnSetting id="svn.settings" svnkit="true" javahl="false" />
|
||||
<svn refid="svn.settings">
|
||||
<update dir="${dir.source}" revision="HEAD" recurse="false" />
|
||||
</svn>
|
||||
<svn refid="svn.settings">
|
||||
<status path="${dir.source}" revisionProperty="svn.revision" />
|
||||
</svn>
|
||||
<taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${dir.lib}/groovy.jar" />
|
||||
<groovy>properties['svn.revision'] = 'svn update'.execute().text.replaceAll(/\D/, '')</groovy>
|
||||
<echo>Revision: ${svn.revision}</echo>
|
||||
</target>
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user