My understanding (may be wrong) of the Wiki proposal is that the pre-build hook will not exist in the new PM, but that the buildfile will be the equivalent of the current post-build script. (i.e. the creation of the targetfile is the "build" step).
As Chris says, trying to provide lots of flexibility starts to make a GUI quite complex, but isn't necessarily hard in a J script. Perhaps the preload, postload functionality can be provided by the proposed testfile. Rather than a whole lot of GUI options one solution might be to provide the user with a testfile template that they can edit. e.g. NB.===== testfile template ======== NB. Add any pre-load processing here load targetfile NB. Add any post-load processing here NB. call any test scripts here load ,&'_test.ijs'_4}. Targetfile NB. default name for test script NB. Add any post-test processing here NB.================================ Alternatively a bunch of templates could be presented for the user to choose from, or to a custom template could be built on the fly based on the user's answers to a dialog or wizard. This solution could potentially also cater for Anssi's suggestion for a "Clear & Load" button. > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of bill lam > Sent: Friday, 16 October 2009 14:02 > To: JBeta > Subject: [Jbeta] preload, postload hooks in PM > > PM already has prebuild and postbuild scripts but that are only added > to final script during build script process. I suggest to add preload > and postload hooks that will also be loaded during load and test. Or > some other mechanism for this. > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
