Commit Graph

974 Commits

Author SHA1 Message Date
Anosh D. Ullenius 508ef73d85 Use factory method for creating FileInputStream 2022-06-17 20:34:58 +02:00
Anosh D. Ullenius 03ed2f52d1 Type inference. Use autoboxing for int 2022-06-17 20:33:00 +02:00
Anosh D. Ullenius 258d85b934 Remove redundant throws clause 2022-06-17 20:29:52 +02:00
Anosh D. Ullenius 245f5386ce Remove protected-modifier in final class 2022-06-17 20:26:22 +02:00
Anosh D. Ullenius 2b30d9dab0 Make fields final. Remove protected-modifier in final class 2022-06-17 20:23:51 +02:00
Anosh D. Ullenius a4e38057ae Make fields final. Remove redundant modifier on final-class 2022-06-17 20:20:05 +02:00
Michael Bayne 29437aa993 Update the CHANGELOG with the shipped changes. 2022-05-24 11:00:12 -07:00
Michael Bayne d41a817b55 [maven-release-plugin] prepare for next development iteration 2022-05-24 10:42:36 -07:00
Michael Bayne 425e0d0c87 [maven-release-plugin] prepare release getdown-1.8.7 2022-05-24 10:42:34 -07:00
Michael Bayne 089761da24 Update nexus-staging-maven-plugin to 1.6.13.
In hopes that it works properly with Java 18. Let's find out!
2022-05-24 10:39:04 -07:00
Michael Bayne fda9590d21 Fix Javadoc error. 2022-05-24 10:30:43 -07:00
Michael Bayne 26d559e5c2 Upgrade Proguard to a version that supports Java 18.
For unfortunate reasons, we have to add a separate (build-time) dependency on
proguard-core, code from which proguard-base relies on but neither includes
directly nor expresses as a dependency.

How is it in the year of our lord two thousand and twenty two, we are still
making such basic build errors in our Maven plugins and POM files?
2022-05-24 10:24:58 -07:00
Michael Bayne 717f3bdaed Bump Mockito to 3.12.4 so we can build on Java 17/18. 2022-03-27 09:41:20 -07:00
Michael Bayne 797b4024af Merge pull request #255 from threerings/dependabot/maven/ant/org.apache.ant-ant-1.10.11
Bump ant from 1.10.9 to 1.10.11 in /ant
2022-03-27 09:34:36 -07:00
Michael Bayne cb114746a6 Merge pull request #260 from bekoenig/relative-paths-in-classpath
Use relative paths in classpath to shorten execution line on large apps
2022-03-26 15:53:36 -07:00
Benjamin König 9a99f4e27d Use relative paths in classpath to shorten execution line on large apps 2022-02-18 14:28:29 +01:00
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
dependabot[bot] 6b4f609980 Bump ant from 1.10.9 to 1.10.11 in /ant
Bumps ant from 1.10.9 to 1.10.11.

---
updated-dependencies:
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 16:59:22 +00: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