Update engine
Closed this issue · 1 comments
hdsdi3g commented
- Create a manifest file with a list which contains all the files, sizes and cksum from a MyDMAM pack (without the JVM).
- Java > JSON wrapper
- JSON > Java unwrapper
- Engine for import FS datas, with white/black lists file/dir lists.
- Create a new CLI option for get a new file list, download the new files, and warn if there are some changes on current files, with a compare list method.
- Compare list engine
- Download to cache/temp
- Check cksum
- This CLI option will create a specific build.xml for change the old files by the news, and propose a specific starter for do the upgrade
- build.xml writer based on list engine
- Upgrade engine: cmd line creator for Win/macOS/Linux, with correct JVM and specific classpath
- After the user do the upgrade, then display the new upgrade note and advises to recreate system services, change the actual configuration, change the classpath...
- Packager engine: create repository items to put in webserver and json manifest. Via MyDMAM CLI.
- With
- MyDMAM Java code (CLI)
- Java code to a specific jar loaded with ant jars...
- bat/bash starter file
- Question: use Ant & build.xml or an integrated solution ?
hdsdi3g commented
Too complex approach, and too hard to apply as it.