Geoff Canyon wrote:
Is there a way to bundle a J application into a single-file
executable? If not, how close is it possible to come?
regards,
Geoff
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
I have used 'Advanced Installer' (makes .msi install archives) and
Inno Setup Compiler (makes setup.exe install archives) I should create
a wiki
page regarding this but until then I can share my sample config files
for these two
tools.
.msi files are install archives for Microsoft Installer - comes with
XP. For Win 2K Pro
you can download Microsoft Installer from MS. If you are working with
older
versions of Windows creating Setup.exe install archives is better.
In either case I have given up on trying to find only the library files
accessed. Since
the J dll is so big you don't save much (percentage wise) by excluding a
few unused
scripts from system/main. I just make a copy of C:\j601 and then
delete all the html
and labs.
One thing that bit me on the first program I published was my
startup.ijs. My startup
defines
echo_z_ =: (1!:2)&2
exit_z_ =: 2!:55
My early efforts to publish didn't include my startup file so these were
un-defined and
caused the program to crash.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm