From 72fb36478b29bc6cd37dc4c7826f2be59b8af948 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sat, 11 Nov 2017 06:15:53 -0800 Subject: [PATCH] Improve Mac build process a bit Copy swt.jar to a directory in ${work} rather than ${mac.dir} as there's no need for droppings all over the build tree. Also cleaned up building ${maczip} a bit to avoid extra file copying, to put the uncompressed .app in ${dist}, etc. Removed some cruft from .gitignore while I was at it. The conditional nature of building macBundle kind of bothers me a little since if you have the correct swt.jar (which we could provide and have in some versions of the build system), you could build self-contained packages for macOS and for Windows. A self-contained package for Linux is also possible, but doesn't make much sense as Linux software installation routinely involves installing dependencies, either manually or automatically. --- .gitignore | 2 -- build/build.xml | 18 ++++++++---------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index ef55eb1..0b6ea29 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,6 @@ TODO.local work TestImage.* **/Thumbs.db -mac/AppleCommander.app/Contents/Resources/Java/AppleCommander.jar -mac/AppleCommander.app/Contents/Info.plist .settings/org.eclipse.jdt.ui.prefs .settings/org.eclipse.jdt.core.prefs build/ACBuild.properties diff --git a/build/build.xml b/build/build.xml index ddbdcc8..edfcaf4 100755 --- a/build/build.xml +++ b/build/build.xml @@ -19,7 +19,6 @@ - @@ -184,10 +183,9 @@ into something we can install using jarbundler to both copy and add to classpath. If you have a better way… :) --> - + - - - + - - - - + + + + - +