Michael Bayne
bb4b9e3390
JarDiffPatcher needs to support .old files.
...
When patching, Getdown will move foo.jar to foo.jar.old and then patch that
file to create a new foo.jar. That results in foo.jar.old being passed into
JarDiffPatcher as the source file, which it then inspects to determine whether
it is a zip file or a jar file based on its file extension. Since that file
extension has already changed to .xxx.old, we need to handle that.
Closes #230 .
2022-01-05 07:27:22 -08:00
Michael Bayne
1cd3a5c9c3
Merge pull request #257 from asabanas/existing-jvm-cleanup
...
Fix for #112 - updated existing directories cleanup functionality to remove directories that no longer exist
2021-10-19 08:39:16 -07:00
Andrius Šabanas
bfd5571377
Updated existing directories cleanup functionality to remove all their contents when unpacking archives.
2021-10-17 04:35:55 +03:00
Michael Bayne
7def118e31
Fix links to Maven artifacts.
...
Fixes #250 .
2021-08-23 07:37:04 -07:00
Michael Bayne
cdecfde5f1
Add note about Pack200 removal.
2021-08-23 07:35:34 -07:00
Michael Bayne
b9f97b323a
Try testing on JDK14 for now.
2021-04-05 07:43:45 -07:00
Michael Bayne
49279009cb
Use newer Proguard that can handle JDK14.
...
Unfortunately due to a bug in proguard-maven-plugin I can't currently use a
version of Proguard that supports JDK15.
2021-04-05 07:43:10 -07:00
Michael Bayne
cedf568383
Merge pull request #240 from Cosium/java.net.useSystemProxies
...
Usage of Proxy.NO_PROXY prevents -Djava.net.useSystemProxies=true from kicking in
2021-04-05 07:29:42 -07:00
Michael Bayne
1c0320b36d
Use Graal JavaScript VM.
...
Nashorn was removed in JDK15, but the PAC proxy detection code depends on
having a JavaScript VM (what a twisty maze of passages). Rather than remove it
completely, I'll just keep the tests working so that people who use Getdown
with PAC proxies on JDK 14 or earlier can keep on trucking.
Perhaps the JavaScript code could be rewritten in Java and this weird massive
dependency could be eliminated?
2021-04-04 12:23:18 -07:00
Michael Bayne
3a52a42775
Test with JDK15.
2021-04-04 12:16:53 -07:00
Michael Bayne
a35c385f9f
Update Mockito to a version that works with JDK15.
2021-04-04 12:16:25 -07:00
Michael Bayne
fd6a393d69
Removing Pack200 support.
...
It has been removed from the JDK for some time now. People still relying on it
will have to stick to an older version of Getdown.
2021-04-04 12:15:55 -07:00
Michael Bayne
dacd977987
Merge pull request #245 from threerings/dependabot/maven/core/junit-junit-4.13.1
...
Bump junit from 4.12 to 4.13.1 in /core
2021-04-04 12:09:21 -07:00
Michael Bayne
09ed5b0f2c
Merge pull request #246 from threerings/dependabot/maven/launcher/junit-junit-4.13.1
...
Bump junit from 4.12 to 4.13.1 in /launcher
2021-04-04 12:09:06 -07:00
Michael Bayne
c50451e0db
Merge pull request #252 from threerings/dependabot/maven/ant/org.apache.ant-ant-1.10.9
...
Bump ant from 1.7.1 to 1.10.9 in /ant
2021-04-04 12:08:55 -07:00
Michael Bayne
e8db626c1d
Merge pull request #253 from gieza/cleanup_glob_patterns
...
Add glob 'cleanup_pattern' to remove obsolete resources
2021-04-04 12:08:28 -07:00
Giedrius Zavadskis
332f7f15e3
Do resource cleanup only if resources have to be updated.
...
(cherry picked from commit 37fed0570e1eb3ac520256761760a8e311889b51)
2021-03-31 10:31:51 +03:00
Giedrius Zavadskis
79420067b2
Adds support for glob 'cleanup_pattern' to facilitate removal of obsolete resources
...
(cherry picked from commit 515ed2e049dbc4e76d4e35d89ec2c674e87d3e6d)
2021-03-29 10:53:16 +03:00
dependabot[bot]
6f2b803940
Bump ant from 1.7.1 to 1.10.9 in /ant
...
Bumps ant from 1.7.1 to 1.10.9.
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-03 19:26:55 +00:00
dependabot[bot]
eff8e31299
Bump junit from 4.12 to 4.13.1 in /launcher
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-13 13:31:24 +00:00
dependabot[bot]
799a49e4f5
Bump junit from 4.12 to 4.13.1 in /core
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-13 08:01:42 +00:00
Réda Housni Alaoui
736dfffd04
Usage of Proxy.NO_PROXY prevents -Djava.net.useSystemProxies=true from kicking in
2020-06-12 14:27:56 +02:00
Michael Bayne
55c544c68b
Certs are out of date on Oracle 9, let's try 11.
2020-01-06 14:30:11 -08:00
Michael Bayne
78bcc59312
Use JDK 9, which now works.
...
It's also helpfully supported by Travis, which JDK 8 no longer is.
2020-01-06 14:23:51 -08:00
Michael Bayne
bb995508d9
Added support for adding arbitrary classpath entries.
2020-01-06 14:14:52 -08:00
Michael Bayne
0c8a29deb0
Upgrade Proguard to work with Java >8.
2020-01-06 13:38:31 -08:00
Michael Bayne
5c38682f30
Upgrade Mockito to work with Java >8.
2020-01-06 13:38:22 -08:00
Michael Bayne
3d62949fe7
Fix indentation. No tabs.
2019-07-02 08:10:08 -07:00
Michael Bayne
66c037feed
Merge pull request #229 from pb00068/noEngineAvailable
...
No engine available
2019-07-02 08:07:11 -07:00
Michael Bayne
a212a1e7a5
Merge pull request #232 from neuweiler/master
...
replace "MISSING:" with "MISSING-" to avoid MalformedUrlException
2019-07-02 08:05:52 -07:00
e507802
024d84ac2a
replace "MISSING:" with "MISSING-" to avoid MalformedUrlException when digesting/diffing app with undefined variables (during build time) in appbase/latest.
2019-07-02 14:00:00 +02:00
Guenther Demetz
338b5a66ef
fix catch
2019-06-06 10:39:14 +02:00
Guenther Demetz
305fc314ab
Merge branch 'master' into noEngineAvailable
2019-06-06 10:28:10 +02:00
Guenther Demetz
fbc383d942
Avoid launcher abort due missing engine
2019-06-06 10:26:19 +02:00
Michael Bayne
e7818030a7
Behave more gracefully when patch files do not exist.
...
It is possible to use versioned mode without patch files, though there's no way
to specifically tell Getdown whether or not you are using patch files, so it
always tries to download them. If they don't exist, it should now log one
reasonable warning and then proceed to update based on resource hashes.
2019-06-05 16:09:51 -07:00
Michael Bayne
157b12dbfa
Oops, forgot to hook up myIpAddress().
2019-06-05 15:45:03 -07:00
Michael Bayne
e376dff945
Reinstate env var substitution in appbase.
...
Also added tests for base init of Application & versioned appbase creation.
2019-06-05 12:24:50 -07:00
Michael Bayne
5cb2613e3b
[maven-release-plugin] prepare for next development iteration
2019-06-04 15:25:43 -07:00
Michael Bayne
6283b60776
[maven-release-plugin] prepare release getdown-1.8.6
2019-06-04 15:25:33 -07:00
Michael Bayne
fead7c208e
Prep for 1.8.6 release.
2019-06-04 15:23:59 -07:00
Michael Bayne
b7ce500353
Merge pull request #226 from sergiorussia/patch-1
...
revert processArg for appbase
2019-06-04 15:23:07 -07:00
Sergey V
03997b20b9
revert processArg for appbase
...
that change broke versioned app update entirely. pls publish new getdown asap
2019-06-05 00:37:59 +03:00
Michael Bayne
ce76832835
Add myIpAddress() to PAC proxy environment.
...
Also fixed issue with dnsResolve() in same.
2019-05-31 09:53:12 -07:00
Michael Bayne
85c4a0ddc1
Some comment fixes.
2019-05-31 09:48:30 -07:00
Michael Bayne
e0c27b4e55
Merge pull request #225 from pb00068/fixDetectProxy
...
autoDetectProxy needs initialized configuration
2019-05-31 09:47:18 -07:00
Guenther Demetz
bc889e67fd
autoDetectProxy needs initialized configuration
2019-05-31 10:47:01 +02:00
Michael Bayne
b5377ca66b
Use a debug system property to control debugging.
...
When set, it disables stdout/stderr redirection and uses java.exe on Windows so
that a console window is shown with output from the launched app.
This removes the use of a debug.txt file.
2019-05-29 14:09:17 -07:00
Michael Bayne
7f305df410
Configure gpg plugin version in pluginManagement.
...
Maven is not using the 1.6 version of the GPG plugin for some reason, even
though the place where the plugin is triggered explicitly specified that
version. Maybe this new set of chicken sacrifices will cause Maven to do the
right thing.
2019-05-29 12:16:57 -07:00
Michael Bayne
a0bdfb1ca9
[maven-release-plugin] prepare for next development iteration
2019-05-29 12:12:06 -07:00
Michael Bayne
45350e1842
[maven-release-plugin] prepare release getdown-1.8.5
2019-05-29 12:11:57 -07:00