integrated Ivy install
This commit is contained in:
parent
7a390c49cc
commit
9a2ae0665e
33
build.xml
33
build.xml
@ -129,5 +129,38 @@
|
|||||||
</zip>
|
</zip>
|
||||||
<delete file="${store.dir}/temp_final.jar"/>
|
<delete file="${store.dir}/temp_final.jar"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<property name="ivy.install.version" value="2.1.0-rc2" />
|
||||||
|
<condition property="ivy.home" value="${env.IVY_HOME}">
|
||||||
|
<isset property="env.IVY_HOME" />
|
||||||
|
</condition>
|
||||||
|
<property name="ivy.home" value="${user.home}/.ant" />
|
||||||
|
<property name="ivy.jar.dir" value="${ivy.home}/lib" />
|
||||||
|
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
|
||||||
|
|
||||||
|
<target name="download-ivy" unless="offline">
|
||||||
|
|
||||||
|
<mkdir dir="${ivy.jar.dir}"/>
|
||||||
|
<!-- download Ivy from web site so that it can be used even without any special installation -->
|
||||||
|
<get src="http://repo2.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
|
||||||
|
dest="${ivy.jar.file}" usetimestamp="true"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="init-ivy" depends="download-ivy">
|
||||||
|
<!-- try to load ivy here from ivy home, in case the user has not already dropped
|
||||||
|
it into ant's lib dir (note that the latter copy will always take precedence).
|
||||||
|
We will not fail as long as local lib dir exists (it may be empty) and
|
||||||
|
ivy is in at least one of ant's lib dir or the local lib dir. -->
|
||||||
|
<path id="ivy.lib.path">
|
||||||
|
<fileset dir="${ivy.jar.dir}" includes="*.jar"/>
|
||||||
|
|
||||||
|
</path>
|
||||||
|
<taskdef resource="org/apache/ivy/ant/antlib.xml"
|
||||||
|
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -261,7 +261,7 @@ made subject to such option by the copyright holder.
|
|||||||
<macrodef name="extend-manifest" uri="http://www.netbeans.org/ns/j2se-project/jnlp">
|
<macrodef name="extend-manifest" uri="http://www.netbeans.org/ns/j2se-project/jnlp">
|
||||||
<element name="customize"/>
|
<element name="customize"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
<manifest file="${tmp.manifest.file}" mode="update">
|
<manifest file="${tmp.manifest.file}" mode="update" encoding="UTF-8">
|
||||||
<customize/>
|
<customize/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</sequential>
|
</sequential>
|
||||||
@ -306,7 +306,7 @@ made subject to such option by the copyright holder.
|
|||||||
|
|
||||||
<target name="-copy-tmp-manifest" if="manifest.file">
|
<target name="-copy-tmp-manifest" if="manifest.file">
|
||||||
<property name="tmp.manifest.file" value="${build.dir}/manifest.mf"/>
|
<property name="tmp.manifest.file" value="${build.dir}/manifest.mf"/>
|
||||||
<copy file="${manifest.file}" tofile="${build.dir}/manifest.mf"/>
|
<copy file="${manifest.file}" tofile="${build.dir}/manifest.mf" encoding="${manifest.encoding}" outputencoding="UTF-8"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="-set-mixed-code-properties" depends="-check-signing-possible" if="jnlp.signed.true+signjars.task.available">
|
<target name="-set-mixed-code-properties" depends="-check-signing-possible" if="jnlp.signed.true+signjars.task.available">
|
||||||
|
@ -261,7 +261,7 @@ made subject to such option by the copyright holder.
|
|||||||
<macrodef name="extend-manifest" uri="http://www.netbeans.org/ns/j2se-project/jnlp">
|
<macrodef name="extend-manifest" uri="http://www.netbeans.org/ns/j2se-project/jnlp">
|
||||||
<element name="customize"/>
|
<element name="customize"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
<manifest file="${tmp.manifest.file}" mode="update" encoding="UTF-8">
|
<manifest file="${tmp.manifest.file}" mode="update">
|
||||||
<customize/>
|
<customize/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</sequential>
|
</sequential>
|
||||||
@ -306,7 +306,7 @@ made subject to such option by the copyright holder.
|
|||||||
|
|
||||||
<target name="-copy-tmp-manifest" if="manifest.file">
|
<target name="-copy-tmp-manifest" if="manifest.file">
|
||||||
<property name="tmp.manifest.file" value="${build.dir}/manifest.mf"/>
|
<property name="tmp.manifest.file" value="${build.dir}/manifest.mf"/>
|
||||||
<copy file="${manifest.file}" tofile="${build.dir}/manifest.mf" encoding="${manifest.encoding}" outputencoding="UTF-8"/>
|
<copy file="${manifest.file}" tofile="${build.dir}/manifest.mf"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="-set-mixed-code-properties" depends="-check-signing-possible" if="jnlp.signed.true+signjars.task.available">
|
<target name="-set-mixed-code-properties" depends="-check-signing-possible" if="jnlp.signed.true+signjars.task.available">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#Wed, 10 Jan 2018 10:18:15 +0100
|
#Sun, 14 Jan 2018 22:18:16 +0100
|
||||||
annotation.processing.enabled=true
|
annotation.processing.enabled=true
|
||||||
annotation.processing.enabled.in.editor=false
|
annotation.processing.enabled.in.editor=false
|
||||||
annotation.processing.processors.list=
|
annotation.processing.processors.list=
|
||||||
|
Loading…
Reference in New Issue
Block a user