settingsLogin | Registersettings

What software do you use to package ePADD?

+2 votes

I have downloaded the current version of ePADD from http://suif.stanford.edu/~hangal/epadd/ and noted that you provide it as an image (ePADD.dmg), as a Windows executable (ePADD.exe) and as a java jar file. I was wondering what software was used to produce the .dmg and .exe files?

asked Jun 16, 2015 by anonymous

1 Answer

0 votes

We use Launch4j (for windows) and oracle AppBunder with hdiutil

Please see snippets of our ant build script below, if it helps.

    <target name="exe">
            <condition property="launch4j.dir" value="launch4j-3.3-macos10.7">
                <matches string="${os.version}" pattern="^10.[1234567]." />
            </condition>
            <condition property="launch4j.dir" value="launch4j-macos10.8">
                <matches string="${os.version}" pattern="^10.[89]." />
            </condition>
            <taskdef name="launch4j" classname="net.sf.launch4j.ant.Launch4jTask" classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar" />
            <launch4j configFile="${launch4j.dir}/epadd.xml" />
    </target>


    <taskdef name="bundleapp"
             classname="com.oracle.appbundler.AppBundlerTask"
             classpath="lib/appbundler-1.0.jar" />
    <target name="macapp">
        <mkdir dir="dist/ePADD" /> <!-- dist/ePADD becuase the vol. name on the dmg needs to be Muse and not dist. -->
        <bundleapp outputdirectory="dist/ePADD"
            name="ePADD"
            displayname="ePADD"
            identifier="components.epadd"
            icon="lib/epadd.icns"
            mainclassname="edu.stanford.epadd.launcher.TomcatMain">
            <runtime dir="${env.JAVA_HOME}" />
            <classpath file="epadd-standalone.jar" />
            <option value="-Xmx2g"/>
        </bundleapp>
        <exec executable="hdiutil">
            <arg value="create"/>
            <arg value="ePADD.dmg"/>
            <arg value="-srcfolder"/>
            <arg value="./dist/ePADD"/>
            <arg value="-ov"/>
        </exec>

    </target>
answered Jun 17, 2015 by Sudheendra
edited Jun 18, 2015 by admin

Thank you for the quick response. This is very useful.
Grainne.

ePADD is a software package developed by Stanford University's Special Collections & University Archives that supports archival processes around the appraisal, ingest, processing, discovery, and delivery of email archives.
...