Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major overhaul of project structure, to be more maven compatible.
Added native packaging with fx:deploy
- Loading branch information
Showing
74 changed files
with
675 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="src" path="src/test/java"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- create proper windows installer, either with javapackager from JDK or with WiX toolkit directly | ||
- Allow finer grained Explorer context menu, editing | ||
- Investigate moving the whole thing to javascript useing one of :https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js#javajvm | ||
- Investigate moving the whole thing to javascript useing one of :https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js#javajvm | ||
- DDE library http://jdde.pretty-tools.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<project name="auto-pay-rev" default="deploy-bundle" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant"> | ||
<target name="deploy-bundle"> | ||
<taskdef resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant" classpath="${java.home}\..\lib\ant-javafx.jar:${staging.dir}"/> | ||
|
||
<fx:application id="pmedit" name="${app.name}" mainClass="${app.main.class}" toolkit="swing" version="${app.version}" /> | ||
|
||
<fx:resources id="pmeditDeploy" > | ||
<fx:fileset dir="${dist.dir}/" includes="${app.main.jar} "/> | ||
<fx:fileset os="windows" dir="${dist.dir}/win/app/" includes="*" /> | ||
<fx:fileset os="windows" dir="${dist.dir}/win/com/pretty_tools/dde" includes="*.dll" /> | ||
</fx:resources> | ||
|
||
|
||
<!-- | ||
<fx:resources id="pmeditRes"> | ||
<fx:fileset dir="${dist.dir}/win/app/" includes="*" /> | ||
<fx:fileset type="native" dir="${dist.dir}/win/" includes="jdde-native.jar" /> | ||
</fx:resources> | ||
<fx:jar destfile="${dist.dir}/aaa-${app.main.jar}"> | ||
<fx:application refid="pmedit" /> | ||
<fx:fileset dir="${dist.dir}/" includes="${app.main.jar} "/> | ||
<fx:resources refid="pmeditRes"/> | ||
</fx:jar> | ||
--> | ||
|
||
|
||
<fx:deploy verbose="true" nativeBundles="${native.bundle}" outdir="${dist.dir}" outfile="${app.bundle.name}"> | ||
<fx:application refId="pmedit" /> | ||
|
||
<fx:info title="${app.title}"> | ||
<fx:association extension="pdf" mimetype="application/pdf" description="PDF file" /> | ||
</fx:info> | ||
|
||
|
||
<fx:preferences menu="true" shortcut="true"/> | ||
|
||
|
||
<fx:resources refid="pmeditDeploy"/> | ||
|
||
<fx:platform j2se="1.6"> | ||
<fx:jvmarg value="-Djava.library.path=$APPDIR\app"/> | ||
</fx:platform> | ||
|
||
<fx:bundleArgument arg="win.menuGroup" value="Pdf Metadata Editor"/> | ||
|
||
|
||
<fx:secondaryLauncher appDescription="Batch Pdf metadata editoring" title="Batch ${app.title}" name="Batch${app.name}" mainClass="${app.main.class}" toolkit="swing" version="${app.version}" menu="true"> | ||
<fx:argument>batch-gui-cmdline</fx:argument> | ||
</fx:secondaryLauncher> | ||
</fx:deploy> | ||
|
||
|
||
</target> | ||
</project> |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.