Fixed build process
@@ -1,5 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project name="botejars-imported">
|
<project name="botejars-imported">
|
||||||
|
<property file="local.properties" />
|
||||||
|
<property name="jar.libs.dir" value="libs" />
|
||||||
|
|
||||||
<!-- override with i2pbase=path/to/source in local.properties -->
|
<!-- override with i2pbase=path/to/source in local.properties -->
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
@@ -23,21 +25,17 @@
|
|||||||
</fail>
|
</fail>
|
||||||
<echo message="Using I2P-Bote source at ${botebase}" />
|
<echo message="Using I2P-Bote source at ${botebase}" />
|
||||||
|
|
||||||
<target name="-pre-compile" depends="copyrouterlibs,copybotelibs" />
|
<target name="precompile" depends="copyrouterlibs,copybotelibs" />
|
||||||
|
|
||||||
<!--
|
<target name="preclean">
|
||||||
Creates the output directories if they don't exist yet.
|
<delete verbose="${verbose}">
|
||||||
-->
|
<fileset dir="${jar.libs.dir}">
|
||||||
<target name="-dirs">
|
<exclude name="mail.jar" />
|
||||||
<echo>Creating output directories if needed...</echo>
|
<exclude name="additionnal.jar" />
|
||||||
<mkdir dir="${resource.absolute.dir}" />
|
<exclude name="activation.jar" />
|
||||||
<mkdir dir="${gen.absolute.dir}" />
|
<exclude name="tokenautocomplete.jar" />
|
||||||
<mkdir dir="${out.absolute.dir}" />
|
</fileset>
|
||||||
<mkdir dir="${out.classes.absolute.dir}" />
|
</delete>
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="-pre-clean">
|
|
||||||
<delete dir="${jar.libs.dir}" verbose="${verbose}" />
|
|
||||||
<ant dir="${botebase}" inheritall="false" useNativeBasedir="true" >
|
<ant dir="${botebase}" inheritall="false" useNativeBasedir="true" >
|
||||||
<target name="clean" />
|
<target name="clean" />
|
||||||
</ant>
|
</ant>
|
||||||
@@ -49,7 +47,7 @@
|
|||||||
<fail unless="i2pbase" message="The I2P environment variable is not set.${line.separator}It must point to an I2P installation. It is usually a path of the form ${line.separator}/xxx/yyy/i2p."/>
|
<fail unless="i2pbase" message="The I2P environment variable is not set.${line.separator}It must point to an I2P installation. It is usually a path of the form ${line.separator}/xxx/yyy/i2p."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="copyrouterlibs" depends="-dirs,checki2pbase" >
|
<target name="copyrouterlibs" depends="checki2pbase" >
|
||||||
<!-- core -->
|
<!-- core -->
|
||||||
<!-- remove classes that are overridden -->
|
<!-- remove classes that are overridden -->
|
||||||
<!-- lots of unneeded stuff could be deleted here -->
|
<!-- lots of unneeded stuff could be deleted here -->
|
||||||
@@ -76,7 +74,7 @@
|
|||||||
</ant>
|
</ant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="copybotelibs" depends="-dirs,buildbote">
|
<target name="copybotelibs" depends="buildbote">
|
||||||
<!-- bote -->
|
<!-- bote -->
|
||||||
<jar destfile="${jar.libs.dir}/i2pbote.jar" >
|
<jar destfile="${jar.libs.dir}/i2pbote.jar" >
|
||||||
<!-- remove classes that are overridden or stubbed out -->
|
<!-- remove classes that are overridden or stubbed out -->
|
||||||
@@ -17,10 +17,11 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ant.importBuild('botejars.xml')
|
||||||
|
preBuild.dependsOn precompile
|
||||||
|
clean.dependsOn preclean
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.android.support:appcompat-v7:+'
|
compile 'com.android.support:appcompat-v7:+'
|
||||||
compile files('libs/mail.jar')
|
compile fileTree(dir: 'libs', include: '*.jar')
|
||||||
compile files('libs/additionnal.jar')
|
|
||||||
compile files('libs/activation.jar')
|
|
||||||
compile files('libs/tokenautocomplete.jar')
|
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 171 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 976 B After Width: | Height: | Size: 976 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 182 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |