harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3372) [testing] source code for harmonytest.org
Date Mon, 12 Mar 2007 17:21:09 GMT
[testing] source code for harmonytest.org
-----------------------------------------

                 Key: HARMONY-3372
                 URL: https://issues.apache.org/jira/browse/HARMONY-3372
             Project: Harmony
          Issue Type: New Feature
          Components: Contributions
            Reporter: Anton Luht
            Priority: Minor
         Attachments: Harmonytest.org.zip

This is the source code for harmonytest.org

It is in Java 1.4 because the hosting company used this version.
Producer/consumer scheme in import  (org.apache.harmony.testinfra.logic.DataAccess, methods
saveRunResults and getRunResults) was introduced due to memory limits set by the hosting company.

Tiles framework and validation are not used now, but files tiles-defs.xml, validation.xml
and validator-rules.xml from Struts package are put to the distribution for the convenience
of those who will want to use Tiles or validation.


README.txt from the archive:

This application uses Struts (http://struts.apache.org) and Hibernate 
(http://hibernate.org) frameworks.

The following libraries are required to run it:
antlr-2.7.6.jar (H)
asm-attrs.jar (H)
asm.jar (H)
c3p0-0.9.0.jar (H)
cglib-2.1.3.jar (H)
commons-beanutils.jar (S)
commons-collections-2.1.1.jar (H)
commons-digester.jar (S)
commons-fileupload.jar (S)
commons-logging-1.0.4.jar (H)
commons-validator.jar (S)
dom4j-1.6.1.jar (H)
ehcache-1.1.jar (H)
hibernate3.jar (H)
jakarta-oro.jar (S)
jdbc2_0-stdext.jar (H)
jta.jar (H)
struts.jar (S)
xerces-2.6.2.jar (H)
xml-apis.jar (H)

Files marker with (H) can be found in Hibernate distribution, for example, hibernate-3.2.0.ga.tar.gz

from http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=156160
Files marker with (S) can be found in Struts distribution, for example, struts-1.2.9-bin.zip
from 
http://struts.apache.org/download.cgi . Jars should be put to WEB-INF/lib/ .

Additionally, you'll need a driver for your database of a choice (for example, mysql-connector-java-5.0.3-bin.jar
for MySQL)

To build the application, just compile all files from WEB-INF/src/ to WEB-INF/classes/

To deploy application, you need to modify:

- web.xml - change path to directory with uploaded files. Please note that the list of runs
has links to the 
files in that directory and it is supposed to be exposed as <application root>/upload/
. If you rename this directory or even 
make it non-accessible by HTTP, please modify list.jsp accordingly.

- hibernate.cfg.xml - change connection settings & database info. Script to create database
structure (for MySQL) can be found in 'sql' dir.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message