I want tales/fanquery/fanbatis and other apps i've written to be installable and upgradable using fanr. The problem is tales(and the other web apps) comes with some jars. I don't really want to extract out all the classes and bundle it with the pod. Besides, it'll be great if I also were able to package other files like tales.bat/tales.sh and place them in some executable path during the install.
Will it work if we have some hook into fanr that will inform the just installed or upgraded pod so it can do things like copying the jars and other stuffs?
brianThu 27 Oct 2011
Yeah, my original design proposal was to allow an install.fan and uninstall.fan script to be run on install and uninstall. That would provide a lot of flexibility. But at the same time, I'm also concerned that it could lead to a nightmare of non-versioned files getting strewn all over the place. Especially if we start developing a pattern of pods sticking Java jars into the ext dir - we'll quickly get classpath hell.
It might be better to think about individual problems like
kaushik Wed 26 Oct 2011
I want tales/fanquery/fanbatis and other apps i've written to be installable and upgradable using fanr. The problem is tales(and the other web apps) comes with some jars. I don't really want to extract out all the classes and bundle it with the pod. Besides, it'll be great if I also were able to package other files like tales.bat/tales.sh and place them in some executable path during the install.
Will it work if we have some hook into fanr that will inform the just installed or upgraded pod so it can do things like copying the jars and other stuffs?
brian Thu 27 Oct 2011
Yeah, my original design proposal was to allow an install.fan and uninstall.fan script to be run on install and uninstall. That would provide a lot of flexibility. But at the same time, I'm also concerned that it could lead to a nightmare of non-versioned files getting strewn all over the place. Especially if we start developing a pattern of pods sticking Java jars into the ext dir - we'll quickly get classpath hell.
It might be better to think about individual problems like