wiki:JavaBuild

Version 1 (modified by cedric, 13 years ago) (diff)

--

Procédure de construction du package février 2012

Retour à la page de démarrage ..

Note : ce fichier est pour mémoire pour Cédric Aller chercher le plugins fatJar de éclipse le décompresser dans les plugins

<project name="FatJar STACOMI0.3.4665.jar (experimental)" default="main" basedir=".">
    <!-- this file was created by Fat-Jar Eclipse Plug-in -->
    <!-- the ANT-Export is in a very early stage, so this -->
    <!-- is only experimental, ANT 1.6 or above is        -->
    <!-- required, feedback is always welcome:            -->
    <!--       http://sourceforge.net/projects/fjep       -->
    <!-- uncomment the following lines if using ANT outside Eclipse -->
    <!--
        <property name="fjepPath" value="reference:file:plugins/net.sf.fjep.fatjar_0.0.31.jarfatjar.jar"/>
        <taskdef name="fatjar.build" classname="net.sf.fjep.anttask.FJBuildTask" classpath="${fjepPath}"/>
        <typedef name="fatjar.manifest" classname="net.sf.fjep.anttask.FJManifestType" classpath="${fjepPath}"/>
        <typedef name="fatjar.exclude" classname="net.sf.fjep.anttask.FJExcludeType" classpath="${fjepPath}"/>
        <typedef name="fatjar.jarsource" classname="net.sf.fjep.anttask.FJJarSourceType" classpath="${fjepPath}"/>
        <typedef name="fatjar.filesource" classname="net.sf.fjep.anttask.FJFileSourceType" classpath="${fjepPath}"/>
    -->
    <!-- uncomment the above lines to use ANT outside of Eclipse -->
    <target name="main">
        <fatjar.build onejar="true" output="STACOMI0.3.4665.jar">
            <fatjar.manifest mainclass="commun.LoginWindow"/>
            <fatjar.filesource path="E:\workspace\StacomiJAVA0.3" relpath="">
                <fatjar.exclude relpath=".apt_generated/"/>
                <fatjar.exclude relpath=".settings/"/>
                <fatjar.exclude relpath=".svn/"/>
                <fatjar.exclude relpath="doc/"/>
                <fatjar.exclude relpath="out/"/>
                <fatjar.exclude relpath="sql/"/>
                <fatjar.exclude relpath="UML/"/>
            </fatjar.filesource>
            <fatjar.jarsource file="E:\workspace\StacomiJAVA0.3\jaxen-1.1.1\jaxen-1.1.1.jar" relpath=""/>
            <fatjar.jarsource file="E:\workspace\StacomiJAVA0.3\dom4j-1.6.1\dom4j-1.6.1.jar" relpath=""/>
            <fatjar.jarsource file="E:\workspace\StacomiJAVA0.3\postgresql-8.4-702.jdbc4.jar" relpath=""/>
        </fatjar.build>
    </target>
</project>