Permalink
Browse files

Initial checkin

  • Loading branch information...
ronnyroeller committed Sep 29, 2012
0 parents commit e6adc90a1666325fd30d4918a4ce5bd7541ade99
Showing with 11,555 additions and 0 deletions.
  1. +6 −0 .classpath
  2. +23 −0 .project
  3. +5 −0 .settings/org.eclipse.jdt.core.prefs
  4. +9 −0 .settings/org.maven.ide.eclipse.prefs
  5. +253 −0 log/administrator.log.2010-09-16
  6. +45 −0 pom.xml
  7. +10 −0 web/.classpath
  8. +23 −0 web/.project
  9. +9 −0 web/.settings/org.maven.ide.eclipse.prefs
  10. +81 −0 web/pom.xml
  11. +2 −0 web/src/main/java/com/sport/web/struts/ApplicationResources.properties
  12. +91 −0 web/src/main/java/com/sport/web/struts/action/GruppeAction.java
  13. +81 −0 web/src/main/java/com/sport/web/struts/action/IndexAction.java
  14. +54 −0 web/src/main/java/com/sport/web/struts/action/KontaktAction.java
  15. +46 −0 web/src/main/java/com/sport/web/struts/action/LocaleMgr.java
  16. +82 −0 web/src/main/java/com/sport/web/struts/action/PlatzierungAction.java
  17. +85 −0 web/src/main/java/com/sport/web/struts/action/SpielplanAction.java
  18. +165 −0 web/src/main/java/com/sport/web/struts/action/StatistikAction.java
  19. +91 −0 web/src/main/java/com/sport/web/struts/action/TurnierAction.java
  20. +71 −0 web/src/main/java/com/sport/web/struts/action/VolleyAction.java
  21. +184 −0 web/src/main/java/com/sport/web/struts/action/beamer/BeamerGruppeAction.java
  22. +147 −0 web/src/main/java/com/sport/web/struts/action/beamer/BeamerSpielplanAction.java
  23. +245 −0 web/src/main/resources/resources/resources_de.properties
  24. +233 −0 web/src/main/resources/resources/resources_en.properties
  25. +233 −0 web/src/main/resources/resources/resources_es.properties
  26. +235 −0 web/src/main/resources/resources/resources_nl.properties
  27. +1 −0 web/src/main/webapp/WEB-INF/.cvsignore
  28. +11 −0 web/src/main/webapp/WEB-INF/CVS/Entries
  29. +1 −0 web/src/main/webapp/WEB-INF/CVS/Repository
  30. +1 −0 web/src/main/webapp/WEB-INF/CVS/Root
  31. +3 −0 web/src/main/webapp/WEB-INF/jboss-web.xml
  32. +382 −0 web/src/main/webapp/WEB-INF/struts-bean.tld
  33. +117 −0 web/src/main/webapp/WEB-INF/struts-config.xml
  34. +3,032 −0 web/src/main/webapp/WEB-INF/struts-html.tld
  35. +652 −0 web/src/main/webapp/WEB-INF/struts-logic.tld
  36. +2,886 −0 web/src/main/webapp/WEB-INF/struts-nested.tld
  37. +73 −0 web/src/main/webapp/WEB-INF/struts-template.tld
  38. +344 −0 web/src/main/webapp/WEB-INF/struts-tiles.tld
  39. +281 −0 web/src/main/webapp/WEB-INF/tiles-config_1_1.dtd
  40. +49 −0 web/src/main/webapp/WEB-INF/tiles-defs.xml
  41. +57 −0 web/src/main/webapp/WEB-INF/web.xml
  42. +3 −0 web/src/main/webapp/css/CVS/Entries
  43. +1 −0 web/src/main/webapp/css/CVS/Repository
  44. +1 −0 web/src/main/webapp/css/CVS/Root
  45. +92 −0 web/src/main/webapp/css/admin.css
  46. +54 −0 web/src/main/webapp/css/beamer.css
  47. +10 −0 web/src/main/webapp/img/CVS/Entries
  48. +1 −0 web/src/main/webapp/img/CVS/Repository
  49. +1 −0 web/src/main/webapp/img/CVS/Root
  50. BIN web/src/main/webapp/img/ad1.jpg
  51. BIN web/src/main/webapp/img/ad4.jpg
  52. BIN web/src/main/webapp/img/back.gif
  53. BIN web/src/main/webapp/img/deutsch.gif
  54. BIN web/src/main/webapp/img/dutch.gif
  55. BIN web/src/main/webapp/img/english.gif
  56. BIN web/src/main/webapp/img/print.gif
  57. BIN web/src/main/webapp/img/spanish.gif
  58. +6 −0 web/src/main/webapp/index.html
  59. +2 −0 web/src/main/webapp/index_old.jsp
  60. +13 −0 web/src/main/webapp/jsp/CVS/Entries
  61. +1 −0 web/src/main/webapp/jsp/CVS/Repository
  62. +1 −0 web/src/main/webapp/jsp/CVS/Root
  63. +6 −0 web/src/main/webapp/jsp/beamer/CVS/Entries
  64. +1 −0 web/src/main/webapp/jsp/beamer/CVS/Repository
  65. +1 −0 web/src/main/webapp/jsp/beamer/CVS/Root
  66. +74 −0 web/src/main/webapp/jsp/beamer/beamergruppe.jsp
  67. +3 −0 web/src/main/webapp/jsp/beamer/beamergruppemeta.jsp
  68. +63 −0 web/src/main/webapp/jsp/beamer/beamerlayout.jsp
  69. +98 −0 web/src/main/webapp/jsp/beamer/beamerspielplan.jsp
  70. +3 −0 web/src/main/webapp/jsp/beamer/beamerspielplanmeta.jsp
  71. 0 web/src/main/webapp/jsp/empty.inc
  72. +28 −0 web/src/main/webapp/jsp/errorpage.jsp
  73. +61 −0 web/src/main/webapp/jsp/gruppe.jsp
  74. +44 −0 web/src/main/webapp/jsp/index.jsp
  75. +96 −0 web/src/main/webapp/jsp/kontakt.jsp
  76. +99 −0 web/src/main/webapp/jsp/layout.jsp
  77. +6 −0 web/src/main/webapp/jsp/link.jsp
  78. +53 −0 web/src/main/webapp/jsp/platzierung.jsp
  79. +23 −0 web/src/main/webapp/jsp/point.jsp
  80. +117 −0 web/src/main/webapp/jsp/spielplan.jsp
  81. +13 −0 web/src/main/webapp/jsp/spielplanpdf.jsp
  82. +115 −0 web/src/main/webapp/jsp/statistik.jsp
  83. +66 −0 web/src/main/webapp/jsp/turnier.jsp
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>volley-parent</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,5 @@
#Sat Jan 02 22:51:48 CET 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
org.eclipse.jdt.core.compiler.compliance=1.4
org.eclipse.jdt.core.compiler.source=1.3
@@ -0,0 +1,9 @@
#Sat Jan 02 22:51:47 CET 2010
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
includeModules=false
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
version=1

