[http://maven.apache.org/ if you don't know what Maven is]
Maven is picky about separation between test sources
and artifact sources, so I made the following change to
the hsqldb project structure:
$ mkdir -p test/java/org/hsqldb
$ mv src/org/hsqldb/test test/java/org/hsqldb
Also, while I did not invest the time, Maven supports
conditional compilation (like you guys are doing using
the "CodeSwitcher" utility) based on classpath.
Anyway, I understand that Maven isn't welcome by
everyone, but I like it and encourage its use whenever
I can.
HTH,
-- /v\atthew
Patch against hsqldb-1.7.2.7 to create project.xml
Logged In: YES
user_id=150940
Thanks,
There is nothing wrong wiht Maven. The problem is, the test
directory structure you propose is intended for test classes
that are inside the artifact package (whitebox) but our tests
are external (blackbox) tests. We will at some point have a
test directory structure like the one you propose (we will
leave out the /java/ bit) if/when we introduce whitebox tests.
We won't leave code-switcher as we would like to have a
build system with little dependency on external tools.