#5675 closed enhancement (wontfix)
Menu option to 'check for updates'
Reported by: | AcrossCanadaTrails | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Hi,
I think it would be great if there was an option in JOSM to automatically check and download the latest version of the program, as well as have a 'full install' version where all of the available plugins were automatically included in the setup.
This way, each time you start JOSM it will be the latest version.
I know i have know idea how to do this myself, so it's just a 'wish list' item :)
Thanks,
Attachments (0)
Change History (11)
comment:1 by , 14 years ago
Component: | Internal preset → Core |
---|---|
Owner: | changed from | to
follow-up: 7 comment:2 by , 14 years ago
follow-up: 4 comment:3 by , 14 years ago
unzip -c dist/josm-custom.jar META-INF/MANIFEST.MF |grep Main-Version
comment:4 by , 14 years ago
Replying to stoecker:
unzip -c dist/josm-custom.jar META-INF/MANIFEST.MF |grep Main-Version
No Main-Version in META-INF/MANIFEST.MF.
follow-up: 6 comment:5 by , 14 years ago
Sorry works only for SVN version. Use unzip -c josm-latest.jar REVISION|grep "Last Changed Rev"
for release version.
comment:6 by , 14 years ago
Replying to stoecker:
Sorry works only for SVN version. Use
unzip -c josm-latest.jar REVISION|grep "Last Changed Rev"
for release version.
Thanks.
comment:7 by , 14 years ago
Replying to skyper:
I wrote a bash script several month ago, and a cron job running it. It is somehow unfinished and maybe needs a bit of rework, but it is running without a problem. I might upload it these days.
I did some small adjustments and you can find it under:
http://wiki.openstreetmap.org/wiki/User:Skyper/JOSM_update_script
follow-up: 9 comment:8 by , 14 years ago
You can remove the grep in the revision check, when you do the same with awk later on :-)
comment:9 by , 14 years ago
Replying to stoecker:
You can remove the grep in the revision check, when you do the same with awk later on :-)
Thanks that was left from changing the check methode and I did copy some code twice - fixed.
follow-up: 11 comment:10 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I forgot to state this as wontfix: The installation procedures for the systems are very different. Under Linux usually you have RPM/DEB packages, for Windows the installer and so on. JOSM does not want to reinvent the wheel.
I can only suggest to use Linux (e.g. openSUSE) and then you get JOSM updates automatically whenever one is available :-)
comment:11 by , 14 years ago
Replying to stoecker:
I can only suggest to use Linux (e.g. openSUSE) and then you get JOSM updates automatically whenever one is available
:-)
Thought Gentoo is the only distribution that is building from source.
I wrote a bash script several month ago, and a cron job running it. It is somehow unfinished and maybe needs a bit of rework, but it is running without a problem. I might upload it these days.
At least on a Linux system, it is not that easy, if you have JOSM installed under /usr and not in the users directory (especially without sudo installed).
By the way, is there a possibility to get the JOSM revision from the .jar file without running java. (Java does not run without home dir).
Cheers skyper