Use your IDE as an editor, but use the H2 "build" script to compile and run
your tests.

Try this to get started:

1. Download various jars and start running the tests:

- download the source into a "h2" directory
- cd h2
- build test

^C once you're bored watching all the tests run.

2. Setup your IDE
- Point your IDE at the source directory "src"
- Point your IDE at the jars that were just downloaded in the "ext"
directory.

3. Write code and tests in your IDE.

4. Run the test you just wrote
    build -Dtest=org.h2.test.db.TestYouWrote test

Also read this: http://www.h2database.com/html/build.html#providing_patches

Hope this helps.

Cheers
Kerry

PS: Eclipse is evil (or perhaps it just doesn't like me)


2010/10/8 Rahul Navinchand <[email protected]>

> so what would be the best approach for a n00b ??
>
> On Oct 7, 3:55 pm, Kerry Sainsbury <[email protected]> wrote:
> > Just FYI I don't think that the ant script gets much use and/or love, so
> it
> > may not be 100% right. Should be a good start though.
> >
> > 2010/10/8 stolyarchukav <[email protected]>
> >
> > > Checkout from SVN repositiry
> > >http://h2database.googlecode.com/svn/trunk/h2/
> > > Ant script - build.xml located into them
> >
> > > On 6 окт, 01:41, Rahul Navinchand <[email protected]> wrote:
> > > > is there a how to , to import source could of H2 in eclipse ?
> > > > any help is most appreciated
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "H2 Database" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<h2-database%[email protected]>
> <h2-database%[email protected]<h2-database%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/h2-database?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<h2-database%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to