Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
protect from students
- Loading branch information
Therese
committed
Sep 6, 2012
0 parents
commit 4629281
Showing
996 changed files
with
120,497 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="test-src"/> | ||
<classpathentry kind="src" path="generated-src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="lib" path="lib/junit-3.8.jar" sourcepath="C:/Users/ckohlhaas/.m2/repository/junit/junit/3.8.1/junit-3.8.1-sources.jar"/> | ||
<classpathentry exported="true" kind="lib" path="lib/common/avalon-framework-4.2.0.jar"/> | ||
<classpathentry kind="lib" path="lib/common/picollo.jar"/> | ||
<classpathentry kind="lib" path="lib/server/avalon-logging.jar"/> | ||
<classpathentry kind="lib" path="lib/jetty-6.1.11.jar"/> | ||
<classpathentry kind="lib" path="lib/jetty-util-6.1.11.jar"/> | ||
<classpathentry kind="lib" path="lib/servlet-api-2.5-6.1.11.jar"/> | ||
<classpathentry kind="lib" path="lib/test-only/hsqldb.jar"/> | ||
<classpathentry kind="lib" path="lib/server/backport-util-concurrent-3.1.jar"/> | ||
<classpathentry kind="lib" path="lib/server/commons-logging-1.1.1.jar"/> | ||
<classpathentry kind="lib" path="lib/server/commons-codec-1.5.jar"/> | ||
<classpathentry kind="lib" path="lib/server/commons-lang-2.6.jar"/> | ||
<classpathentry kind="lib" path="lib/server/ical4j-1.0.1.jar"/> | ||
<classpathentry kind="lib" path="Y:/ForJarFiles/juh-3.1.0.jar"/> | ||
<classpathentry kind="lib" path="Y:/ForJarFiles/ridl-3.1.0.jar"/> | ||
<classpathentry kind="lib" path="Y:/ForJarFiles/unoil-3.1.0.jar"/> | ||
<classpathentry kind="output" path="eclipse-build"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Rapla</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
This is the INSTALLING-GUIDE for the Rapla-BINARY-DISTRIBUTION, | ||
|
||
You will find more information on our documentation pages on | ||
http://rapla.sourceforge.net/documentation.html | ||
|
||
if you have downloaded the SOURCE-DISTRIBUTION you have to | ||
!!! BUILD A BINARY-DISTRIBUTION first !!! | ||
For more information read README-BUILD.txt. | ||
|
||
Requirements: | ||
|
||
You need JAVA: JRE 1.5 at least (1.6 recommended). | ||
You can download it from java.sun.com | ||
|
||
* The SDK works for the binary and source distribution but is very | ||
large (>20 MB) | ||
|
||
* The JRE will only work for the binary distribution (Compiler | ||
missing) but is much smaller (12MB) | ||
|
||
|
||
STARTING RAPLA: | ||
|
||
Start rapla.exe (rapla.sh under Unix). | ||
|
||
To start Rapla from the command-line, you have to set the java command | ||
in your PATH-Variable (if its not already there), | ||
|
||
Example: | ||
setenv PATH $PATH:/usr/local/java/bin (Unix) | ||
set PATH=%PATH%:c:\Programme\Java\jre\bin (Windows) | ||
|
||
Then type: | ||
|
||
rapla.sh (Unix) | ||
rapla.bat (win95/98). | ||
call rapla.bat (win NT/2000) | ||
|
||
|
||
If you want to try out the simpsons-sample change the | ||
following configuration entry in webapp/WEB-INF/rapla.xconf | ||
|
||
<file-storage id="file" logger="file-operator"> | ||
<file>simpsons-data.xml</file> | ||
<validate>no</validate> | ||
</file-storage> | ||
|
||
or overwrite your existing data.xml file. | ||
|
||
If you want to test multiuser functionality comment out the default login-entry in the facade-entry: | ||
<!-- We comment out the username and the password to disable automatic login | ||
<username>admin</username> | ||
<password></password> | ||
--> | ||
|
||
You can than use the following logins: | ||
|
||
isa lisa | ||
admin donut | ||
homer duffs (Admin) | ||
skinner edna | ||
monty money (Admin) | ||
abe matlock | ||
|
||
For more information visit the documentation pages on http://rapla.sourceforge.net/ | ||
|
||
Rapla includes free software developed by other projects. | ||
For a complete list of all external libraraies, take a look at legal/LIBRARIES-FAQ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
This README is for building rapla from source. You will find more information on our | ||
documentation pages on | ||
|
||
http://rapla.sourceforge.net/documentation.html | ||
|
||
1. Get the source: | ||
|
||
To get the Source-Distribution download it from | ||
rapla.sourceforge.net/download | ||
|
||
If you want to checkout the latest developmant version read the | ||
faq-entry on rapla.sourceforge.net. | ||
|
||
|
||
2. Build Rapla: | ||
|
||
We use the ant tool for our build process. Ant is the java-equivalent to make | ||
Look at jakarta.apache.org/ant for more information. If you don't want | ||
to use Ant read the FAQS on rapla.sourceforge.net for alternative building. | ||
|
||
|
||
Use the following batch files to start the ant.jar included with | ||
the rapla source distribution. | ||
|
||
build.sh (Linux/Unix) | ||
build.bat (Win) | ||
call build (win NT/2000) | ||
|
||
|
||
Calling build with no arguments will create a Binary-Distribution | ||
in the sub-folder dist. There you will find the scripts to start rapla. (SEE INSTALL.txt) | ||
|
||
|
||
You can call build with different arguments, e.g.: | ||
|
||
choose-target Executes the target specified in build.properties. | ||
(default) Default target is dist-bin. | ||
|
||
dist-bin Creates a new Binary-Distribution in the folder dist. | ||
build Builds a new rapla.jar in the build sub-folder | ||
run Creates a new Binary-Distribution and runs it. | ||
clean Deletes the build sub-folder | ||
clean-dist Deletes the dist sub-folder | ||
javadocs create the Javadoc in the build sub-folder | ||
webapp Build a special distribution for Applet or Webstart deployment (see 3) | ||
|
||
Pass the target as a parameter to ant | ||
e.g. build.sh dist-bin | ||
|
||
For a complete list of all targets use the -projecthelp option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
This README is for running rapla as server. You will find more information on our | ||
documentation pages on | ||
|
||
http://rapla.sourceforge.net/documentation.html | ||
|
||
|
||
The rapla server: | ||
--------------------------- | ||
|
||
Since version 0.10.2 rapla server installation is very easy: | ||
Download the binary-distribution or build one with "build dist-bin" | ||
|
||
You can start it with: | ||
|
||
raplaserver.bat (Windows) | ||
call raplaserver.bat (NT) | ||
raplaserver.sh run (Unix) | ||
|
||
If you want to install Rapla-Server as a SERVICE on Win NT/2000/XP/Vista/7 | ||
use the scripts in the service folder to test/install/uninstall rapla as a service. | ||
|
||
|
||
With a running server point your browser to | ||
http://localhost:8051 | ||
|
||
You should see the rapla welcome screen. Click on start with webstart | ||
and the webstart client should launch. If not launched automatically, | ||
you should choose the webstart program from your | ||
java installation (e.g. C:\Programme\Java\jre1.5.0_06\bin\webstart.exe under Windows). | ||
|
||
You can login with username "admin" and empty password | ||
|
||
Thats it. | ||
|
||
Installing into another servlet container | ||
----------------------------------------- | ||
|
||
If you want to use another servlet container (e.g. tomcat) you can | ||
copy the webapp (without s) folder to the webapps (with s) folder of | ||
your servlet container and rename webapp (without s) to rapla. | ||
See the documentation of your servelt-container for more details | ||
|
||
Installing in Apache or IIS | ||
---------------------------- | ||
|
||
You can install Jetty with apache or IIS by uncommenting | ||
the AJP13 listener in jetty/conf/main.xml. | ||
|
||
See http://jetty.mortbay.org/ for more information | ||
|
||
Troubleshooting: | ||
---------------- | ||
1. The most commen error will be long stacktrace with | ||
"Caused by: java.net.BindException: Could not bind to port 8051" | ||
somewhere hidden between the lines. This means that either another | ||
rapla server is running (so stop or kill this process) or that this | ||
port is blocked by another application. You need to configure | ||
another the port in jetty/conf/main.xml | ||
|
||
<Call name="addListener"> | ||
<Arg> | ||
<New class="org.mortbay.http.SocketListener"> | ||
<Set name="Port"><SystemProperty name="jetty.port" default="8051"/></Set> | ||
|
||
2. look in the troubleshooting faq under http://rapla.sourceforge.net/documentation.html | ||
|
||
3. Post a question to rapla-developers@lists.sourceforge.net | ||
|
||
|
||
Running Multiple Rapla servers: | ||
------------------------------- | ||
|
||
There is no Problem running multiple rapla servers on one computer. You just need to copy the webapp folder and rename it e.g. webapp2 | ||
and add a new webapplication to jetty/jetty.xml | ||
|
||
<New class="org.mortbay.jetty.webapp.WebAppContext"> | ||
<Arg><Ref id="contexts"/></Arg> | ||
<Arg><SystemProperty name="jetty.home" default="."/>/webapp2</Arg> | ||
<Arg>/rapla2</Arg> | ||
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/jetty/webdefault.xml</Set> | ||
<Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/webapp2</Set> | ||
</New> | ||
|
||
Of course you need to change the context of the first webapp from / to /rapla | ||
|
||
<New class="org.mortbay.jetty.webapp.WebAppContext"> | ||
<Arg><Ref id="contexts"/></Arg> | ||
<Arg><SystemProperty name="jetty.home" default="."/>/webapp</Arg> | ||
<Arg>/rapla</Arg> | ||
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/jetty/webdefault.xml</Set> | ||
<Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/webapp</Set> | ||
</New> | ||
|
||
|
||
|
||
|
||
Now you should have two applications running | ||
http://localhost:8051/rapla/ | ||
http://localhost:8051/rapla2/ | ||
|
||
|
||
Acknowlegdement | ||
----------------- | ||
|
||
Rapla includes free software developed by the Apache Software Foundation | ||
(http://www.apache.org/) and other organizations | ||
For more Information see legal/LIBRARIES-FAQ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/test-src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/generated-src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/temp/unfiltered-resources" isTestSource="false" /> | ||
<excludeFolder url="file://$MODULE_DIR$/temp" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="module-library"> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$MODULE_DIR$/lib/server/avalon-logging.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="library" name="lib" level="project" /> | ||
<orderEntry type="library" name="common" level="project" /> | ||
</component> | ||
</module> | ||
|
Oops, something went wrong.