incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Graffito forwarding..
Date Thu, 13 Jul 2006 09:05:26 GMT
Hi,

On 7/13/06, Christophe Lombart <christophe.lombart@gmail.com> wrote:
> On 7/13/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> > * I wanted to give Graffito a run
> > * I went to the web site and looked for a download link; none
>
> Normal because there is not yet a release :-)

Agreed. Just pointing out the standard procedure of a first-time visitor.

> * I followed the link to "Build all Graffito subprojects" to build from
> > sources
> > * Got the sources from svn
> > * Why do I need to setup a test database to build the sources?
>
> Building the source implies running the unit tests. There is not yet a JCR
> Graffito store. So, you need a specific DB schema to exexute the unit tests

My point is that it should be very painless and straightforward to
build the sources and run the unit tests. Preferably:

   $ svn checkout
http://svn.apache.org/repos/asf/incubator/graffito/trunk graffito
   $ cd graffito
   $ maven

> Anyway, I'm agree to make a default HSQL setting. By this way, it is not
> necessary to create a custom build.properties. This will help developers
> who just want evaluate Graffito.

Great. Of course we can keep the configuration options for people with
different environments, but for first-time visitors it is very helpful
if they don't need to worry about database settings just to build the
project.

> * Got a failure due to a missing dependency
>
> Which one ?

C:\src\graffito\trunk>maven start.test.server
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

start.test.server:
    [echo] ====================================
    [echo]         Start HSQL Test Database
    [echo] ====================================
    [echo]
    [java] java.lang.NoClassDefFoundError: org/hsqldb/Server
    [java] Exception in thread "main"
    [java] [ERROR] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 seconds
Finished at: Thu Jul 13 11:59:11 EEST 2006

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message