From 27b20500c7289ce391cd931bf9ffe588a82c241c Mon Sep 17 00:00:00 2001 From: p3k Date: Thu, 21 Jun 2001 13:04:14 +0000 Subject: [PATCH] initial check-in --- README.txt | 19 +++++++++++++ apps.properties | 5 ++++ build/antclick/README.txt | 19 +++++++++++++ build/antclick/db.properties | 11 ++++++++ build/antclick/license.txt | 47 ++++++++++++++++++++++++++++++++ build/antclick/server.properties | 2 ++ build/main/apps.properties | 5 ++++ build/main/db.properties | 11 ++++++++ build/main/hop.bat | 16 +++++++++++ build/main/hop.sh | 12 ++++++++ build/main/license.txt | 47 ++++++++++++++++++++++++++++++++ build/main/server.properties | 2 ++ db.properties | 11 ++++++++ hop.bat | 16 +++++++++++ hop.sh | 12 ++++++++ license.txt | 47 ++++++++++++++++++++++++++++++++ server.properties | 2 ++ 17 files changed, 284 insertions(+) create mode 100644 README.txt create mode 100644 apps.properties create mode 100644 build/antclick/README.txt create mode 100644 build/antclick/db.properties create mode 100644 build/antclick/license.txt create mode 100644 build/antclick/server.properties create mode 100644 build/main/apps.properties create mode 100644 build/main/db.properties create mode 100755 build/main/hop.bat create mode 100644 build/main/hop.sh create mode 100644 build/main/license.txt create mode 100644 build/main/server.properties create mode 100644 db.properties create mode 100755 hop.bat create mode 100755 hop.sh create mode 100644 license.txt create mode 100644 server.properties diff --git a/README.txt b/README.txt new file mode 100644 index 00000000..0d21c255 --- /dev/null +++ b/README.txt @@ -0,0 +1,19 @@ +This is the first release of Hop. + +If you manage to get it running you should be able to connect your browser to +http://127.0.0.1:8080/ (port 8080, that is). There is not much in terms of documentation +at this point, please look at http://helma.org and have a look at the sample application +in the apps/base directory. + +This version is set up to use its own embedded Web server and a very basic +embedded object database. For this reason it is able to run virtually without installation +on any platform with a Java 1.1 virtual machine. + +On the other hand, the embedded Web server and object db are meant for +development work and not ready for prime time deployment. For that you'd probably +use an external relational database, the Berkeley DB package and a full featured +Web server like Apache. + +Stay tuned for more documentation and stuff +hannes@helma.at +http://helma.org/ diff --git a/apps.properties b/apps.properties new file mode 100644 index 00000000..fb3d5636 --- /dev/null +++ b/apps.properties @@ -0,0 +1,5 @@ +# List of apps to start. + +hensolite +hopblog +antville diff --git a/build/antclick/README.txt b/build/antclick/README.txt new file mode 100644 index 00000000..0d21c255 --- /dev/null +++ b/build/antclick/README.txt @@ -0,0 +1,19 @@ +This is the first release of Hop. + +If you manage to get it running you should be able to connect your browser to +http://127.0.0.1:8080/ (port 8080, that is). There is not much in terms of documentation +at this point, please look at http://helma.org and have a look at the sample application +in the apps/base directory. + +This version is set up to use its own embedded Web server and a very basic +embedded object database. For this reason it is able to run virtually without installation +on any platform with a Java 1.1 virtual machine. + +On the other hand, the embedded Web server and object db are meant for +development work and not ready for prime time deployment. For that you'd probably +use an external relational database, the Berkeley DB package and a full featured +Web server like Apache. + +Stay tuned for more documentation and stuff +hannes@helma.at +http://helma.org/ diff --git a/build/antclick/db.properties b/build/antclick/db.properties new file mode 100644 index 00000000..e0e91a65 --- /dev/null +++ b/build/antclick/db.properties @@ -0,0 +1,11 @@ +# This is where you specify relational data sources to +# map Hop types to an external database + +# Comma-separated list of data source names +sources=myDataSource + +# Properties of data sources +myDataSource.url=jdbc:mysql://db.domain.com/space +myDataSource.driver=org.gjt.mm.mysql.Driver +myDataSource.user=username +myDataSource.password=xyz diff --git a/build/antclick/license.txt b/build/antclick/license.txt new file mode 100644 index 00000000..d1926fa5 --- /dev/null +++ b/build/antclick/license.txt @@ -0,0 +1,47 @@ + Copyright (c) 1999-2000 Helma.org. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. Attribution must be given to Hop in a way that is appropriate to how + it is being used. For a website this attribution will normally consist + of a link to http://helma.org/ with the line "Powered by Hop". + + 4. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + 5. Products derived from this software may not be called "Hop" + nor may "Helma" appear in their names without prior written + permission of Helma.org. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + THIS SOFTWARE IS PROVIDED BY HELMA.ORG ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL HELMA.ORG OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + + diff --git a/build/antclick/server.properties b/build/antclick/server.properties new file mode 100644 index 00000000..299a3d5c --- /dev/null +++ b/build/antclick/server.properties @@ -0,0 +1,2 @@ +country = AT +language = de diff --git a/build/main/apps.properties b/build/main/apps.properties new file mode 100644 index 00000000..fb3d5636 --- /dev/null +++ b/build/main/apps.properties @@ -0,0 +1,5 @@ +# List of apps to start. + +hensolite +hopblog +antville diff --git a/build/main/db.properties b/build/main/db.properties new file mode 100644 index 00000000..e0e91a65 --- /dev/null +++ b/build/main/db.properties @@ -0,0 +1,11 @@ +# This is where you specify relational data sources to +# map Hop types to an external database + +# Comma-separated list of data source names +sources=myDataSource + +# Properties of data sources +myDataSource.url=jdbc:mysql://db.domain.com/space +myDataSource.driver=org.gjt.mm.mysql.Driver +myDataSource.user=username +myDataSource.password=xyz diff --git a/build/main/hop.bat b/build/main/hop.bat new file mode 100755 index 00000000..8b2f79f4 --- /dev/null +++ b/build/main/hop.bat @@ -0,0 +1,16 @@ +@echo off + +rem Batch file for starting Hop with a JDK-like virtual machine. + +set JARS=lib\helma.jar;lib\berkeley.jar;lib\village.jar;lib\jsdk.jar;lib\openxml.jar +set JARS=%JARS%;lib\sax.jar;lib\regexp.jar;lib\netcomponents.jar;lib\jimi.jar +set JARS=%JARS%;lib\mail.jar;lib\activation.jar;lib\mysql.jar + +set HOP_PORT=8080 + +echo Starting Web server on port %HOP_PORT% + +java -classpath c:\winnt\java\packages\rmi.zip;%JARS% helma.objectmodel.db.Server -w %HOP_PORT% + + + diff --git a/build/main/hop.sh b/build/main/hop.sh new file mode 100644 index 00000000..fcc70ae7 --- /dev/null +++ b/build/main/hop.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# Stupid shell script for starting Hop with a JDK-like virtual machine. +# Presumes that you have your classpath set. + +export HOP_PORT=8080 + +export JARS=lib/helma.jar:lib/berkeley.jar:lib/village.jar:lib/jsdk.jar:lib/openxml.jar +export JARS=$JARS:lib/sax.jar:lib/regexp.jar:lib/netcomponents.jar:lib/jimi.jar +export JARS=$JARS:lib/mail.jar:lib/activation.jar:lib/mysql.jar + +java -classpath $CLASSPATH:$JARS helma.objectmodel.db.Server -w $HOP_PORT + diff --git a/build/main/license.txt b/build/main/license.txt new file mode 100644 index 00000000..d1926fa5 --- /dev/null +++ b/build/main/license.txt @@ -0,0 +1,47 @@ + Copyright (c) 1999-2000 Helma.org. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. Attribution must be given to Hop in a way that is appropriate to how + it is being used. For a website this attribution will normally consist + of a link to http://helma.org/ with the line "Powered by Hop". + + 4. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + 5. Products derived from this software may not be called "Hop" + nor may "Helma" appear in their names without prior written + permission of Helma.org. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + THIS SOFTWARE IS PROVIDED BY HELMA.ORG ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL HELMA.ORG OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + + diff --git a/build/main/server.properties b/build/main/server.properties new file mode 100644 index 00000000..299a3d5c --- /dev/null +++ b/build/main/server.properties @@ -0,0 +1,2 @@ +country = AT +language = de diff --git a/db.properties b/db.properties new file mode 100644 index 00000000..e0e91a65 --- /dev/null +++ b/db.properties @@ -0,0 +1,11 @@ +# This is where you specify relational data sources to +# map Hop types to an external database + +# Comma-separated list of data source names +sources=myDataSource + +# Properties of data sources +myDataSource.url=jdbc:mysql://db.domain.com/space +myDataSource.driver=org.gjt.mm.mysql.Driver +myDataSource.user=username +myDataSource.password=xyz diff --git a/hop.bat b/hop.bat new file mode 100755 index 00000000..8b2f79f4 --- /dev/null +++ b/hop.bat @@ -0,0 +1,16 @@ +@echo off + +rem Batch file for starting Hop with a JDK-like virtual machine. + +set JARS=lib\helma.jar;lib\berkeley.jar;lib\village.jar;lib\jsdk.jar;lib\openxml.jar +set JARS=%JARS%;lib\sax.jar;lib\regexp.jar;lib\netcomponents.jar;lib\jimi.jar +set JARS=%JARS%;lib\mail.jar;lib\activation.jar;lib\mysql.jar + +set HOP_PORT=8080 + +echo Starting Web server on port %HOP_PORT% + +java -classpath c:\winnt\java\packages\rmi.zip;%JARS% helma.objectmodel.db.Server -w %HOP_PORT% + + + diff --git a/hop.sh b/hop.sh new file mode 100755 index 00000000..fcc70ae7 --- /dev/null +++ b/hop.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# Stupid shell script for starting Hop with a JDK-like virtual machine. +# Presumes that you have your classpath set. + +export HOP_PORT=8080 + +export JARS=lib/helma.jar:lib/berkeley.jar:lib/village.jar:lib/jsdk.jar:lib/openxml.jar +export JARS=$JARS:lib/sax.jar:lib/regexp.jar:lib/netcomponents.jar:lib/jimi.jar +export JARS=$JARS:lib/mail.jar:lib/activation.jar:lib/mysql.jar + +java -classpath $CLASSPATH:$JARS helma.objectmodel.db.Server -w $HOP_PORT + diff --git a/license.txt b/license.txt new file mode 100644 index 00000000..d1926fa5 --- /dev/null +++ b/license.txt @@ -0,0 +1,47 @@ + Copyright (c) 1999-2000 Helma.org. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. Attribution must be given to Hop in a way that is appropriate to how + it is being used. For a website this attribution will normally consist + of a link to http://helma.org/ with the line "Powered by Hop". + + 4. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + 5. Products derived from this software may not be called "Hop" + nor may "Helma" appear in their names without prior written + permission of Helma.org. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by members of Helma.org + for use in the Helma Object Publisher project (http://helma.org/)." + + THIS SOFTWARE IS PROVIDED BY HELMA.ORG ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL HELMA.ORG OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + + diff --git a/server.properties b/server.properties new file mode 100644 index 00000000..299a3d5c --- /dev/null +++ b/server.properties @@ -0,0 +1,2 @@ +country = AT +language = de