mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
java 8 migration
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<classpathentry kind="lib" path="lib/jep-2.4.1.jar"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/diylc-core"/>
|
||||
<classpathentry kind="lib" path="lib/xstream-1.4.3.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_45"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_121"/>
|
||||
<classpathentry kind="lib" path="lib/java-http-proxy.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;Library&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;DIYLC&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;diylc-core&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;diylc-library&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;default/&gt;&#13;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_45"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_121"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.diylc.DIYLCStarter"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="diylc-swing"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-splash:splash.png -Xms256m -Xmx512m -Dorg.diylc.scriptRun=true -Ddorg.diylc.debugComponentAreas=true"/>
|
||||
|
||||
@@ -73,7 +73,27 @@
|
||||
</target>
|
||||
|
||||
<target name="mac" depends="jar">
|
||||
<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" />
|
||||
<echo>Compile with JDK ${java.home}</echo>
|
||||
<exec executable="javapackager">
|
||||
<arg value="-version"/>
|
||||
</exec>
|
||||
<exec executable="javapackager">
|
||||
<arg value="-deploy"/>
|
||||
<arg value="-Bruntime=${java.home}"/>
|
||||
<arg value="-native"/><arg value="image"/>
|
||||
<arg value="-srcdir"/><arg value="${jar.dir}"/>
|
||||
<arg value="-srcfiles"/><arg value="diylc.jar"/>
|
||||
<arg value="-srcfiles"/><arg value="lib/**/*.jar"/>
|
||||
<arg value="-srcfiles"/><arg value="library/**/*.jar"/>
|
||||
<arg value="-outdir"/><arg value="build"/>
|
||||
<arg value="-outfile"/><arg value="${APP_DIR_NAME}"/>
|
||||
<arg value="-appclass"/><arg value="${main.class}"/>
|
||||
<arg value="-name"/><arg value="DIYLC"/>
|
||||
<arg value="-title"/><arg value="DIY Layout Creator"/>
|
||||
<arg value="-nosign"/>
|
||||
<arg value="-v"/>
|
||||
</exec>
|
||||
<!--<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" />
|
||||
<jarbundler bundleid="org.diylc" dir="${jar.dir}" name="DIYLC" version="${diylc.version}" mainclass="${main.class}" stubfile="JavaApplicationStub" vmoptions="splash:splash.png -Xms512m -Xmx2048m -Dorg.diylc.scriptRun=true" icon="icons/diylc.icns" workingdirectory="$APP_PACKAGE/Contents/Resources" infostring="DIY Layout Creator by bancika (diy-fever.com)" splashfile="$APP_PACKAGE/Contents/Resources/splash.png">
|
||||
<jarfileset dir="${jar.dir}">
|
||||
<include name="diylc.jar" />
|
||||
@@ -86,11 +106,11 @@
|
||||
<include name="templates**/*.diy" />
|
||||
<include name="themes**/*.xml" />
|
||||
</resourcefileset>
|
||||
<javaproperty name="apple.laf.useScreenMenuBar" value="true" />
|
||||
<javaproperty name="apple.laf.useScreenMenuBar" value="true" />-->
|
||||
<!--<documenttype name="DIYLC Project"
|
||||
extensions="diylc"
|
||||
role="Editor"/>-->
|
||||
</jarbundler>
|
||||
<!--</jarbundler>-->
|
||||
</target>
|
||||
|
||||
<target name="win" depends="jar">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user