src.dir                         = src
icon.dir                        = ${src.dir}/img
lang.dir                        = ${src.dir}/lang
help.dir                        = ${src.dir}/help

define.encoding                 = ISO-8859-1

# Auch wenn Jameica zum Start seit dem Nightly-Build vom 05.12.2024 Java 17 braucht (wegen SWT)
# bleibt hier erstmal noch Java 11 stehen. Es gibt einige Plugins, die nur als Nightly-Build
# verfügbar sind und auch gegen das Nightly-Build von Jameica compiliert werden, dennoch aber
# auch auf dem aktuellen Jameica-Release lauffähig sein sollen
define.java.version             = 11

define.projectname              = jameica
define.jarfilename              = ${define.projectname}.jar
define.jarfilename.win32        = ${define.projectname}-win32.jar
define.jarfilename.win64        = ${define.projectname}-win64.jar
define.jarfilename.macos64      = ${define.projectname}-macos64.jar
define.jarfilename.macosaarch64 = ${define.projectname}-macos-aarch64.jar
define.jarfilename.linux        = ${define.projectname}-linux.jar
define.jarfilename.linux64      = ${define.projectname}-linux64.jar
define.jarfilename.linuxarm64   = ${define.projectname}-linuxarm64.jar
define.jarfilename.openbsd      = ${define.projectname}-openbsd.jar
define.srcfilename              = ${define.projectname}-${system.version}.src.zip
define.javadocfilename 	        = ${define.projectname}.javadoc.zip
define.commonlibs               = lib/bouncycastle/bcpkix-jdk18on-1.72.jar \
                                  lib/bouncycastle/bcprov-jdk18on-1.72.jar \
                                  lib/bouncycastle/bcutil-jdk18on-1.72.jar \
                                  lib/java_ee/activation-1.1.1.jar \
                                  lib/java_ee/jaxb-api-2.4.0-b180725.0427.jar \
                                  lib/java_ee/jaxb-runtime-2.4.0-b180725.0644.jar \
                                  lib/java_ee/javax.annotation-api-1.3.2.jar \
								                  lib/java_ee/istack-commons-runtime-3.0.5.jar \
                                  lib/java_ee/txw2-2.4.0-b180725.0644.jar \
                                  lib/de_willuhn_ds/de_willuhn_ds.jar \
                                  lib/de_willuhn_util/de_willuhn_util.jar \
                                  lib/jakarta_commons/commons-cli-1.3.1.jar \
                                  lib/jakarta_commons/commons-collections-3.2.2.jar \
                                  lib/jakarta_commons/commons-lang-2.6.jar \
                                  lib/jakarta_commons/commons-logging-1.2.jar \
                                  lib/mozilla_rhino/rhino-1.7.14.jar \
                                  lib/mozilla_rhino/rhino-engine-1.7.14.jar \
                                  lib/nanoxml/nanoxml-2.2.3.jar \
                                  lib/paperclips/net.sf.paperclips_1.0.4.jar \
                                  lib/paperclips/net.sf.paperclips.ui_1.0.4.jar \
                                  lib/swt/org.eclipse.core.commands-3.10.300.jar \
                                  lib/swt/org.eclipse.equinox.common-3.17.0.jar \
                                  lib/swt/org.eclipse.osgi-3.18.200.jar \
                                  lib/swt/org.eclipse.jface-3.28.0.jar \
                                  lib/swt/org.eclipse.ui.forms_3.6.100.v20140422-1825.jar \
                                  lib/swt/com.ibm.icu_52.1.0.v201404241930.jar \
                                  lib/swtcalendar/swtcalendar.jar \
                                  lib/velocity/velocity-1.7.jar \
                                  lib/velocity/oro-2.0.8.jar \
                                  lib/splash.jar \
                                  lib/mckoi/mckoisqldb-1.0.5.jar \
                                  img \
                                  lang \
                                  help

define.package                  = de.willuhn.jameica
project.nightly                 = releases/nightly

project.release                 = releases/${system.version}-${build.number}
project.src                     = ${project.release}/src/classes
project.tmp                     = ${project.release}/tmp
project.javadoc                 = ${project.release}/javadoc
project.zipdir                  = ${project.release}/${define.projectname}
class.dir                       = ${project.tmp}/bin

project.zipfilename              = ${define.projectname}-${system.version}.zip
project.zipfilename.win32        = ${define.projectname}-win32-${system.version}.zip
project.zipfilename.win64        = ${define.projectname}-win64-${system.version}.zip
project.zipfilename.linux        = ${define.projectname}-linux-${system.version}.zip
project.zipfilename.linux64      = ${define.projectname}-linux64-${system.version}.zip
project.zipfilename.linuxarm64   = ${define.projectname}-linuxarm64-${system.version}.zip
project.zipfilename.macos64      = ${define.projectname}-macos64-${system.version}.zip
project.zipfilename.macosaarch64 = ${define.projectname}-macos-aarch64-${system.version}.zip
project.zipfilename.openbsd      = ${define.projectname}-openbsd-${system.version}.zip

classpath.win32                 = ${define.jarfilename} lib/swt/win32/swt.jar ${define.commonlibs}
classpath.win64                 = ${define.jarfilename} lib/swt/win64/swt.jar ${define.commonlibs}
classpath.linux                 = ${define.jarfilename} lib/swt/linux/swt.jar ${define.commonlibs}
classpath.linux64               = ${define.jarfilename} lib/swt/linux64/swt.jar ${define.commonlibs}
classpath.linuxarm64            = ${define.jarfilename} lib/swt/linux-arm64/swt.jar ${define.commonlibs}
classpath.macosaarch64          = ${define.jarfilename} lib/swt/macos-aarch64/swt.jar ${define.commonlibs}
classpath.macos64               = ${define.jarfilename} lib/swt/macos64/swt.jar ${define.commonlibs}
classpath.openbsd               = ${define.jarfilename} /usr/local/share/java/classes/swt.jar ${define.commonlibs}

## Wenn fuer Win32/Win64/MacOS64 ein JRE gebundelt werden soll, muss hier der Pfad zu der ZIP/TAR.GZ-Datei des JRE angegeben werden
## Ausserdem muss Ant dann mit dem Parameter "-Djre.embedd=true" aufgerufen werden
## Beispiel:
define.jre.win32                = ../jre/OpenJDK11U-jre_x86-32_windows_hotspot_11.0.18_10.zip
define.jre.win64                = ../jre/OpenJDK21U-jre_x64_windows_hotspot_21.0.6_7.zip
define.jre.macos64              = ../jre/OpenJDK21U-jre_x64_mac_hotspot_21.0.6_7.tar.gz
define.jre.macosaarch64         = ../jre/OpenJDK21U-jre_aarch64_mac_hotspot_21.0.6_7.tar.gz

signjar.keystore                = /home/willuhn/.jameica/jameica.ca/jameica.ca.keystore
signjar.storepass               = /home/willuhn/.jameica/jameica.ca/jameica.ca.storepass
signjar.alias                   = cn=jameica updates,o=olaf willuhn,ou=jameica.org,c=de
