Skip to main content
Last updated May 06, 2011 20:22, by abien
Feedicon  

Checkout

git clone git://java.net/x-ray~git

Configure

X-ray was tested with hsqldb and JavaDB. For a successful deployment a jdbc/hitcounter DataSource has to exist on the application server. Alternatively you could rename the DataSource "jdbc/hitcounter" in persistence.xml to a name of your choice.

The persistence.xml resides in x-ray-services/src/main/resources/META-INF/persistence.xml.

 <persistence>
    <persistence-unit name="hitscounter" transaction-type="JTA">
        <jta-data-source>jdbc/hitscounter</jta-data-source>
        <properties>
            <property name="eclipselink.ddl-generation" value="create-tables"/>
            <property name="eclipselink.cache.size.default" value="10000"/>
            <property name="eclipselink.cache.type.default" value="Soft"/>
        </properties>
    </persistence-unit>
 </persistence>

Build

Execute from x-ray-assembly mvn clean install

 [INFO] x-ray ............................................. SUCCESS [14.457s]
 [INFO] x-ray-services Java EE 6 Webapp ................... SUCCESS [2.641s]
 [INFO] x-ray-testservlet Java EE 6 Webapp ................ SUCCESS [1.451s]
 [INFO] x-ray-client ...................................... SUCCESS [9.849s]
 [INFO] x-ray-roller-adapter .............................. SUCCESS [9.799s]
 [INFO] x-ray-fitnesse .................................... SUCCESS [0.869s]
 [INFO] x-ray-assembly .................................... SUCCESS [0.015s]
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD SUCCESS
 
 
Close
loading
Please Confirm
Close