Large diffs are not rendered by default.

Oops, something went wrong.
45 pom.xml
@@ -0,0 +1,45 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.volley</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>parent</name>
<url>http://maven.apache.org</url>
<modules>
<module>core</module>
<module>analyzer</module>
<module>server</module>
<module>web</module>
<module>admin</module>
<module>key-gen</module>
<module>install</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<!-- To keep code line numbers in log4j messages -->
<debug>true</debug>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.1</version>
</dependency>
</dependencies>
<properties>
<!-- Number of the release -->
<version.number>2.4.4</version.number>
</properties>
</project>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="src" path="src/main/webapp/jsp"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/core"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>web</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,9 @@
#Sat Jan 02 18:26:51 CET 2010
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
includeModules=false
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
version=1
@@ -0,0 +1,81 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.volley</groupId>
<artifactId>web</artifactId>
<packaging>war</packaging>
<version>${version.number}-SNAPSHOT</version>
<name>web</name>
<url>http://maven.apache.org</url>
<parent>
<groupId>com.volley</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<build>
<plugins>
<!-- Don't upgrade to 2.0-alpha-3 since this clashes with log4j -->
<plugin>
<groupId>org.codehaus.mojo.jspc</groupId>
<artifactId>jspc-maven-plugin</artifactId>
<version>2.0-alpha-1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<!-- Use the Tomcat 5 JSP compiler -->
<dependencies>
<dependency>
<groupId>org.codehaus.mojo.jspc</groupId>
<artifactId>jspc-compiler-tomcat5</artifactId>
<version>2.0-alpha-1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>${pom.basedir}/target/jspweb.xml</webXml>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>core</artifactId>
<version>${version.number}-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>analyzer</artifactId>
<version>${version.number}-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>server</artifactId>
<version>${version.number}-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>struts</groupId>
<artifactId>struts</artifactId>
<version>1.2.9</version>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,2 @@
# Resources for parameter 'jvolley.struts.ApplicationResources'
# Project P/jvolley
@@ -0,0 +1,91 @@
// Created by Xslt generator for Eclipse.
// XSL : not found (java.io.FileNotFoundException: (Das System kann den angegebenen Pfad nicht finden))
// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
package com.sport.web.struts.action;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.sport.analyzer.GroupResult;
import com.sport.analyzer.impl.GruppeAnalyzerImpl;
import com.sport.core.bo.SportGroup;
import com.sport.core.bo.Tournament;
import com.sport.server.ejb.HomeGetter;
import com.sport.server.ejb.interfaces.TurnierSession;
/**
* SpielplanAction.java created by EasyStruts - XsltGen.
* http://easystruts.sf.net
* created on 06-22-2003
*
* XDoclet definition:
* @struts:action path="/spielplan" name="spielplanForm" input="/form/spielplan.jsp" parameter="turnierid" validate="true"
*/
public class GruppeAction extends VolleyAction {
private static final Logger LOG = Logger.getLogger(GruppeAction.class);
// --------------------------------------------------------- Instance Variables
// --------------------------------------------------------- Methods
/**
* Method execute
* @param ActionMapping mapping
* @param ActionForm form
* @param HttpServletRequest request
* @param HttpServletResponse response
* @return ActionForward
* @throws Exception
*/
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
HttpSession session = request.getSession();
// Sprache �ndern?
LocaleMgr.setLocale(request.getParameter("locale"), session);
try {
TurnierSession turnierSession =
HomeGetter.getTurnierSessionHome().create();
Tournament turnierBO = getTurnierBO(request, turnierSession);
String gruppeid = request.getParameter("gruppeid");
// Daten laden
Map<String, Object> result =
turnierSession.getGruppenMannschaftenSpieleByTurnierBOMap(
turnierBO,
true);
Map<Long, SportGroup> gruppen = (Map<Long, SportGroup>) result.get("gruppenMap");
SportGroup gruppeBO = gruppen.get(new Long(gruppeid));
// Calculate results
GroupResult groupResult = GruppeAnalyzerImpl.getInstance().getErgebnisDetails(gruppeBO);
session.setAttribute("gruppe", gruppeBO);
session.setAttribute("groupResult", groupResult);
}
catch (Exception e) {
LOG.error("Could't prepare terminal view 'group'", e);
}
return (mapping.findForward("success"));
}
}
@@ -0,0 +1,81 @@
// Created by Xslt generator for Eclipse.
// XSL : not found (java.io.FileNotFoundException: (Das System kann den angegebenen Pfad nicht finden))
// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
package com.sport.web.struts.action;
import java.util.Collections;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.sport.core.bo.comparators.TurnierComparator;
import com.sport.server.ejb.HomeGetter;
import com.sport.server.ejb.interfaces.TurnierSession;
/**
* IndexAction.java created by EasyStruts - XsltGen.
* http://easystruts.sf.net
* created on 06-22-2003
*
* XDoclet definition:
*/
public class IndexAction extends VolleyAction {
private static final Logger LOG = Logger.getLogger(IndexAction.class);
// --------------------------------------------------------- Instance Variables
// --------------------------------------------------------- Methods
/**
* Method execute
* @param ActionMapping mapping
* @param ActionForm form
* @param HttpServletRequest request
* @param HttpServletResponse response
* @return ActionForward
* @throws Exception
*/
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
HttpSession session = request.getSession();
ActionErrors errors = new ActionErrors();
// Sprache �ndern?
LocaleMgr.setLocale(request.getParameter("locale"), session);
session.setAttribute("tournament", null);
try {
TurnierSession turnierSession =
HomeGetter.getTurnierSessionHome().create();
checkLicenceBO(request);
// Daten laden
Vector turniere =
new Vector (turnierSession.getTurniereByUserid(1));
Collections.sort (turniere, new TurnierComparator ());
session.setAttribute("turniere", turniere);
}
catch (Exception e) {
LOG.error("Could't prepare terminal view 'index'", e);
}
return (mapping.findForward("success"));
}
}
Oops, something went wrong.

0 comments on commit e6adc90

Please sign in to comment.