-1.8.3-1.5.2_FJVL
+1.8.3-1.5.3_FJVL
-1.8.3-1.5.2_JVL
+1.8.3-1.5.3_JVL
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.5.2_FJVL</version>
+ <version>1.8.3-1.5.3_FJVL</version>
</parent>
<artifactId>getdown-ant</artifactId>
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.5.2_FJVL</version>
+ <version>1.8.3-1.5.3_FJVL</version>
</parent>
<artifactId>getdown-core</artifactId>
String appIdProv = null;
String appBase = null;
String appBaseProv = null;
- applicationFolder = System.getProperty("installer.application_folder");
- installerAppdir = System.getProperty(APPLICATION_APPDIR_PROPERTY);
- appName = System.getProperty("channel.app_name");
+ setVarsFromProperties();
// start with bootstrap.properties config, if avaialble
try {
return appName;
}
+ public static void setVarsFromProperties() {
+ applicationFolder = System.getProperty("installer.application_folder");
+ installerAppdir = System.getProperty(APPLICATION_APPDIR_PROPERTY);
+ appName = System.getProperty("channel.app_name");
+ }
+
private static boolean relaunched = false;
private static final String USER_HOME_KEY = "${user.home}";
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
package jalview.bin;
import java.io.File;
{
public static void main(String[] args)
{
+ EnvConfig.setVarsFromProperties();
+
String appdir = args.length > 0 ? args[0] : null;
if (appdir == null || appdir.length() == 0)
{
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
package jalview.util;
import java.lang.reflect.InvocationTargetException;
}
String v0 = getJarImplementationVersion(f0);
String v1 = getJarImplementationVersion(f1);
- syserr(true, false,
+ syserr(v0 != null && !v0.equals(v1), false,
"Got launcher versions '" + v0 + "' and '" + v1 + "'");
return compareGetdownLauncherJarVersions(v0, v1);
}
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-1.5.2_FJVL</version>
+ <version>1.8.3-1.5.3_FJVL</version>
</parent>
<artifactId>getdown-launcher</artifactId>
if [ x$JVLVERSION != x ]; then
export VERSION=$JVLVERSION
else
- export VERSION=1.8.3-1.5.2_JVL
+ export VERSION=1.8.3-1.5.3_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.5.2_FJVL</version>
+ <version>1.8.3-1.5.3_FJVL</version>
<name>getdown</name>
<description>An application installer and updater.</description>
{
public static void main(String[] args)
{
+ EnvConfig.setVarsFromProperties();
+
String appdir = args.length > 0 ? args[0] : null;
if (appdir == null || appdir.length() == 0)
{
}
String v0 = getJarImplementationVersion(f0);
String v1 = getJarImplementationVersion(f1);
- syserr(true, false,
+ syserr(v0 != null && !v0.equals(v1), false,
"Got launcher versions '" + v0 + "' and '" + v1 + "'");
return compareGetdownLauncherJarVersions(v0, v1);
}