Re: [OJB-developers] OJB and Maven
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-06-04 21:18:28
|
Hi Jason, Hi Martin Jason van Zyl wrote: > Hi Thomas, > > Is the testbed working with Maven. I just released another version of > Maven and it's stable now and the upgrade path in the future will be > completely stable. I installed Maven beta 4. But I'm still not sure what is expected to happen by the build-maven.xml script. when I call ant -f build-maven.xml, the script executes several (Torque)-tasks sucessfully: prepare-tests: project-sql-classpath: project-create-db-classpath: project-datasql-classpath: project-insert-sql: Then it reaches the target maven:jar which fails with the following error: maven:jar: BUILD FAILED /home/tom/ojb-1-0/build-maven.xml:139: Target `jar' does not exist in this project. I don't know if this expected! I also don't know how I can use Maven to generate html documentation (and the website) from the xdoc that Martin provided! I tried several things like: ant -f build-maven.xml maven:docs Buildfile: build-maven.xml maven:docs: BUILD FAILED /home/tom/ojb-1-0/build-maven.xml:154: java.io.FileNotFoundException: /home/tom/ojb-1-0/build-docs.xml (Datei oder Verzeichnis nicht gefunden) I really would appreciate to use the new layout Martin showed under: http://jakarta.apache.org/~mpoeschl/ojb. But I did not find any means to build it. (Building HTML doumentation is somewhat urgent for me, as I want to work on the documentation a lot for the 1.0 release.) > I am going to upgrade the descriptor in the repo as I > would prefer if this was the default build method when the code is moved > over to Jakarta. Now that almost everything has been cleaned up in Maven > in this release I feel more comfortable pushing. Continuous Integration > will soon be available with Maven :-) > Once we can do everything with Maven and Torque, what we have been doing with my old ant script and our db-setup.sql, we should of course use it. But we should wait with dropping the old stuff until the new scripts are working without problems. > We are also adding some testing features today that will make group > testing and single class testing easier. When you run a group of tests, > the default, a set of reports are generated. When you run a single test > the output is displayed on the console. > > At any rate I will update the descriptor in the repo today to match the > official release, unless Martin has already done it. > > As a side note, if anyone else from this group wants to try Maven I > would be glad to help setup any projects that you might want to convert. > > cheers, Thomas |