Hi, Building H2 manually is kind of... well, it's a major pain in the butt if you don't use the built-in build script or a compiled JAR.
The following should let you get the main project compiling, but not the extra tools, tests, or documentation building. Let the command line build tools & scripts do that if possible (if not, see further below). Subclipse settings: Path: /h2database Url: https://h2database.googlecode.com/svn/trunk/h2 Repository Root: https://h2database.googlecode.com/svn/trunk You need to create the Eclipse project as a Java Project or you'll have major problems,and tell it to "Use Existing Sources" with the already checked-out code. For source folders, use: /h2/src/main (this has all of the main project sources). Run use the included build script and run "build download" to down necessary libraries into /h2/ext folder (which will be created). Add the downloaded jar files to the classpath of the project. Compile errors should go away now. I just ran through this procedure, and it will compile, although it lacks some of the extra "goodies" from /h2/src/test and /h2/src/tools and /h2/src/docsrc. If you need these.... uh you should probably be using the standard build tool. Now, none of this is really helpful if you want to *contribute* to the project in the form of patches. I've anyone's interested, I've got (a couple months old but comprehensive) instructions for how to get the full H2 Database project (including tests, etc) building under Netbeans (for its excellent debugger and profiler). If people are interested, I can write some up for Eclipse too. I was working on instructions to add to the documentation, but really you're better off just using Thomas Mueller's custom builder and tools if possible. The above *should* allow you to apply checkstyle, etc to the main codebase without too much setup. I still haven't figured out how to run the complete "build release / build spellcheck" and all that goodness from within Eclipse. Cheers, Sam Van Oort On Dec 9, 1:33 am, Thomas Mueller <[email protected]> wrote: > Hi, > > > within Eclipse web dynamic project type > > H2 is a Java project, not a web project. I don't plan to change that. > > > Would this be possible? > > Sorry, what is the question? > > Regards, > Thomas -- 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.
