All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ing.AntBuildFiles.1.0.12.source-code.build-extensions.xml Maven / Gradle / Ivy

Go to download

This Pom project is supposed to collect Ant files configuration. Sensible information is collected and encrypted, as of certificates and private keys mustn't be shared unencrypted.

There is a newer version: 1.0.19
Show newest version
<?xml version="1.0" encoding="ISO-8859-15"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<project default="jar" basedir=".">  
        
        <!-- KERNEL -->
        <property name="co.prj.os.ei.kernel.jar" value="${parent.prj}-${co.prj.os}-${co.prj.os.arch}-ext-kernel_signed.jar"/>
        <property name="co.prj.os.ei.kernel.jar.url" value="${parent.url}/${co.prj.os.ei.kernel.jar}"/>
        <property name="co.prj.os.ei.kernel.jar.url.token" value="PROJECTEXTKERNELJARURL"/>
        <property name="co.prj.os.ei.kernel.version.spec" value="${parent.prj.version.spec}"/>
        <property name="co.prj.os.ei.kernel.version.spec.token" value="PROJECTEXTKERNELVERSIONSPEC"/>
        <property name="co.prj.os.ei.kernel.version.impl" value="${parent.prj.version.impl}"/>
        <property name="co.prj.os.ei.kernel.version.impl.token" value="PROJECTEXTKERNELVERSIONIMPL"/>
        <property name="co.prj.os.ei.kernel" value="${parent.prj.binary}.kernel"/>
        <property name="co.prj.os.ei.kernel.token" value="PROJECTEXTKERNELNAME"/>
        <property name="co.prj.os.ei.kernel.vendor.id" value="${parent.prj.binary}"/>
        <property name="co.prj.os.ei.kernel.vendor.id.token" value="PROJECTEXTKERNELVENDORID"/>
        <!-- NATIVE -->
        <property name="co.prj.os.ei.native.jar" value="${parent.prj}-${co.prj.os}-${co.prj.os.arch}-ext-native_signed.jar"/>
        <property name="co.prj.os.ei.native.jar.url" value="${parent.url}/${co.prj.os.ei.native.jar}"/>
        <property name="co.prj.os.ei.native.jar.url.token" value="PROJECTEXTNATIVEJARURL"/>
        <property name="co.prj.os.ei.native.version.spec" value="${parent.prj.version.spec}"/>
        <property name="co.prj.os.ei.native.version.spec.token" value="PROJECTEXTNATIVEVERSIONSPEC"/>
        <property name="co.prj.os.ei.native.version.impl" value="${parent.prj.version.impl}"/>
        <property name="co.prj.os.ei.native.version.impl.token" value="PROJECTEXTNATIVEVERSIONIMPL"/>
        <property name="co.prj.os.ei.native" value="${parent.prj.binary}.native"/>
        <property name="co.prj.os.ei.native.token" value="PROJECTEXTNATIVENAME"/>
        <property name="co.prj.os.ei.native.vendor.id" value="${parent.prj.binary}"/>
        <property name="co.prj.os.ei.native.vendor.id.token" value="PROJECTEXTNATIVEVENDORID"/>
        <!-- LIB -->
        <property name="co.prj.os.ei.lib.jar" value="${parent.prj}-${co.prj.os}-${co.prj.os.arch}-ext-lib_signed.jar"/>
        <property name="co.prj.os.ei.lib.jar.url" value="${parent.url}/${co.prj.os.ei.lib.jar}"/>
        <property name="co.prj.os.ei.lib.jar.url.token" value="PROJECTEXTLIBJARURL"/>
        <property name="co.prj.os.ei.lib.version.spec" value="${parent.prj.version.spec}"/>
        <property name="co.prj.os.ei.lib.version.spec.token" value="PROJECTEXTLIBVERSIONSPEC"/>
        <property name="co.prj.os.ei.lib.version.impl" value="${parent.prj.version.impl}"/>
        <property name="co.prj.os.ei.lib.version.impl.token" value="PROJECTEXTLIBVERSIONIMPL"/>
        <property name="co.prj.os.ei.lib" value="${parent.prj.binary}.lib"/>
        <property name="co.prj.os.ei.lib.token" value="PROJECTEXTLIBNAME"/>
        <property name="co.prj.os.ei.lib.vendor.id" value="${parent.prj.binary}"/>
        <property name="co.prj.os.ei.lib.vendor.id.token" value="PROJECTEXTLIBVENDORID"/>
        <!-- BIN -->
        <property name="co.prj.os.ei.bin.jar" value="${parent.prj}-${co.prj.os}-${co.prj.os.arch}-ext_signed.jar"/>
        <property name="co.prj.os.ei.bin.jar.url" value="${parent.url}/${co.prj.os.ei.bin.jar}"/>
        <property name="co.prj.os.ei.bin.jar.url.token" value="PROJECTEXTBINJARURL"/>
        <property name="co.prj.os.ei.bin.version.spec" value="${parent.prj.version.spec}"/>
        <property name="co.prj.os.ei.bin.version.spec.token" value="PROJECTEXTBINVERSIONSPEC"/>
        <property name="co.prj.os.ei.bin.version.impl" value="${parent.prj.version.impl}"/>
        <property name="co.prj.os.ei.bin.version.impl.token" value="PROJECTEXTBINVERSIONIMPL"/>
        <property name="co.prj.os.ei.bin" value="${parent.prj.binary}.bin"/>
        <property name="co.prj.os.ei.bin.token" value="PROJECTEXTBINNAME"/>
        <property name="co.prj.os.ei.bin.vendor.id" value="${parent.prj.binary}"/>
        <property name="co.prj.os.ei.bin.vendor.id.token" value="PROJECTEXTBINVENDORID"/>
        <!-- PROPS -->
        <property name="co.prj.os.ei.props.jar" value="${parent.prj}-${co.prj.os}-${co.prj.os.arch}-ext-props_signed.jar"/>
        <property name="co.prj.os.ei.props.jar.url" value="${parent.url}/${co.prj.os.ei.props.jar}"/>
        <property name="co.prj.os.ei.props.jar.url.token" value="PROJECTEXTPROPSJARURL"/>
        <property name="co.prj.os.ei.props.version.spec" value="${parent.prj.version.spec}"/>
        <property name="co.prj.os.ei.props.version.spec.token" value="PROJECTEXTPROPSVERSIONSPEC"/>
        <property name="co.prj.os.ei.props.version.impl" value="${parent.prj.version.impl}"/>
        <property name="co.prj.os.ei.props.version.impl.token" value="PROJECTEXTPROPSVERSIONIMPL"/>
        <property name="co.prj.os.ei.props" value="${parent.prj.binary}.props"/>
        <property name="co.prj.os.ei.props.token" value="PROJECTEXTPROPSNAME"/>
        <property name="co.prj.os.ei.props.vendor.id" value="${parent.prj.binary}"/>
        <property name="co.prj.os.ei.props.vendor.id.token" value="PROJECTEXTPROPSVENDORID"/>
        <!-- END EXTENSIONS /-->
        
        <!-- EXTENSIONS INSTALLER -->
        <fileset id="extension-bundle.jars" dir="${lib}">
                <include name="**/${extension-bundle.jarfile}"/>
        </fileset>
        <target name="build-jar-extension" depends="build-jar" description="Build extension jars">
        
                <mkdir dir="${dist.extension}"/>
        
                <copy overwrite="true" file="${resources.all.dir}/ext.jnlp" tofile="${dist.extension}/${jnlp-extension.file}">
                        <filterset refid="filtertokens"/>
                </copy>
                <copy overwrite="true" file="${resources.all.dir}/ext-all.jnlp" tofile="${dist.extension}/${jnlp-extension.all.file}">
                        <filterset refid="filtertokens"/>
                </copy>
                <copy overwrite="true" todir="${dist.extension}">
            
                        <fileset refid="resources.all.jars"/>
            
                        <fileset refid="resources.os.all.jars"/>
            
                        <fileset refid="resources.os.arch.jars"/>
                        <mapper type="glob" from="${parent.prj}*" to="${parent.prj}*"/>
                </copy>
                <copy overwrite="true" todir="${dist}">
                        <fileset refid="resources.all.jars"/>
                        <fileset refid="resources.os.all.jars"/>
                        <fileset refid="resources.os.arch.jars"/>
                        <mapper type="regexp" from="^[^(${parent.prj})](.*)" to="\0"/>
            
                </copy>
        
        </target>
        <target name="DO-jar-extension" depends="clean, jar, build-jar-extension" description="Sign JAR file">
                <copy todir="${dist.extension}" file="${dist}/${extension-lib-signed.jarfile}"/>
                <copy todir="${dist.extension}" file="${dist}/${extension-props-signed.jarfile}"/>
                <copy todir="${dist.extension}" file="${dist}/${extension-native-signed.jarfile}"/>
                <copy tofile="${dist.extension}/${extension-signed.jarfile}" file="${dist}/${signed.jarfile}"/>
                <checksum algorithm="MD5">
                        <fileset dir="${dist.extension}">
                                <exclude name="**/*.MD5"/>
                        </fileset>
                </checksum>
        </target>
        <target name="update-template" depends="DO-jar-extension" description="Update target projects templates">
                <foreach
                        inheritall="true"
                        list="${co.prj.template-project.list}"
                        target="_update-template-task"
                        param="template-project"/>        
        </target> 
        <target name="_update-template-task">
                <copy todir="${target-path}/${template-project}/resources/${co.prj.os}/${co.prj.os.arch}/">
                        <fileset dir="${dist.extension}">
                                <include name="*.jar"></include>
                        </fileset>
                </copy>
        </target>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy