VASmalltalk – IC Delivery Structure

How does the directory structure looks like. Each end-user application (which can be a summary of several Seaside apps) has its own directory (e.g. ApplicationFolder).

I decided to put a XML directory into each ApplicationFolder, because here are sometimes application specific changes necessary.

The bat-file just start the application (in case of starting only ONE application process) with some logic around the starting statement to enable a restart of the whole process, when the seaside server terminates

The an application specific ini file and that’s it.

In a global ic folder I added ALL ICs contains the system and user code. After all a collection of 24 ICs with a total size of 11 MByte).

And then I added the server download of Instantiations and add some needed dlls to the bin directory (ICU support, json support, unciode character extension)

[ApplicationFolder01]
 +  [xml]
 -  esystem.bat
 -  mskxdseasidestarter.ini
[ApplicationFolder02]
 +  [XML]
 -  esystem.bat
 -  mskxdseasidestarter.ini
[ics]
 -  *.ic
[server]
 +  [bin]
 +  [nls]
 +  [xml]

And here an example of a simple ini-file ( removed some stuff):

[VM Options]
newSpaceSize=2097152
allocationIncrement=4194304

[Ic path]
IC_ROOT=..\ics\

[Kernel]
logDeprecations=
raiseDeprecations=
showDeprecations=
walkbackFilename=

[NLS Config]
ignoreCache=
defaultMessagesLocale=
nlspath=..\server\nls

[Xml]
DefaultResourceQualifier=.\xml\

[MSKGeneralSeasideStarterApp]
ServletPort=4000
ServletAddress=http://127.0.0.1:
ServletClassName=WASstServerAdaptorUTF8
ServletStart=true
ICsToLoad=mskxdesystemmobilebase.ic,mskxdrmcontrol.ic

[MSKESystemRMControlApp]
RegisterProgram=true
ProgramName=rmcontrol
SessionTimeout=23600

[MSKESystemMobileDemoApp]
RegisterProgram=true
ProgramName=mobile
SessionTimeout=21600
DBHost=127.0.0.1
DBPort=5984
DBName=esinfosystem
DBProtocol=http
This entry was posted in Smalltalk. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s