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
Michael Bayne
5fd28d9211
Need www on SK link.
2018-11-02 08:36:02 -07:00
Michael Bayne
826e744562
Fix SK link.
2018-11-02 08:32:56 -07:00
Michael Bayne
d440e0346c
Remove legacy Ant build.
...
It hasn't worked in years.
Closes #155
2018-11-02 08:30:14 -07:00
Michael Bayne
bb6a6c3a64
Refer to main Maven Central directory.
...
There's no longer a single jar file to talk about, and sending people to the
directory saves us from having to update README every time we do a release.
Fixes #152
2018-10-29 14:51:39 -07:00
Michael Bayne
a0c4edfc67
Notes for 1.7.1 and 1.8.0 releases.
2018-10-19 10:17:24 -07:00
Michael Bayne
d4884d5388
[maven-release-plugin] prepare for next development iteration
2018-10-19 09:50:39 -07:00
Michael Bayne
9edca56628
[maven-release-plugin] prepare release getdown-1.8.0
2018-10-19 09:50:29 -07:00
Michael Bayne
70e27095db
Ignore top-level target directory.
...
That is created during the release process.
2018-10-19 09:49:15 -07:00
Michael Bayne
0efc039a17
Fix Javadoc error.
2018-10-19 09:48:43 -07:00
Michael Bayne
2bc0fc970e
Add notes on upcoming 1.8.0 release.
2018-10-19 09:44:40 -07:00
Michael Bayne
0f5622df72
Allow thread pool to be sized with -Dthread_pool_size.
...
Also use num processors minus one instead of num processors.
2018-10-03 08:47:44 -07:00
Michael Bayne
5499969b2c
Fix bug in argv apparg parsing.
2018-09-25 09:12:28 -07:00