Michael Bayne
e6308ebacf
Merge pull request #180 from maeichris/master
...
Fix the link to Java WebStart:
2019-01-04 10:51:20 -08:00
Chris Dailey
6d3b012024
Fix the link to Java WebStart:
...
http://java.sun.com/products/javawebstart/
now eventually redirects to:
https://docs.oracle.com/javase/8/docs/technotes/guides/javaws/
2018-12-31 12:13:20 -07:00
Michael Bayne
5d1bdbfb3f
Install in the loop we already have.
...
Also don't create a valid marker file. Patch files are deleted immediately
after use.
2018-12-17 11:25:35 -08:00
Michael Bayne
faa9d2422e
No need for a separate method.
2018-12-17 11:22:53 -08:00
Michael Bayne
3ef2d6908f
Merge pull request #177 from leaqui/master
...
Fix issue #176
2018-12-17 11:21:17 -08:00
Leandro Quiroga
8a00ff60d8
true arg passed to install()
2018-12-14 16:35:43 -03:00
Leandro Quiroga
b579bd36ba
Merge pull request #1 from leaqui/patch-issue-176
...
Fix issue #176
2018-12-14 16:24:29 -03:00
Leandro Quiroga
28b779f0f8
Fix issue #176
...
install(Resources) method created and called from update() method, below calling download().
2018-12-14 16:22:39 -03:00
Michael Bayne
9402d7c900
Update copyright headers.
2018-12-06 11:55:49 -08:00
Michael Bayne
4b38ac69f0
Add entry for nresource patch.
2018-12-06 11:54:44 -08:00
Michael Bayne
16b8b836e4
Clean up the nresource patch & older code cache stuff.
...
Two important changes:
1. Don't change the name of the code cache dir as that would leave a stale code
cache around on old installations that were using the code cache.
2. Don't create a native libs cache dir if there are no native resources.
Everything else is mostly cosmetic and organizational.
2018-12-06 11:51:15 -08:00
Michael Bayne
20fd43fd98
Merge pull request #173 from vatsal22/native_cache
...
Use nresource=[native jar] to use native jars
2018-12-06 10:32:40 -08:00
vsolanki
86723193e6
Use nresource=[native jar] to add contents of resource to java.library.path
...
This feature makes use of the current caching system for "code" jars. Resources marked by nresource are copied to specific cache directories, unpacked, and then the caches are added to the applications java.library.path. This "native" cache is cleaned according to "cache_retention_days", similar to the code cache.
2018-12-05 12:00:58 -05:00
Michael Bayne
9f2071f152
Minor reorg & fix all "config UI when getdown.txt" changes issues.
2018-12-01 20:00:03 -08:00
Michael Bayne
f4679b4a36
Merge pull request #172 from vatsal22/Predownloads
...
Use presource=[resource] to "predownload" resource
2018-11-30 14:49:56 -08:00
vsolanki
cca7749dc8
Use presource=[resource] to "predownload" resource
...
-these will be downloaded before a UI is displayed, allowing them to be
loaded on first launch
2018-11-30 15:40:51 -05:00
Michael Bayne
c8226b83ee
Default concurrent download count to #CPUS-1.
2018-11-30 11:41:59 -08:00
Michael Bayne
cb5ee3efe6
Update changelog with two PR changes.
2018-11-30 11:38:45 -08:00
Michael Bayne
78fdc9031e
Small formatting tweaks.
2018-11-30 11:36:10 -08:00
Michael Bayne
88f9ed1d5e
Merge pull request #169 from pb00068/java_vm_update2
...
update Java VM: Checking Java version after getdown.txt has been re-fetched.
2018-11-30 11:34:18 -08:00
Michael Bayne
d7d937c2a1
Use a resource attribute instead of a param.
2018-11-30 11:31:59 -08:00
Michael Bayne
37b6575ca7
Merge pull request #170 from pb00068/unPackFix
...
Fix for #112 , installing a newer JVM leaves parts of the old JVM
2018-11-30 11:20:27 -08:00
Guenther Demetz
dd9c83a347
Fix for #112
...
Cleans content of each found directory when unpacking a new java_vm.
Fixes the problem when java_wm was build using standard jar.
For pack200 this remains unresolved.
2018-11-29 10:24:20 +01:00
Guenther Demetz
a072718d4e
Checking Java version only after getdown.txt has been re-fetched.
...
Typical use case is a security patch, were a new java patch
(java_windows.jar) is put on server side and java_min_version updated
accordingly in getdown.txt
Currently the new virtual machine will be downloaded only after
a second getdown launch. This pull request fixes this.
2018-11-29 09:34:44 +01:00
Michael Bayne
ac876a36ef
[maven-release-plugin] prepare for next development iteration
2018-11-27 13:35:37 -08:00
Michael Bayne
7f8add0322
[maven-release-plugin] prepare release getdown-1.8.2
2018-11-27 13:35:31 -08:00
Michael Bayne
a177bae01d
Prep for 1.8.2 release.
2018-11-27 13:34:30 -08:00
Michael Bayne
7a8de58e4d
Egads, don't share a download buffer.
...
Fragile assumptions, they plague us.
Fixes #166
2018-11-27 13:33:11 -08:00
Michael Bayne
8017dcc359
Properly handle just an exception as a logging arg.
2018-11-27 13:30:31 -08:00
Michael Bayne
555d28a80a
[maven-release-plugin] prepare for next development iteration
2018-11-26 14:33:07 -08:00
Michael Bayne
2523ba285b
[maven-release-plugin] prepare release getdown-1.8.1
2018-11-26 14:32:57 -08:00
Michael Bayne
5c0c8bfddf
Update in preparation for release.
2018-11-26 14:31:47 -08:00
Michael Bayne
d7ec1baa60
Avoid using UI if we're in a headless JVM.
...
Closes #131 .
2018-11-26 13:28:51 -08:00
Michael Bayne
4d40bc53db
Shutdown our verifier thread pool when we're done.
2018-11-26 13:15:05 -08:00
Michael Bayne
9dd8285243
Use a "sys." prefix instead of custom parsing.
2018-11-26 13:11:32 -08:00
Michael Bayne
0bd22aaacc
Merge pull request #160 from vatsal22/master
...
Introduced a new option called sysargs to bootstrap.properties...
2018-11-26 12:43:34 -08:00
Michael Bayne
469f4feb0a
Auto-create app dir if we have an appbase.
...
We were already doing this for bootstrap.properties-based launches, but there's
no reason to restrict it to that. If you run Getdown with an appbase and an
appdir, it can create the app dir and download the app into it.
This enables scenarios where getdown is installed to a shared location and
users that run the app install it in their private storage area (or on a
machine local file system, or who knows).
Closes #163 .
2018-11-26 12:40:18 -08:00
Michael Bayne
2fbc7cb12c
Fix bug in EnvConfig, add tests.
...
Fixes #164 .
2018-11-26 12:20:50 -08:00
Michael Bayne
11343297a0
Keep the changelog up to date.
2018-11-26 11:33:15 -08:00
Michael Bayne
e0d119d87b
A bunch of cleanup of the concurrent downloads PR.
...
- Max concurrent downloads is controlled by a config in getdown.txt:
max_concurrent_downloads. It defaults to two.
- A bunch of thread-safety problems were fixed.
- While in there, I revamped the downloader to be less crufty from years of
ad-hoc requirements accretion.
- I disabled the Channel.transferFrom based download change because it prevents
fine-grained feedback (and abort checking) from taking place, and it doesn't
handle failure cases. Maybe we'll clean it up and re-enable it in the future.
2018-11-26 11:25:37 -08:00
Michael Bayne
21fba32915
Merge pull request #162 from vatsal22/concurrent1
...
Download files concurrently
2018-11-26 10:14:21 -08:00
vsolanki
8408f10eff
Download files concurrently
2018-11-21 10:05:20 -05:00
Michael Bayne
3ed6bb2a48
Notes on per-platform installers.
...
Let's make sure people know what they're getting into right away.
2018-11-20 08:54:53 -08:00
Michael Bayne
93c8014302
Be less cloy.
2018-11-20 08:46:48 -08:00
Michael Bayne
e11f2ebd48
Explain the three artifacts in the README.
...
Also link directly to their Maven sub-directories to avoid confusion with old
versions.
2018-11-20 08:42:37 -08:00
Michael Bayne
df2ff3fddb
Always use a thread pool of at least size 1.
...
Fixes #161 .
2018-11-19 19:36:13 -08:00
vsolanki
94d7852324
Typo
2018-11-19 10:40:06 -05:00
vsolanki
901b1c03e2
Introduced a new option called sysargs to bootstrap.properties to allow the setting of system properties during the bootstrap setup
...
Usage: sysargs = [key1]:[val1], [key2]:[val2], [key3]
2018-11-19 09:07:01 -05:00
Michael Bayne
3b888a72b7
Escape special chars in env var replacements.
2018-11-15 08:32:39 -08:00
Michael Bayne
85c578f861
Removed bits about non-Java apps; added JWS caveat.
...
Closes #157
2018-11-09 14:14:20 -08:00