Menu

#170 Support building using Maven

open
nobody
5
2004-11-09
2004-11-09
No

[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

Discussion

  • Matthew L Daniel

    Patch against hsqldb-1.7.2.7 to create project.xml

     
  • Fred Toussi

    Fred Toussi - 2004-12-05

    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.

     

Log in to post a comment.