Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9999642859
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 47 lines (39 sloc) 2.584 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project echo with Jar-in-Jar Loader">
    <!--this file was created by Eclipse Runnable JAR Export Wizard-->
    <!--ANT 1.7 is required -->
    
    
    <target name="compile">
        <mkdir dir="build/classes"/>
        <javac classpathref="compile.classpath" srcdir="src" destdir="build/classes"/>
    </target>
    
    <path id="compile.classpath">
        <fileset dir="lib" includes="jetty-server-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="jetty-servlet-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="jetty-util-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="servlet-api-2.5.jar"/>
        <fileset dir="lib" includes="jetty-http-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="jetty-io-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="jetty-security-7.1.6.v20100715.jar"/>
        <fileset dir="lib" includes="jetty-continuation-7.1.6.v20100715.jar"/>
    </path>
    
    <target name="create_run_jar" depends="compile" >
        <jar destfile="echo.jar">
            <manifest>
                <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
                <attribute name="Rsrc-Main-Class" value="com.fiftyprojects.echo.JettyLauncher"/>
                <attribute name="Class-Path" value="."/>
                <attribute name="Rsrc-Class-Path" value="./ jetty-server-7.1.6.v20100715.jar jetty-servlet-7.1.6.v20100715.jar jetty-util-7.1.6.v20100715.jar servlet-api-2.5.jar jetty-http-7.1.6.v20100715.jar jetty-io-7.1.6.v20100715.jar jetty-security-7.1.6.v20100715.jar jetty-continuation-7.1.6.v20100715.jar"/>
            </manifest>
            <zipfileset src="jar-in-jar-loader.zip"/>
            <fileset dir="build/classes"/>
            <zipfileset dir="lib" includes="jetty-server-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="jetty-servlet-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="jetty-util-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="servlet-api-2.5.jar"/>
            <zipfileset dir="lib" includes="jetty-http-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="jetty-io-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="jetty-security-7.1.6.v20100715.jar"/>
            <zipfileset dir="lib" includes="jetty-continuation-7.1.6.v20100715.jar"/>
        </jar>
    </target>
</project>



Something went wrong with that request. Please try again.