OSX build

This commit is contained in:
bancika
2012-09-18 10:25:20 +00:00
parent eed1d9601c
commit ee0a503bbb
11 changed files with 23 additions and 1 deletions
@@ -1,4 +1,5 @@
<project name="diylc-swing" basedir="." default="jar"> <project name="diylc-swing" basedir="." default="jar">
<property name="src.dir" value="src" /> <property name="src.dir" value="src" />
<property name="lib.dir" value="${basedir}/lib" /> <property name="lib.dir" value="${basedir}/lib" />
@@ -67,6 +68,26 @@
</manifest> </manifest>
</jar> </jar>
</target> </target>
<target name="mac" depends="jar">
<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" />
<jarbundler bundleid="org.diylc"
dir="${jar.dir}"
name="DIYLC"
mainclass="${main.class}"
stubfile="JavaApplicationStub"
vmoptions="-Xms512m -Xmx2048m -Dorg.diylc.scriptRun=true"
icon="icons/diylc.icns">
<jarfileset dir="${jar.dir}">
<include name="diylc.jar" />
<include name="lib/**/*.jar" />
<include name="library/**/*.jar" />
</jarfileset>
<!--<documenttype name="DIYLC Project"
extensions="diylc"
role="Editor"/>-->
</jarbundler>
</target>
<target name="javadoc"> <target name="javadoc">
<javadoc access="public" author="true" classpathref="class.path" destdir="doc" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" source="1.6" splitindex="true" use="true" version="true"> <javadoc access="public" author="true" classpathref="class.path" destdir="doc" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" source="1.6" splitindex="true" use="true" version="true">
Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

@@ -46,6 +46,7 @@ public class DIYLCStarter {
+ " by " + System.getProperty("java.vm.vendor")); + " by " + System.getProperty("java.vm.vendor"));
LOG.debug("OS: " + System.getProperty("os.name") + " " LOG.debug("OS: " + System.getProperty("os.name") + " "
+ System.getProperty("os.version")); + System.getProperty("os.version"));
LOG.debug("Classpath: " + System.getProperty("java.class.path"));
LOG.info("Starting DIYLC with working directory " LOG.info("Starting DIYLC with working directory "
+ System.getProperty("user.dir")); + System.getProperty("user.dir"));