initial check-in
This commit is contained in:
parent
d1e6694a47
commit
27b20500c7
17 changed files with 284 additions and 0 deletions
19
README.txt
Normal file
19
README.txt
Normal file
|
@ -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/
|
5
apps.properties
Normal file
5
apps.properties
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# List of apps to start.
|
||||||
|
|
||||||
|
hensolite
|
||||||
|
hopblog
|
||||||
|
antville
|
19
build/antclick/README.txt
Normal file
19
build/antclick/README.txt
Normal file
|
@ -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/
|
11
build/antclick/db.properties
Normal file
11
build/antclick/db.properties
Normal file
|
@ -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
|
47
build/antclick/license.txt
Normal file
47
build/antclick/license.txt
Normal file
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
2
build/antclick/server.properties
Normal file
2
build/antclick/server.properties
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
country = AT
|
||||||
|
language = de
|
5
build/main/apps.properties
Normal file
5
build/main/apps.properties
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# List of apps to start.
|
||||||
|
|
||||||
|
hensolite
|
||||||
|
hopblog
|
||||||
|
antville
|
11
build/main/db.properties
Normal file
11
build/main/db.properties
Normal file
|
@ -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
|
16
build/main/hop.bat
Executable file
16
build/main/hop.bat
Executable file
|
@ -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%
|
||||||
|
|
||||||
|
|
||||||
|
|
12
build/main/hop.sh
Normal file
12
build/main/hop.sh
Normal file
|
@ -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
|
||||||
|
|
47
build/main/license.txt
Normal file
47
build/main/license.txt
Normal file
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
2
build/main/server.properties
Normal file
2
build/main/server.properties
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
country = AT
|
||||||
|
language = de
|
11
db.properties
Normal file
11
db.properties
Normal file
|
@ -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
|
16
hop.bat
Executable file
16
hop.bat
Executable file
|
@ -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%
|
||||||
|
|
||||||
|
|
||||||
|
|
12
hop.sh
Executable file
12
hop.sh
Executable file
|
@ -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
|
||||||
|
|
47
license.txt
Normal file
47
license.txt
Normal file
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
2
server.properties
Normal file
2
server.properties
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
country = AT
|
||||||
|
language = de
|
Loading…
Add table
Reference in a new issue