general (non windows-specific) installer query

Rod Widdowson rdw at steadingsoftware.com
Thu Aug 28 06:51:47 EDT 2014


I'm trying to keep the ant tasks general, and this is working quite well.

I'd just like to check my understanding of the fate of each directory:

Preserved directories (created empty, updated from dist) 
	conf
	views
	flows

Preserved directories (created empty, only populated appropriately if empty)
	creds 
	metadata

Empty Directories (created empty never touched)
	edit-webapp
	logs

Overwritten directories (deleted[*] and overwritten)
	system
	dist
	doc
	bin

Don't know yet but will be one of the above
	jetty-base
	misc

Special:
	war - 	deleted[*] and overwritten.  A specific task "build-war"
		will update from edit-webapp  and then made into a 
		war file.

[*] When I say "deleted" I probably mean "renamed into an 'old' folder with
a date-derived name".

This seems to work well:
	- Once ant has been run once the distribution can be deleted
	- An up to date packed and unpacked war is present
	- I think I can make this entirely rational, with the only
difference between MSI and non-MSI
	  Being an extra task which effectively does what the MSI gives for
free (the file copy & delete)
	- The user can run build-war as often as they want.

Obviously V2 confuses the issue slightly, but not massively.






More information about the dev mailing list