//libDir = j8libDir
libDir = j11libDir
libDistDir = j8libDir
+ digestonlyDir = j8digestonlyDir
compile_source_compatibility = 1.8
compile_target_compatibility = 1.8
// these are getdown.txt properties defined dependent on the JAVA_VERSION
JAVA_INTEGER_VERSION = string("11")
libDir = j11libDir
libDistDir = j11libDir
+ digestonlyDir = j11digestonlyDir
compile_source_compatibility = 11
compile_target_compatibility = 11
getdownAltJavaMinVersion = string(findProperty("getdown_alt_java11_min_version"))
}
}
+ fileTree(dir: digestonlyDir, include: ["*"]).getFiles().sort().each{f ->
+ def name = f.getName()
+ def line = "digestonly = ${getdownAppDistDir}/${name}\n"
+ getdownTextString += line
+ copy {
+ from f.getPath()
+ into getdownAppDir
+ }
+ }
+
// NOT USING MODULES YET, EVERYTHING SHOULD BE IN dist
/*
if (JAVA_VERSION.equals("11")) {
-1.8.3-1.2.6_FJVL
+1.8.3-1.2.7_FJVL
-1.8.3-1.2.6_JVL
+1.8.3-1.2.7_JVL
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.2.6_FJVL</version>
+ <version>1.8.3-1.2.7_FJVL</version>
</parent>
<artifactId>getdown-ant</artifactId>
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.2.6_FJVL</version>
+ <version>1.8.3-1.2.7_FJVL</version>
</parent>
<artifactId>getdown-core</artifactId>
return _resources;
}
+ public List<Resource> getDigestOnly ()
+ {
+ return _digestonly;
+ }
+
/**
* Returns the digest of the given {@code resource}.
*/
// clear our arrays as we may be reinitializing
_codes.clear();
_resources.clear();
+ _digestonly.clear();
_auxgroups.clear();
_jvmargs.clear();
_appargs.clear();
parseResources(config, "presource", Resource.PRELOAD, _resources);
parseResources(config, "nresource", Resource.NATIVE, _resources);
+ parseResources(config, "digestonly", Resource.NORMAL, _digestonly);
+
// parse our auxiliary resource groups
for (String auxgroup : config.getList("auxgroups")) {
ArrayList<Resource> codes = new ArrayList<>();
protected List<Resource> _codes = new ArrayList<>();
protected List<Resource> _resources = new ArrayList<>();
+ protected List<Resource> _digestonly = new ArrayList<>();
protected boolean _useCodeCache;
protected int _codeCacheRetentionDays;
rsrcs.add(app.getConfigResource());
rsrcs.addAll(app.getCodeResources());
rsrcs.addAll(app.getResources());
+ rsrcs.addAll(app.getDigestOnly());
for (Application.AuxGroup ag : app.getAuxGroups()) {
rsrcs.addAll(ag.codes);
rsrcs.addAll(ag.rsrcs);
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.2.6_FJVL</version>
+ <version>1.8.3-1.2.7_FJVL</version>
</parent>
<artifactId>getdown-launcher</artifactId>
if [ x$JVLVERSION != x ]; then
export VERSION=$JVLVERSION
else
- export VERSION=1.8.3-1.2.6_JVL
+ export VERSION=1.8.3-1.2.7_JVL
fi
if [ x${VERSION%_JVL} = x$VERSION ]; then
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
<packaging>pom</packaging>
- <version>1.8.3-1.2.6_FJVL</version>
+ <version>1.8.3-1.2.7_FJVL</version>
<name>getdown</name>
<description>An application installer and updater.</description>
jre_installs_dir = ~/buildtools/jre
j8libDir = j8lib
+j8digestonlyDir = j8digestonly
j11libDir = j11lib
j11modDir = j11mod
j11modules = com.sun.istack.runtime,com.sun.xml.bind,com.sun.xml.fastinfoset,com.sun.xml.streambuffer,com.sun.xml.txw2,com.sun.xml.ws.policy,java.activation,java.annotation,java.base,java.compiler,java.datatransfer,java.desktop,java.logging,java.management,java.management.rmi,java.naming,java.prefs,java.rmi,java.scripting,java.security.sasl,java.sql,java.xml,java.xml.bind,java.xml.soap,java.xml.ws,javax.jws,jdk.httpserver,jdk.jsobject,jdk.unsupported,jdk.xml.dom,org.jvnet.mimepull,org.jvnet.staxex,javax.servlet.api,java.ws.rs
+j11digestonlyDir = j11digestonly
+
install4j_home_dir = ~/buildtools/install4j8
install4j_copyright_message = ...