Added package stx:libjava/examples/tomcat6.
All Apache Tomcat 6.x scripts will go here.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/ApacheTomcat6.st Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,74 @@
+"{ Package: 'stx:libjava/examples/tomcat6' }"
+
+StandaloneStartup subclass:#ApacheTomcat6
+ instanceVariableNames:'bootstrap'
+ classVariableNames:'OldspaceIncreased'
+ poolDictionaries:''
+ category:'Apache-Tomcat-6.x'
+!
+
+
+!ApacheTomcat6 class methodsFor:'defaults'!
+
+allowDebugOption
+ "enable/disable the --debug startup option.
+ Can be redefined in subclasses to enable it"
+
+ ^ true
+
+ "Created: / 10-01-2013 / 22:39:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+allowScriptingOption
+ "enable/disable the --scripting startup option.
+ Can be redefined in subclasses to enable it"
+
+ ^ true
+
+ "Created: / 10-01-2013 / 22:39:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!ApacheTomcat6 class methodsFor:'multiple applications support'!
+
+applicationRegistryPath
+ "the key under which this application stores its process ID in the registry
+ as a collection of path-components.
+ i.e. if #('foo' 'bar' 'baz') is returned here, the current applications ID will be stored
+ in HKEY_CURRENT_USER\Software\foo\bar\baz\CurrentID.
+ (would also be used as a relative path for a temporary lock file under unix).
+ Used to detect if another instance of this application is already running."
+
+ ^ self shouldImplement
+!
+
+applicationUUID
+ "answer an application-specific unique uuid.
+ This is used as the name of some exclusive OS-resource, which is used to find out,
+ if another instance of this application is already running.
+ Under win32, a mutex is used; under unix, an exclusive file in the tempDir could be used.
+ If redefined, please return a real UUID (i.e. UUID fromString:'.....') and not a string or
+ similar possibly conflicting identifier.
+ You can paste a fresh worldwide unique id via the editor's more-misc-paste UUID menuFunction."
+
+ ^ self shouldImplement
+! !
+
+!ApacheTomcat6 class methodsFor:'startup-to be redefined'!
+
+main:argv
+ "superclass StandaloneStartup class says that I am responsible to implement this method"
+
+ self new perform: argv first asString
+
+ "Modified: / 10-01-2013 / 22:45:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+
+
+
+!ApacheTomcat6 class methodsFor:'documentation'!
+
+version_HG
+
+ ^ '$Changeset: <not expanded> $'
+! !
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/Make.proto Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,374 @@
+# $Header$
+#
+# automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+#
+# -------------- no need to change anything below ----------
+#
+# This makefile generates some standalone demo applications
+#
+# make
+# generates tomcat6
+#
+
+TOP=../../..
+INCLUDE_TOP=$(TOP)/..
+
+PACKAGE=stx:libjava/examples/tomcat6
+SUBDIRS=
+SUPPRESS_LOCAL_ABBREVS="yes"
+NOAUTOLOAD=1
+NOSUBAUTOLOAD=1
+
+LOCALINCLUDES=-I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libjava -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libcomp
+LOCALDEFINES=
+GLOBALDEFINES=
+MAIN_DEFINES=-DIGNORE_IMAGE -DNO_DISPLAY
+
+RCSSOURCES=Make.proto *.st
+LINKSOURCES=Make.proto *.st
+
+DELIVERBINARIES=
+
+target: ALL
+
+all:: prereq exe
+
+LIBNAME=libstx_libjava_examples_tomcat6
+STCLOCALOPT='-package=$(PACKAGE)' -I. -headerDir=. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME)
+
+
+# ********** OPTIONAL: MODIFY the next line ***
+# additional C-libraries that should be pre-linked with the class-objects
+LD_OBJ_LIBS=
+LOCAL_SHARED_LIBS=
+
+
+# ********** OPTIONAL: MODIFY the next line ***
+# additional C targets or libraries should be added below
+LOCAL_EXTRA_TARGETS=
+
+OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
+
+
+
+
+
+LIBLIST = $(REQUIRED_LIBS)
+
+# required libs:
+#
+
+REQUIRED_LIBS= libstx_libbasic \
+ libstx_libbasic2 \
+ libstx_libcomp \
+ libstx_libview \
+ libstx_libdb \
+ libstx_libview2 \
+ libstx_libboss \
+ libstx_libdb_libodbc \
+ libstx_libdb_libsqlite \
+ libstx_goodies_sunit \
+ libstx_libui \
+ libstx_libbasic3 \
+ libstx_libwidg \
+ libstx_libhtml \
+ libstx_libwidg2 \
+ libstx_libtool \
+ libstx_libjava \
+
+
+REQUIRED_LIBOBJS= ../../../libbasic/libstx_libbasic$(O_EXT) \
+ ../../../libbasic2/libstx_libbasic2$(O_EXT) \
+ ../../../libcomp/libstx_libcomp$(O_EXT) \
+ ../../../libview/libstx_libview$(O_EXT) \
+ ../../../libdb/libstx_libdb$(O_EXT) \
+ ../../../libview2/libstx_libview2$(O_EXT) \
+ ../../../libboss/libstx_libboss$(O_EXT) \
+ ../../../libdb/libodbc/libstx_libdb_libodbc$(O_EXT) \
+ ../../../libdb/libsqlite/libstx_libdb_libsqlite$(O_EXT) \
+ ../../../goodies/sunit/libstx_goodies_sunit$(O_EXT) \
+ ../../../libui/libstx_libui$(O_EXT) \
+ ../../../libbasic3/libstx_libbasic3$(O_EXT) \
+ ../../../libwidg/libstx_libwidg$(O_EXT) \
+ ../../../libhtml/libstx_libhtml$(O_EXT) \
+ ../../../libwidg2/libstx_libwidg2$(O_EXT) \
+ ../../../libtool/libstx_libtool$(O_EXT) \
+ ../..//libstx_libjava$(O_EXT) \
+
+
+REQUIRED_LINK_LIBOBJS= libstx_libbasic$(O_EXT) \
+ libstx_libbasic2$(O_EXT) \
+ libstx_libcomp$(O_EXT) \
+ libstx_libview$(O_EXT) \
+ libstx_libdb$(O_EXT) \
+ libstx_libview2$(O_EXT) \
+ libstx_libboss$(O_EXT) \
+ libstx_libdb_libodbc$(O_EXT) \
+ libstx_libdb_libsqlite$(O_EXT) \
+ libstx_goodies_sunit$(O_EXT) \
+ libstx_libui$(O_EXT) \
+ libstx_libbasic3$(O_EXT) \
+ libstx_libwidg$(O_EXT) \
+ libstx_libhtml$(O_EXT) \
+ libstx_libwidg2$(O_EXT) \
+ libstx_libtool$(O_EXT) \
+ libstx_libjava$(O_EXT) \
+
+
+REQUIRED_SUPPORT_DIRS=RESOURCEFILES
+
+exe: tomcat6 $(REQUIRED_SUPPORT_DIRS)
+
+tomcat6: $(APP_DIRS_TO_MAKE) $(APP_LIBOBJS) $(OBJS)
+ $(MAKE) NON_GUI_APPLICATION \
+ TARGET=tomcat6 \
+ APPLICATION_CLASSES="$(COMMON_CLASSES) $(UNIX_CLASSES)" \
+ APPLICATION_OBJS="$(OBJS)" \
+ APPLICATION_LIBLIST="$(REQUIRED_LIBS)" \
+ APPLICATION_LIBOBJS="$(REQUIRED_LIBOBJS)" \
+ APPLICATION_LINK_LIBOBJS="$(REQUIRED_LINK_LIBOBJS)" \
+ STARTUP_CLASS="ApacheTomcat6" \
+ STARTUP_SELECTOR="start" \
+ MAIN_DEFINES="-DIGNORE_IMAGE -DNO_DISPLAY"
+
+# build all prerequisite packages for this package
+prereq:
+ cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+ cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+
+
+setup:
+ @if test -d autoPackage; then \
+ makepackage; \
+ else \
+ echo "Error: make setup not yet available in linux/unix"; \
+ exit 1; \
+ fi
+
+SOURCEFILES: tomcat6_SOURCES \
+ stx_SOURCES
+
+
+
+
+RESOURCEFILES: tomcat6_RESOURCES tomcat6_BITMAPS \
+ stx_RESOURCES stx_STYLES stx_BITMAPS
+
+
+tomcat6_RESOURCES:
+ mkdir -p resources/stx/libjava/examples/tomcat6
+ -cp ../resources/*.rs ../resources/*.style resources/stx/libjava/examples/tomcat6/..
+
+tomcat6_BITMAPS:
+ mkdir -p resources/stx/libjava/examples/tomcat6/bitmaps
+ -cp *.ico *.gif *.png resources/stx/libjava/examples/tomcat6/bitmaps
+
+
+
+stx_RESOURCES: \
+ keyboard.rc \
+ keyboardMacros.rc \
+ display.rc \
+ libbasic_RESOURCES \
+ libview_RESOURCES \
+ libtool_RESOURCES \
+ libtool2_RESOURCES
+
+keyboard.rc: $(TOP)/projects/smalltalk/keyboard.rc
+ cp $(TOP)/projects/smalltalk/keyboard.rc .
+
+keyboardMacros.rc: $(TOP)/projects/smalltalk/keyboardMacros.rc
+ cp $(TOP)/projects/smalltalk/keyboardMacros.rc .
+
+display.rc: $(TOP)/projects/smalltalk/display.rc
+ cp $(TOP)/projects/smalltalk/display.rc .
+
+stx_STYLES:
+ mkdir -p resources/stx/libview
+ mkdir -p resources/stx/libview/styles
+ cp $(TOP)/libview/styles/*.common resources/stx/libview/styles
+ cp $(TOP)/libview/styles/*.style resources/stx/libview/styles
+
+stx_BITMAPS: \
+ libwidg_BITMAPS
+
+libwidg_BITMAPS:
+ mkdir -p resources/stx/libwidg/bitmaps
+ -cp $(TOP)/libwidg/bitmaps/*.* resources/stx/libwidg/bitmaps
+
+libbasic_RESOURCES:
+ mkdir -p resources/stx/libbasic
+ -cp $(TOP)/libbasic/resources/*.* resources/stx/libbasic
+
+libtool_RESOURCES:
+ mkdir -p resources/stx/libtool
+ -cp $(TOP)/libtool/resources/*.* resources/stx/libtool
+
+libtool2_RESOURCES:
+ mkdir -p resources/stx/libtool2
+ -cp $(TOP)/libtool2/resources/*.* resources/stx/libtool2
+
+libview_RESOURCES:
+ mkdir -p resources/stx/libview
+ -cp $(TOP)/libview/resources/*.* resources/stx/libview
+
+libview2_RESOURCES:
+ mkdir -p resources/stx/libview2
+ -cp $(TOP)/libview2/resources/*.* resources/stx/libview2
+
+bitmaps:
+ mkdir -p bitmaps
+
+doc:
+ mkdir -p doc
+
+
+
+libstx_libbasic.so: ../../../libbasic/libstx_libbasic.so
+ cp ../../../libbasic/libstx_libbasic.so .
+
+../../../libbasic/libstx_libbasic.so:
+ cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libbasic2.so: ../../../libbasic2/libstx_libbasic2.so
+ cp ../../../libbasic2/libstx_libbasic2.so .
+
+../../../libbasic2/libstx_libbasic2.so:
+ cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libcomp.so: ../../../libcomp/libstx_libcomp.so
+ cp ../../../libcomp/libstx_libcomp.so .
+
+../../../libcomp/libstx_libcomp.so:
+ cd ../../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libview.so: ../../../libview/libstx_libview.so
+ cp ../../../libview/libstx_libview.so .
+
+../../../libview/libstx_libview.so:
+ cd ../../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libdb.so: ../../../libdb/libstx_libdb.so
+ cp ../../../libdb/libstx_libdb.so .
+
+../../../libdb/libstx_libdb.so:
+ cd ../../../libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libview2.so: ../../../libview2/libstx_libview2.so
+ cp ../../../libview2/libstx_libview2.so .
+
+../../../libview2/libstx_libview2.so:
+ cd ../../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libboss.so: ../../../libboss/libstx_libboss.so
+ cp ../../../libboss/libstx_libboss.so .
+
+../../../libboss/libstx_libboss.so:
+ cd ../../../libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libdb_libodbc.so: ../../../libdb/libodbc/libstx_libdb_libodbc.so
+ cp ../../../libdb/libodbc/libstx_libdb_libodbc.so .
+
+../../../libdb/libodbc/libstx_libdb_libodbc.so:
+ cd ../../../libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libdb_libsqlite.so: ../../../libdb/libsqlite/libstx_libdb_libsqlite.so
+ cp ../../../libdb/libsqlite/libstx_libdb_libsqlite.so .
+
+../../../libdb/libsqlite/libstx_libdb_libsqlite.so:
+ cd ../../../libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_goodies_sunit.so: ../../../goodies/sunit/libstx_goodies_sunit.so
+ cp ../../../goodies/sunit/libstx_goodies_sunit.so .
+
+../../../goodies/sunit/libstx_goodies_sunit.so:
+ cd ../../../goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libui.so: ../../../libui/libstx_libui.so
+ cp ../../../libui/libstx_libui.so .
+
+../../../libui/libstx_libui.so:
+ cd ../../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libbasic3.so: ../../../libbasic3/libstx_libbasic3.so
+ cp ../../../libbasic3/libstx_libbasic3.so .
+
+../../../libbasic3/libstx_libbasic3.so:
+ cd ../../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libwidg.so: ../../../libwidg/libstx_libwidg.so
+ cp ../../../libwidg/libstx_libwidg.so .
+
+../../../libwidg/libstx_libwidg.so:
+ cd ../../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libhtml.so: ../../../libhtml/libstx_libhtml.so
+ cp ../../../libhtml/libstx_libhtml.so .
+
+../../../libhtml/libstx_libhtml.so:
+ cd ../../../libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libwidg2.so: ../../../libwidg2/libstx_libwidg2.so
+ cp ../../../libwidg2/libstx_libwidg2.so .
+
+../../../libwidg2/libstx_libwidg2.so:
+ cd ../../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libtool.so: ../../../libtool/libstx_libtool.so
+ cp ../../../libtool/libstx_libtool.so .
+
+../../../libtool/libstx_libtool.so:
+ cd ../../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+libstx_libjava.so: ../..//libstx_libjava.so
+ cp ../..//libstx_libjava.so .
+
+../..//libstx_libjava.so:
+ cd ../../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+
+
+
+
+
+
+
+
+# Enforce recompilation of package definition class if Mercurial working
+# copy state changes. Together with --guessVersion it ensures that package
+# definition class always contains correct binary revision string.
+ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**'))
+stx_libjava_examples_tomcat6.$(O): $(shell hg root)/.hg/dirstate
+endif
+
+
+
+
+clean::
+ -rm -f *.so tomcat6.$(O)
+
+clobber:: clean
+ -rm -f tomcat6 *.img *.sav
+
+# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
+$(OUTDIR)ApacheTomcat6.$(O) ApacheTomcat6.$(H): ApacheTomcat6.st $(INCLUDE_TOP)/stx/libbasic/StandaloneStartup.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
+$(OUTDIR)stx_libjava_examples_tomcat6.$(O) stx_libjava_examples_tomcat6.$(H): stx_libjava_examples_tomcat6.st $(INCLUDE_TOP)/stx/libbasic/ApplicationDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
+
+# ENDMAKEDEPEND --- do not remove this line
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/Make.spec Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,64 @@
+# $Header$
+#
+# DO NOT EDIT
+# automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+#
+# Warning: once you modify this file, do not rerun
+# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
+#
+# This file contains specifications which are common to all platforms.
+#
+
+# Do NOT CHANGE THESE DEFINITIONS
+# (otherwise, ST/X will have a hard time to find out the packages location from its packageID,
+# to find the source code of a class and to find the library for a package)
+MODULE=stx
+MODULE_DIR=libjava/examples/tomcat6
+PACKAGE=$(MODULE):$(MODULE_DIR)
+
+
+# Argument(s) to the stc compiler (stc --usage).
+# -headerDir=. : create header files locally
+# (if removed, they will be created as common
+# -Pxxx : defines the package
+# -Zxxx : a prefix for variables within the classLib
+# -Dxxx : defines passed to to CC for inline C-code
+# -Ixxx : include path passed to CC for inline C-code
+# +optspace : optimized for space
+# +optspace2 : optimized more for space
+# +optspace3 : optimized even more for space
+# +optinline : generate inline code for some ST constructs
+# +inlineNew : additionally inline new
+# +inlineMath : additionally inline some floatPnt math stuff
+#
+# ********** OPTIONAL: MODIFY the next line(s) ***
+# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
+# STCLOCALOPTIMIZATIONS=+optspace3
+STCLOCALOPTIMIZATIONS=+optspace3
+
+
+# Argument(s) to the stc compiler (stc --usage).
+# -warn : no warnings
+# -warnNonStandard : no warnings about ST/X extensions
+# -warnEOLComments : no warnings about EOL comment extension
+# -warnPrivacy : no warnings about privateClass extension
+#
+# ********** OPTIONAL: MODIFY the next line(s) ***
+# STCWARNINGS=-warn
+# STCWARNINGS=-warnNonStandard
+# STCWARNINGS=-warnEOLComments
+STCWARNINGS=-warnNonStandard
+
+COMMON_CLASSES= \
+ stx_libjava_examples_tomcat6 \
+ ApacheTomcat6 \
+
+
+
+
+COMMON_OBJS= \
+ $(OUTDIR)stx_libjava_examples_tomcat6.$(O) \
+ $(OUTDIR)ApacheTomcat6.$(O) \
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/Makefile Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,19 @@
+#
+# DO NOT EDIT
+#
+# make uses this file (Makefile) only, if there is no
+# file named "makefile" (lower-case m) in the same directory.
+# My only task is to generate the real makefile and call make again.
+# Thereafter, I am no longer used and needed.
+#
+
+.PHONY: run
+
+run: makefile
+ $(MAKE) -f makefile
+
+#only needed for the definition of $(TOP)
+include Make.proto
+
+makefile:
+ $(TOP)/rules/stmkmf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/abbrev.stc Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,5 @@
+# automagically generated by the project definition
+# this file is needed for stc to be able to compile modules independently.
+# it provides information about a classes filename, category and especially namespace.
+stx_libjava_examples_tomcat6 stx_libjava_examples_tomcat6 stx:libjava/examples/tomcat6 '* Projects & Packages *' 3
+ApacheTomcat6 ApacheTomcat6 stx:libjava/examples/tomcat6 'Apache-Tomcat-6.x' 1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/autopackage/default.apspec Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,85 @@
+# -*- shell-script -*-
+[Meta]
+ShortName: tomcat6
+SoftwareVersion: 6.2.3.0
+DisplayName: Smalltalk/X Application
+RootName: @exept.de/expecco:$SOFTWAREVERSION
+Summary: Smalltalk/X Application
+Maintainer: eXept Software AG
+Packager: eXept Software AG
+PackageVersion: 1
+CPUArchitectures: x86
+AutopackageTarget: 1.0
+Type: Application
+License: Commercial
+
+[Description]
+Smalltalk/X Application
+
+[BuildPrepare]
+# If you're using autotools, the default should be enough.
+# prepareBuild will set up apbuild and run configure for you. If you
+# need to pass arguments to configure, just add them to prepareBuild:
+# prepareBuild --enable-foo --disable-bar
+#prepareBuild
+
+[BuildUnprepare]
+# If you're using prepareBuild above, there is no need to change this!
+#unprepareBuild
+
+[Globals]
+# Variables declared in this section will be available in all other sections
+export APKG_BUILD_SKIP_CONFIGURE=1
+export APKG_BUILD_SKIP_MAKE=1
+export MYPREFIX=/opt/tomcat6
+
+[Prepare]
+#recommend '@autopackage.org/autopackage-gtk' 1
+
+[Imports]
+import <<EOF
+$source_dir/tomcat6
+$source_dir/resources
+$source_dir/keyboard.rc
+$source_dir/display.rc
+$source_dir/../doc
+$source_dir/../testsuites/webedition
+$source_dir/../projects/libraries
+$source_dir/../reportGenerator/tools
+$source_dir/../../pdf/afm
+$source_dir/../plugin/selenium/libexept_expecco_plugin_selenium.so
+$source_dir/../externalTools
+EOF
+
+for i in $source_dir/*.so
+do
+ echo $source_dir/$(readlink $i)
+done | import
+
+[Install]
+if [ "$PREFIX" != "/usr" ]
+then
+ export MYPREFIX=$PREFIX
+fi
+
+find . -type d \( -name CVS -or -name 'not_*' \) -print | xargs rm -rf
+mkdir -p $MYPREFIX
+copyFiles expecco *.rc resources $MYPREFIX/bin
+copyFiles *.so $MYPREFIX/lib
+copyFiles doc externalTools $MYPREFIX/packages/exept/expecco
+copyFiles webedition/projects libraries $MYPREFIX/testsuites
+copyFiles tools $MYPREFIX/packages/exept/expecco/reportGenerator
+copyFiles afm $MYPREFIX/packages/exept/pdf
+copyFiles libexept_expecco_plugin_selenium.so $MYPREFIX/plugin
+
+#installExe expecco
+#installLib *.so
+#installData resources
+#installData keyboard.rc
+#installData doc
+
+[Uninstall]
+# Leaving this at the default is safe unless you use custom commands in
+# "Install" to create files. All autopackage API functions
+# that installs files are logged.
+uninstallFromLog
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/bc.mak Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,517 @@
+# $Header$
+#
+# DO NOT EDIT
+# automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+#
+# Warning: once you modify this file, do not rerun
+# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
+#
+# Historic Note:
+# this used to contain only rules to make with borland
+# (called via bmake, by "make.exe -f bc.mak")
+# this has changed; it is now also possible to build using microsoft visual c
+# (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
+#
+
+TOP=..\..\..
+INCLUDE_TOP=$(TOP)\..
+
+CFLAGS_LOCAL=$(CFLAGS_APPTYPE) \
+ -DSTARTUP_CLASS="\"ApacheTomcat6\"" \
+ -DSTARTUP_SELECTOR="\"start\"" \
+ -DUSE_MODULE_TABLE
+
+#
+
+!INCLUDE $(TOP)\rules\stdHeader_bc
+!INCLUDE Make.spec
+
+OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
+
+
+
+#
+LIBNAME=dummy
+STCOPT="+optinline"
+LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libview2 -I$(INCLUDE_TOP)\stx\libjava -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libcomp
+LOCALDEFINES=
+GLOBALDEFINES=
+
+STCLOCALOPT='-package=$(PACKAGE)' $(LOCALDEFINES) $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
+
+LFLAGS=$(APP_LFLAGS)
+
+PROJECT_NOCONSOLE= tomcat6.exe
+PROJECT_CONSOLE= tomcat6.com
+ALLOBJFILES= main.$(O)
+!ifdef USETCC
+RESFILES=
+!else
+RESFILES= tomcat6WinRC.res
+!endif
+
+ALLOBJ= $(ALLOBJFILES) $(OBJS)
+DEFFILE=$(TOP)\rules\bc_exe.def
+
+LIBFILES=$(LIBDIR_LIBRUN)\librun.lib
+ALLLIB=$(LIBFILES) $(APP_IMPORTLIBS) $(APP_RT_LIB)
+
+REQUIRED_LIBS=librun.dll \
+ libstx_libbasic.dll \
+ libstx_libbasic2.dll \
+ libstx_libcomp.dll \
+ libstx_libview.dll \
+ libstx_libdb.dll \
+ libstx_libview2.dll \
+ libstx_libboss.dll \
+ libstx_libdb_libodbc.dll \
+ libstx_libdb_libsqlite.dll \
+ libstx_goodies_sunit.dll \
+ libstx_libui.dll \
+ libstx_libbasic3.dll \
+ libstx_libwidg.dll \
+ libstx_libhtml.dll \
+ libstx_libwidg2.dll \
+ libstx_libtool.dll \
+ libstx_libjava.dll \
+
+
+REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
+
+REQUIRED_SUPPORT_DIRS=RESOURCEFILES
+
+target: ALL postBuildCleanup
+
+# the executable, all required files and a self-installing-installer-exe
+ALL:: prereq exe $(REQUIRED_SUPPORT_DIRS) postBuildCleanup setup
+
+exe: newBuildDate consoleApp
+
+# the executable only
+# with console
+consoleApp: $(REQUIRED_LIBS)
+ -del main.$(O)
+ $(MAKE) -N -f bc.mak $(USE_ARG) \
+ MAKE_BAT=$(MAKE_BAT) \
+ PROJECT=$(PROJECT_CONSOLE) \
+ CFLAGS_APPTYPE=" -DWIN32GUI $(CFLAGS_CONSOLE)" \
+ LFLAGS_APPTYPE=" $(LFLAGS_CONSOLE)" \
+ CRT_STARTUP=" $(CRT_STARTUP_CONSOLE)" theExe
+
+# without console
+noConsoleApp: $(REQUIRED_LIBS)
+ -del main.$(O)
+ $(MAKE) -N -f bc.mak $(USE_ARG) \
+ MAKE_BAT=$(MAKE_BAT) \
+ PROJECT=$(PROJECT_NOCONSOLE) \
+ CFLAGS_APPTYPE=" -DWIN32GUI $(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"tomcat6.log\\"\""" \
+ LFLAGS_APPTYPE=" $(LFLAGS_NOCONSOLE)" \
+ CRT_STARTUP=" $(CRT_STARTUP_NOCONSOLE)" theExe
+
+# the executable only (internal target; needs some defines)
+theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT)
+
+# build all prerequisite packages for this package
+prereq:
+ pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libdb & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+ pushd ..\..\..\librun & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
+
+
+# a nullsoft installable delivery
+# This uses the Nullsoft Installer Package and works in Windows only
+setup: $(PROJECT) postBuildCleanup tomcat6.nsi
+ $(MAKENSIS) tomcat6.nsi
+
+newBuildDate:
+ del buildDate.h
+
+new:
+ $(MAKE_BAT) clean
+ $(MAKE_BAT)
+
+RESOURCEFILES: tomcat6_RESOURCES tomcat6_BITMAPS \
+ stx_RESOURCES stx_STYLES stx_BITMAPS
+
+
+tomcat6_RESOURCES: resources\stx\libjava\examples\tomcat6\NUL
+ -copy ..\resources\*.rs resources\stx\libjava\examples\tomcat6\..
+ -copy ..\resources\*.style resources\stx\libjava\examples\tomcat6\..
+
+tomcat6_BITMAPS: resources\stx\libjava\examples\tomcat6\bitmaps\NUL
+ -copy *.ico resources\stx\libjava\examples\tomcat6\bitmaps
+ -copy *.gif resources\stx\libjava\examples\tomcat6\bitmaps
+
+resources\stx\libjava\examples\tomcat6\bitmaps\NUL: resources\stx\libjava\examples\tomcat6\NUL
+ mkdir resources\stx\libjava\examples\tomcat6\bitmaps
+
+resources\stx\libjava\examples\tomcat6\NUL: resources\stx\libjava\examples\NUL
+ mkdir resources\stx\libjava\examples\tomcat6
+
+resources\stx\libjava\examples\NUL: resources\stx\libjava\NUL
+ mkdir resources\stx\libjava\examples
+
+resources\stx\libjava\NUL: resources\stx\NUL
+ mkdir resources\stx\libjava
+
+
+
+stx_RESOURCES: \
+ keyboard.rc \
+ keyboardMacros.rc \
+ host.rc \
+ h_win32.rc \
+ display.rc \
+ d_win32.rc \
+ libbasic_RESOURCES \
+ libview_RESOURCES \
+ libtool_RESOURCES \
+ libtool2_RESOURCES
+
+keyboard.rc: $(TOP)\projects\smalltalk\keyboard.rc
+ copy $(TOP)\projects\smalltalk\keyboard.rc *.*
+
+keyboardMacros.rc: $(TOP)\projects\smalltalk\keyboardMacros.rc
+ copy $(TOP)\projects\smalltalk\keyboardMacros.rc *.*
+
+host.rc: $(TOP)\projects\smalltalk\host.rc
+ copy $(TOP)\projects\smalltalk\host.rc *.*
+
+h_win32.rc: $(TOP)\projects\smalltalk\h_win32.rc
+ copy $(TOP)\projects\smalltalk\h_win32.rc *.*
+
+display.rc: $(TOP)\projects\smalltalk\display.rc
+ copy $(TOP)\projects\smalltalk\display.rc *.*
+
+d_win32.rc: $(TOP)\projects\smalltalk\d_win32.rc
+ copy $(TOP)\projects\smalltalk\d_win32.rc *.*
+
+stx_STYLES: resources\stx\libview\NUL resources\stx\libview\styles\NUL
+ -copy $(TOP)\libview\styles\*.style resources\stx\libview\styles\*.*
+ -copy $(TOP)\libview\styles\*.common resources\stx\libview\styles\*.*
+
+stx_BITMAPS: \
+ libwidg_BITMAPS
+
+libwidg_BITMAPS: resources\stx\libwidg\bitmaps\NUL
+ -copy $(TOP)\libwidg\bitmaps\*.xpm resources\stx\libwidg\bitmaps\*.*
+
+libbasic_RESOURCES: resources\stx\libbasic\NUL
+ copy $(TOP)\libbasic\resources\*.rs resources\stx\libbasic\*.*
+
+libtool_RESOURCES: resources\stx\libtool\NUL
+ -copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
+
+libtool2_RESOURCES: resources\stx\libtool2\NUL
+ -copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
+
+libview_RESOURCES: resources\stx\libview\NUL
+ -copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
+
+libview2_RESOURCES: resources\stx\libview2\NUL
+ -copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
+
+resources\stx\libbasic\NUL: resources\stx\NUL
+ mkdir resources\stx\libbasic
+
+resources\stx\libtool\NUL: resources\stx\NUL
+ mkdir resources\stx\libtool
+
+resources\stx\libtool2\NUL: resources\stx\NUL
+ mkdir resources\stx\libtool2
+
+resources\stx\libview\NUL: resources\stx\NUL
+ mkdir resources\stx\libview
+
+resources\stx\libview\styles\NUL: resources\stx\libview\NUL
+ mkdir resources\stx\libview\styles
+
+resources\stx\libview2\NUL: resources\stx\NUL
+ mkdir resources\stx\libview2
+
+resources\stx\libwidg\bitmaps\NUL: resources\stx\libwidg\NUL
+ mkdir resources\stx\libwidg\bitmaps
+
+resources\stx\libwidg\NUL: resources\stx\NUL
+ mkdir resources\stx\libwidg
+
+resources\stx\NUL: resources\NUL
+ mkdir resources\stx
+
+resources\NUL:
+ mkdir resources
+
+bitmaps\NUL:
+ mkdir bitmaps
+
+doc\NUL:
+ mkdir doc
+
+
+
+
+
+
+libstx_libbasic.dll: ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll
+ copy ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll *.*
+
+..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll:
+ pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libbasic2.dll: ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll
+ copy ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll *.*
+
+..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll:
+ pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libcomp.dll: ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll
+ copy ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll *.*
+
+..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll:
+ pushd ..\..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libview.dll: ..\..\..\libview\$(OBJDIR)\libstx_libview.dll
+ copy ..\..\..\libview\$(OBJDIR)\libstx_libview.dll *.*
+
+..\..\..\libview\$(OBJDIR)\libstx_libview.dll:
+ pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libdb.dll: ..\..\..\libdb\$(OBJDIR)\libstx_libdb.dll
+ copy ..\..\..\libdb\$(OBJDIR)\libstx_libdb.dll *.*
+
+..\..\..\libdb\$(OBJDIR)\libstx_libdb.dll:
+ pushd ..\..\..\libdb & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libview2.dll: ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll
+ copy ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll *.*
+
+..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll:
+ pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libboss.dll: ..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll
+ copy ..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll *.*
+
+..\..\..\libboss\$(OBJDIR)\libstx_libboss.dll:
+ pushd ..\..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libdb_libodbc.dll: ..\..\..\libdb\libodbc\$(OBJDIR)\libstx_libdb_libodbc.dll
+ copy ..\..\..\libdb\libodbc\$(OBJDIR)\libstx_libdb_libodbc.dll *.*
+
+..\..\..\libdb\libodbc\$(OBJDIR)\libstx_libdb_libodbc.dll:
+ pushd ..\..\..\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libdb_libsqlite.dll: ..\..\..\libdb\libsqlite\$(OBJDIR)\libstx_libdb_libsqlite.dll
+ copy ..\..\..\libdb\libsqlite\$(OBJDIR)\libstx_libdb_libsqlite.dll *.*
+
+..\..\..\libdb\libsqlite\$(OBJDIR)\libstx_libdb_libsqlite.dll:
+ pushd ..\..\..\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_goodies_sunit.dll: ..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll
+ copy ..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll *.*
+
+..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll:
+ pushd ..\..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libui.dll: ..\..\..\libui\$(OBJDIR)\libstx_libui.dll
+ copy ..\..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
+
+..\..\..\libui\$(OBJDIR)\libstx_libui.dll:
+ pushd ..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libbasic3.dll: ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll
+ copy ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll *.*
+
+..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll:
+ pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libwidg.dll: ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
+ copy ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
+
+..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll:
+ pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libhtml.dll: ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll
+ copy ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll *.*
+
+..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll:
+ pushd ..\..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libwidg2.dll: ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll
+ copy ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll *.*
+
+..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll:
+ pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libtool.dll: ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll
+ copy ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll *.*
+
+..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll:
+ pushd ..\..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+libstx_libjava.dll: ..\..\$(OBJDIR)\libstx_libjava.dll
+ copy ..\..\$(OBJDIR)\libstx_libjava.dll *.*
+
+..\..\$(OBJDIR)\libstx_libjava.dll:
+ pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
+
+
+
+
+sources\NUL:
+ mkdir sources
+
+show:
+ @echo LFLAGS= $(LFLAGS)
+ @echo ALLOBJ= $(ALLOBJ)
+ @echo PROJECT= $(PROJECT)
+ @echo APP_IMPORTLIBS= $(APP_IMPORTLIBS)
+ @echo ALLLIB= $(ALLLIB)
+ @echo DEFFILE= $(DEFFILE)
+ @echo ALLRES= $(ALLRES)
+
+!ifdef USEBC
+
+$(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ), $(PROJECT_CONSOLE),, $(ALLLIB), $(DEFFILE), $(RESFILES)
+
+$(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ), $(PROJECT_NOCONSOLE),, $(ALLLIB), $(DEFFILE), $(RESFILES)
+
+!else
+! ifdef USEVC
+
+$(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) /OUT:"$(PROJECT_CONSOLE)" \
+ /MANIFEST /MANIFESTFILE:"$(PROJECT_CONSOLE).manifest" \
+ /PDB:"$(PROJECT_CONSOLE).pdb" \
+ /SUBSYSTEM:CONSOLE $(ALLLIB) $(RESFILES)
+
+$(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) /OUT:"$(PROJECT_NOCONSOLE)" \
+ /MANIFEST /MANIFESTFILE:"$(PROJECT_NOCONSOLE).manifest" \
+ /PDB:"$(PROJECT_NOCONSOLE).pdb" \
+ /SUBSYSTEM:WINDOWS $(ALLLIB) $(RESFILES)
+
+! else
+! ifdef USELCC
+
+$(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) -subsystem console $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
+
+$(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) -subsystem windows $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(RESFILES)
+
+! else
+! ifdef USETCC
+
+$(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
+
+$(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES)
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(RESFILES)
+
+! else
+! ifdef USEMINGW
+
+$(PROJECT_CONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES) show
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_CONSOLE)" $(ALLLIB) $(RESFILES)
+
+$(PROJECT_NOCONSOLE): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) $(LIBFILES) show
+ $(APP_LINKER) $(LFLAGS) $(LFLAGS_APPTYPE) $(CRT_STARTUP) $(ALLOBJ) -o "$(PROJECT_NOCONSOLE)" $(ALLLIB) $(APP_IMPORTLIBS) $(RESFILES)
+
+! else
+error error error
+! endif
+! endif
+! endif
+! endif
+!endif
+
+!INCLUDE $(TOP)\rules\stdRules_bc
+
+#
+# additional rules
+#
+tomcat6Win.res: tomcat6Win.rc tomcat6.ico
+
+main.$(O): buildDate.h main.c bc.mak
+
+main.c: $(TOP)\librun\main.c
+ copy $(TOP)\librun\main.c main.c
+
+# now in stdRules.
+#buildDate.h: $(GENDATE_UTILITIY)
+# $(GENDATE_UTILITIY)
+
+librun.dll: $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll
+ copy $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll librun.dll
+
+cs3245.dll: $(TOP)\support\win32\borland\cs3245.dll
+ copy $(TOP)\support\win32\borland\cs3245.dll cs3245.dll
+
+X11.dll: $(TOP)\support\win32\X11.dll
+ copy $(TOP)\support\win32\X11.dll X11.dll
+
+Xext.dll: $(TOP)\support\win32\Xext.dll
+ copy $(TOP)\support\win32\Xext.dll Xext.dll
+
+symbols.stc: $(TOP)\include\symbols.stc
+ copy $(TOP)\include\symbols.stc symbols.stc
+
+
+
+
+
+clean::
+ -del genDate.exe genDate.com
+ -del c0x32.dll
+ -del c0x32.lib
+ -del buildDate.h
+ -del $(PROJECT)
+ -del install_tomcat6.exe
+ -del stx.lib
+ -del stx.dll
+ -del cs3245.dll
+ -del $(REQUIRED_FILES)
+ -del main.c
+ -del *.log
+ -del *.res
+ -rmdir /S /Q resources
+ -rmdir /S /Q $(OBJDIR)
+
+clobber:: clean
+ -del *.dll *.exe *.com
+
+# stupid win-make does not allow empty - therefore echo something
+postBuildCleanup::
+ @-echo "postbuild cleanup"
+
+# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
+$(OUTDIR)ApacheTomcat6.$(O) ApacheTomcat6.$(H): ApacheTomcat6.st $(INCLUDE_TOP)\stx\libbasic\StandaloneStartup.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
+$(OUTDIR)stx_libjava_examples_tomcat6.$(O) stx_libjava_examples_tomcat6.$(H): stx_libjava_examples_tomcat6.st $(INCLUDE_TOP)\stx\libbasic\ApplicationDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
+
+# ENDMAKEDEPEND --- do not remove this line
+
+# **Must be at end**
+
+# Enforce recompilation of package definition class if Mercurial working
+# copy state changes. Together with --guessVersion it ensures that package
+# definition class always contains correct binary revision string.
+!IFDEF HGROOT
+$(OUTDIR)stx_libjava_examples_tomcat6.$(O): $(HGROOT)\.hg\dirstate
+!ENDIF
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/bmake.bat Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,12 @@
+@REM -------
+@REM make using Borland bcc32
+@REM type bmake, and wait...
+@REM do not edit - automatically generated from ProjectDefinition
+@REM -------
+@SET DEFINES=
+@REM Kludge got Mercurial, cannot be implemented in Borland make
+@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
+@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
+make.exe -N -f bc.mak %DEFINES% %*
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/builder/baseline.rbspec Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,42 @@
+
+# generated from project definition
+
+# load package dependencies
+load 'package.deps.rake'
+
+# kludge: clear some invalid dependencies of libwidg
+# (should be fixed in baseline)
+clear "stx:libwidg" => "stx:libui"
+clear "stx:libwidg2" => "stx:libui"
+
+project :'tomcat6:baseline' do
+ # preamble
+
+ # --------
+
+ package "stx:libbasic"
+ package "stx:libdb/libodbc"
+ package "stx:libbasic2"
+ package "stx:libcomp"
+ package "stx:libview"
+ package "stx:libdb"
+ package "stx:libview2"
+ package "stx:libboss"
+ package "stx:libdb/libsqlite"
+ package "stx:goodies/sunit"
+ package "stx:libui"
+ package "stx:libbasic3"
+ package "stx:libwidg"
+ package "stx:libhtml"
+ package "stx:libwidg2"
+ package "stx:libtool"
+ package "stx:libjava"
+
+
+ application "stx:libjava/examples/tomcat6"
+
+ # postamble
+
+ # ---------
+
+end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/builder/package.deps.rake Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,94 @@
+
+# Package dependencies.
+# Automatically generated by project defintion.
+
+task "stx:libjava" => "stx:libview"
+task "stx:libjava" => "stx:libwidg"
+task "stx:libjava" => "stx:libview2"
+task "stx:libjava" => "stx:goodies/sunit"
+task "stx:libjava" => "stx:libbasic2"
+task "stx:libjava" => "stx:libwidg2"
+task "stx:libjava" => "stx:libbasic"
+task "stx:libjava" => "stx:libbasic3"
+task "stx:libjava" => "stx:libcomp"
+task "stx:libjava" => "stx:libtool"
+task "stx:libjava" => "stx:libhtml"
+
+
+task "stx:libdb/libodbc" => "stx:libdb"
+task "stx:libdb/libodbc" => "stx:libbasic2"
+task "stx:libdb/libodbc" => "stx:libcomp"
+task "stx:libdb/libodbc" => "stx:libbasic"
+
+task "stx:libwidg" => "stx:libview2"
+task "stx:libwidg" => "stx:libview"
+task "stx:libwidg" => "stx:libbasic2"
+task "stx:libwidg" => "stx:libui"
+task "stx:libwidg" => "stx:libbasic"
+
+task "stx:goodies/sunit" => "stx:libview2"
+task "stx:goodies/sunit" => "stx:libview"
+task "stx:goodies/sunit" => "stx:libbasic"
+
+task "stx:libview2" => "stx:libview"
+task "stx:libview2" => "stx:libbasic2"
+task "stx:libview2" => "stx:libbasic"
+
+task "stx:libbasic2" => "stx:libbasic"
+
+task "stx:libdb" => "stx:libcomp"
+task "stx:libdb" => "stx:libbasic"
+
+task "stx:libview" => "stx:libbasic2"
+task "stx:libview" => "stx:libbasic"
+
+task "stx:libhtml" => "stx:libwidg"
+task "stx:libhtml" => "stx:libview"
+task "stx:libhtml" => "stx:libbasic"
+
+task "stx:libtool" => "stx:libwidg2"
+task "stx:libtool" => "stx:libbasic3"
+task "stx:libtool" => "stx:libcomp"
+task "stx:libtool" => "stx:libbasic2"
+task "stx:libtool" => "stx:libui"
+task "stx:libtool" => "stx:goodies/sunit"
+task "stx:libtool" => "stx:libboss"
+task "stx:libtool" => "stx:libhtml"
+task "stx:libtool" => "stx:libview2"
+task "stx:libtool" => "stx:libbasic"
+task "stx:libtool" => "stx:libwidg"
+task "stx:libtool" => "stx:libview"
+
+task "stx:libcomp" => "stx:libbasic"
+
+task "stx:libboss" => "stx:libview"
+task "stx:libboss" => "stx:libbasic2"
+task "stx:libboss" => "stx:libbasic"
+
+task "stx:libwidg2" => "stx:libview"
+task "stx:libwidg2" => "stx:libui"
+task "stx:libwidg2" => "stx:libview2"
+task "stx:libwidg2" => "stx:libwidg"
+task "stx:libwidg2" => "stx:libbasic2"
+task "stx:libwidg2" => "stx:libbasic"
+
+task "stx:libbasic3" => "stx:libdb/libodbc"
+task "stx:libbasic3" => "stx:libbasic2"
+task "stx:libbasic3" => "stx:libdb/libsqlite"
+task "stx:libbasic3" => "stx:libbasic"
+
+task "stx:libui" => "stx:libview2"
+task "stx:libui" => "stx:libview"
+task "stx:libui" => "stx:libbasic"
+
+task "stx:libdb/libsqlite" => "stx:libdb"
+task "stx:libdb/libsqlite" => "stx:libbasic2"
+task "stx:libdb/libsqlite" => "stx:libbasic"
+
+task "stx:libjava/examples/tomcat6" => "stx:libjava"
+task "stx:libjava/examples/tomcat6" => "stx:libview2"
+task "stx:libjava/examples/tomcat6" => "stx:libbasic2"
+task "stx:libjava/examples/tomcat6" => "stx:libcomp"
+task "stx:libjava/examples/tomcat6" => "stx:libbasic"
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/lccmake.bat Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,8 @@
+@REM -------
+@REM make using lcc compiler
+@REM type lccmake, and wait...
+@REM do not edit - automatically generated from ProjectDefinition
+@REM -------
+make.exe -N -f bc.mak -DUSELCC=1 %*
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/mingwmake.bat Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,12 @@
+@REM -------
+@REM make using mingw gnu compiler
+@REM type mingwmake, and wait...
+@REM do not edit - automatically generated from ProjectDefinition
+@REM -------
+@SET DEFINES=
+@REM Kludge got Mercurial, cannot be implemented in Borland make
+@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
+@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
+make.exe -N -f bc.mak -DUSEMINGW=1 %DEFINES% %*
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/modules.c Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,22 @@
+/* $Header$
+ *
+ * DO NOT EDIT
+ * automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+ *
+ * Warning: once you modify this file, do not rerun
+ * stmkmp or projectDefinition-build again - otherwise, your changes are lost.
+ */
+typedef void (*vf)();
+
+extern void _ApacheTomcat6_Init();
+extern void _stx_137libjava_137examples_137tomcat6_Init();
+
+
+static vf modules[] = {
+ _ApacheTomcat6_Init,
+_stx_137libjava_137examples_137tomcat6_Init,
+
+ (vf)0
+};
+
+vf *__modules__ = modules;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/modules.stx Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,36 @@
+# $Header$
+#
+# DO NOT EDIT
+# automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+#
+# Warning: once you modify this file, do not rerun
+# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
+#
+# This file is (currently) only used with win-95 / win-NT versions of STX.
+# It lists the dll's which are to be loaded at startup time.
+# Notice, lines starting with a "#" are comments.
+# Lines starting with a "*" are treated as comments by the VM, but are usually loaded
+# by the application at the very beginning.
+#
+# All classes loaded at startup time will be present as precompiled classes.
+# Others might be autoloaded.
+#
+libstx_libbasic
+libstx_libdb_libodbc
+libstx_libbasic2
+libstx_libcomp
+libstx_libview
+libstx_libdb
+libstx_libview2
+libstx_libboss
+libstx_libdb_libsqlite
+libstx_goodies_sunit
+libstx_libui
+libstx_libbasic3
+libstx_libwidg
+libstx_libhtml
+libstx_libwidg2
+libstx_libtool
+libstx_libjava
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/stx_libjava_examples_tomcat6.st Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,138 @@
+"{ Package: 'stx:libjava/examples/tomcat6' }"
+
+ApplicationDefinition subclass:#stx_libjava_examples_tomcat6
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'* Projects & Packages *'
+!
+
+
+!stx_libjava_examples_tomcat6 class methodsFor:'description'!
+
+excludedFromPreRequisites
+ "list all packages which should be ignored in the automatic
+ preRequisites scan. See #preRequisites for more."
+
+ ^ #(
+ )
+!
+
+isGUIApplication
+ "return true, if this is a GUI application.
+ (these need more libraries and use a different startup procedure)"
+
+ ^ false
+!
+
+preRequisites
+ "list all required packages.
+ This list can be maintained manually or (better) generated and
+ updated by scanning the superclass hierarchies and looking for
+ global variable accesses. (the browser has a menu function for that)
+ Howevery, often too much is found, and you may want to explicitely
+ exclude individual packages in the #excludedFromPrerequisites method."
+
+ ^ #(
+ #'stx:libbasic' "ApplicationDefinition - superclass of stx_libjava_examples_tomcat6 "
+ #'stx:libbasic2' "UUID - referenced by ApacheTomcat6Start class>>applicationUUID "
+ #'stx:libcomp'
+ #'stx:libjava'
+ #'stx:libview2'
+ )
+!
+
+subProjects
+ "list packages which are known as subprojects.
+ This method is generated automatically; however, when generating automatically,
+ packages are only added - never removed, unless listed in #excludedFromSubProjects."
+
+ ^ #(
+)
+! !
+
+!stx_libjava_examples_tomcat6 class methodsFor:'description - contents'!
+
+classNamesAndAttributes
+ "lists the classes which are to be included in the project.
+ Each entry in the list may be: a single class-name (symbol),
+ or an array-literal consisting of class name and attributes.
+ Attributes are: #autoload or #<os> where os is one of win32, unix,..."
+
+ ^ #(
+ "<className> or (<className> attributes...) in load order"
+ #'stx_libjava_examples_tomcat6'
+ ApacheTomcat6
+ )
+!
+
+extensionMethodNames
+ "lists the extension methods which are to be included in the project.
+ Entries are 2-element array literals, consisting of class-name and selector."
+
+ ^ #(
+ )
+! !
+
+!stx_libjava_examples_tomcat6 class methodsFor:'description - project information'!
+
+applicationIconFileName
+ "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
+
+ ^ nil
+ "/ ^ self applicationName
+!
+
+companyName
+ "Return a companyname which will appear in <lib>.rc"
+
+ ^ 'eXept Software AG'
+!
+
+description
+ "Return a description string which will appear in vc.def / bc.def"
+
+ ^ 'Smalltalk/X Application'
+!
+
+legalCopyright
+ "Return a copyright string which will appear in <lib>.rc"
+
+ ^ 'Copyright Claus Gittinger 1988-2013\nCopyright eXept Software AG 1998-2013'
+!
+
+productInstallDirBaseName
+ "Returns a default installDir which will appear in <app>.nsi.
+ This is usually not the one you want to keep"
+
+ ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
+!
+
+productName
+ "Return a product name which will appear in <lib>.rc"
+
+ ^ 'Smalltalk/X'
+! !
+
+!stx_libjava_examples_tomcat6 class methodsFor:'description - startup'!
+
+startupClassName
+ "the class that starts the show in its startupSelector method"
+
+ ^ 'ApacheTomcat6'
+
+ "Modified: / 10-01-2013 / 22:38:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+startupSelector
+ "the message that is sent to the startupClass to start the show"
+
+ ^ #'start'
+! !
+
+!stx_libjava_examples_tomcat6 class methodsFor:'documentation'!
+
+version_HG
+
+ ^ '$Changeset: <not expanded> $'
+! !
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/tomcat6.nsi Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,206 @@
+; $Header$
+; Script generated by ProjectDefinition.
+
+!define PRODUCT_NAME "Smalltalk/X"
+!define PRODUCT_FILENAME "Smalltalk_X"
+!define PRODUCT_VERSION "6.2.3.0"
+!define PRODUCT_PUBLISHER "eXept Software AG"
+!define PRODUCT_WEB_SITE "http://www.exept.de"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_FILENAME}"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+
+!define STX_ROOT "..\..\..\.."
+
+SetCompressor /solid lzma
+
+!include "MUI2.nsh"
+!include "x64.nsh"
+
+; MUI Settings
+
+!define MUI_WELCOMEPAGE_TITLE_3LINES
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+;; !define MUI_ICON "nil.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+;; !define MUI_UNICON "nil.ico"
+
+; Language Selection Dialog Settings
+!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
+!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
+!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+; !define MUI_LICENSEPAGE_CHECKBOX
+
+
+!insertmacro MUI_PAGE_COMPONENTS
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+; Finish page
+!insertmacro MUI_PAGE_FINISH
+
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Language files
+!insertmacro MUI_LANGUAGE "English"
+!insertmacro MUI_LANGUAGE "German"
+
+; MUI end ------
+
+
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+VIProductVersion "${PRODUCT_VERSION}.0"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${PRODUCT_NAME}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${PRODUCT_PUBLISHER}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "6.2.32767.32767"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${PRODUCT_NAME} Installer"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${PRODUCT_VERSION}"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright Claus Gittinger 1988-2013\nCopyright eXept Software AG 1998-2013"
+
+
+OutFile "Smalltalk_XSetup.exe"
+InstallDir "$PROGRAMFILES\tomcat6"
+ShowInstDetails show
+ShowUnInstDetails show
+
+Function .onInit
+ !insertmacro MUI_LANGDLL_DISPLAY
+FunctionEnd
+
+InstType Full
+InstType Partial
+
+Section "Programme" Section1
+ SectionIn 1 2
+ SetOutPath "$INSTDIR\bin"
+ SetOverwrite ifnewer
+ File "tomcat6.com"
+ File "*.dll"
+ File "symbols.stc"
+ File "*.stx"
+ File "*.rc"
+ File /r "resources"
+
+
+
+
+
+ WriteRegStr HKCR "Stx.Smalltalk_X.1" "" "Smalltalk_X File"
+ WriteRegStr HKCR "Stx.Smalltalk_X.1\DefaultIcon" "" '$INSTDIR\bin\tomcat6.exe,0'
+ WriteRegStr HKCR "Stx.Smalltalk_X.1\Shell\open" "" $(appOpen)
+ WriteRegStr HKCR "Stx.Smalltalk_X.1\Shell\open\command" "" '"$INSTDIR\bin\tomcat6.exe" -- "%1"'
+SectionEnd
+
+;; Section "Online-Documentation for Smalltalk/X" Section2
+;; SectionIn 1
+;; SetOutPath "$INSTDIR\doc"
+;; SetOverwrite ifnewer
+;; File /r /x CVS "${STX_ROOT}\stx\tomcat6\doc\*"
+;; SectionEnd
+
+;; Section "Smalltalk/X Libraries and Demos" Section3
+;; SectionIn 1
+;; SetOutPath "$INSTDIR\lib"
+;; SetOverwrite ifnewer
+;; ; File /r /x CVS "${STX_ROOT}\stx\tomcat6\examples\*"
+;; SectionEnd
+;;
+;; Section "Smalltalk/X Reports and Printing" Section4
+;; SectionIn 1
+;; SetOutPath "$INSTDIR\reportGenerator"
+;; SetOverwrite ifnewer
+;; ; File /r /x CVS "..\reportGenerator\java" "..\reportGenerator\rules" "..\reportGenerator\*.xml" "..\reportGenerator\*.xslt" "..\reportGenerator\CloseApp.exe" "..\reportGenerator\expecco.jpg"
+;; SectionEnd
+
+
+
+
+
+
+
+
+Section -AdditionalIcons
+ SetOutPath "$INSTDIR\bin"
+ WriteIniStr "$INSTDIR\${PRODUCT_FILENAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
+ CreateDirectory "$SMPROGRAMS\${PRODUCT_FILENAME}"
+ CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\tomcat6.lnk" "$INSTDIR\bin\tomcat6.exe"
+ CreateShortCut "$DESKTOP\tomcat6.lnk" "$INSTDIR\bin\tomcat6.exe"
+ CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk" "$INSTDIR\${PRODUCT_FILENAME}.url"
+ CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
+SectionEnd
+
+Section -Post
+ WriteUninstaller "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+LangString appOpen ${LANG_GERMAN} "Mit Smalltalk/X ffnen"
+LangString appOpen ${LANG_ENGLISH} "Open with Smalltalk/X"
+
+LangString DESC_Section1 ${LANG_ENGLISH} "Program components of Smalltalk/X"
+LangString DESC_Section1 ${LANG_GERMAN} "Alle Programmkomponenten von Smalltalk/X"
+;; LangString DESC_Section2 ${LANG_ENGLISH} "Online-Documentation of Smalltalk/X"
+;; LangString DESC_Section2 ${LANG_GERMAN} "Online-Dokumentation zu Smalltalk/X"
+;; LangString DESC_Section3 ${LANG_ENGLISH} "Libraries and Demo Projects"
+;; LangString DESC_Section3 ${LANG_GERMAN} "Bibliotheken und Beispielprojekte"
+;; LangString DESC_Section4 ${LANG_ENGLISH} "Logfile Printing and Report Generation"
+;; LangString DESC_Section4 ${LANG_GERMAN} "Drucken und Report-Generierung aus Log-Dateien"
+;; LangString DESC_Section3 ${LANG_ENGLISH} "Sources of ST/X (Base-System)"
+;; LangString DESC_Section3 ${LANG_GERMAN} "Quellcode von ST/X (Basis-System)"
+;; LangString DESC_Section4 ${LANG_ENGLISH} "Sources of Smalltalk/X"
+;; LangString DESC_Section4 ${LANG_GERMAN} "Quellcode von Smalltalk/X"
+
+
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+ !insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
+;; !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
+;; !insertmacro MUI_DESCRIPTION_TEXT ${Section3} $(DESC_Section3)
+;; !insertmacro MUI_DESCRIPTION_TEXT ${Section4} $(DESC_Section4)
+
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+
+
+Function un.onUninstSuccess
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "Smalltalk/X wurde erfolgreich deinstalliert"
+FunctionEnd
+
+Function un.onInit
+!insertmacro MUI_UNGETLANGUAGE
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Mchten Sie Smalltalk/X und alle seine Komponenten deinstallieren?" IDYES +2
+ Abort
+FunctionEnd
+
+Section Uninstall
+ Delete "$INSTDIR\${PRODUCT_FILENAME}.url"
+ Delete "$INSTDIR\uninst.exe"
+
+ Delete "$INSTDIR\*"
+ RMDir /r "$INSTDIR"
+
+ Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk"
+ Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk"
+ Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\tomcat6.lnk"
+ Delete "$DESKTOP\tomcat6.lnk"
+
+ RMDir "$SMPROGRAMS\${PRODUCT_FILENAME}"
+
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+ DeleteRegKey HKCR "Stx.Smalltalk_X.1"
+
+
+
+ SetAutoClose true
+SectionEnd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/tomcat6WinRC.rc Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,49 @@
+//
+// DO NOT EDIT
+// automagically generated from the projectDefinition: stx_libjava_examples_tomcat6.
+//
+#define IDR_MAINFRAME 128
+#define IDR_SPLASH 129
+
+#if (__BORLANDC__)
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#endif
+
+#pragma code_page(1252)
+
+
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 6,2,32767,32767
+ PRODUCTVERSION 6,2,3,0
+#if (__BORLANDC__)
+ FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE
+ FILEFLAGS VS_FF_PRERELEASE | VS_FF_SPECIALBUILD
+ FILEOS VOS_NT_WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE VS_USER_DEFINED
+#else
+ FILEFLAGSMASK 0x3fL
+#endif
+
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "eXept Software AG\0"
+ VALUE "FileDescription", "Smalltalk/X Application\0"
+ VALUE "FileVersion", "6.2.32767.32767\0"
+ VALUE "InternalName", "stx:libjava/examples/tomcat6\0"
+ VALUE "LegalCopyright", "Copyright Claus Gittinger 1988-2013\nCopyright eXept Software AG 1998-2013\0"
+ VALUE "ProductName", "Smalltalk/X\0"
+ VALUE "ProductVersion", "6.2.3.0\0"
+ VALUE "ProductDate", "Thu, 10 Jan 2013 23:27:34 GMT\0"
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN // Language | Translation
+ VALUE "Translation", 0x409, 0x4E4 // U.S. English, Windows Multilingual
+ END
+END
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/tomcat6/vcmake.bat Thu Jan 10 23:55:31 2013 +0000
@@ -0,0 +1,18 @@
+@REM -------
+@REM make using Microsoft Visual C compiler
+@REM type vcmake, and wait...
+@REM do not edit - automatically generated from ProjectDefinition
+@REM -------
+
+@if not defined VSINSTALLDIR (
+ call ..\..\..\rules\vcsetup.bat
+)
+@SET DEFINES=
+@REM Kludge got Mercurial, cannot be implemented in Borland make
+@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
+@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
+make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*
+
+
+
+