Cool! With the latest checkout I was able to build everything,
ignoring test failures.
I had to upload geronimo JEE5 spec jars to ObjectStyle (I raised the
issue of posting those jars by Geronimo team in the official snapshot
repo; the response was positive, but no one stepped in to do it yet).
So now the build can be done starting with a clean local Maven repo.
1) Delete old stuff that is still hanging around - I was not sure
what should be preserved so I left it in place and would like for
us to get consensus on what to delete and what to keep. Anything
that needs to be kept needs to be worked into the maven stuff.
main/cayenne contains all the stuff that needs to be reviewed for
movement or deletion
---cayenne-ant - can probably delete all this but I'm not sure if
there is something in there that is useful
---cayenne-java/src/regression - I was not sure what if anything in
here still applies
---cayenne-other - looks like this is assembly stuff
---tutorials - anything in here that was not already moved to
examples that should be?
Yeah, let's keep it around. Maybe kill cayenne-ant - it is available
on the branches if anyone needs to use it for the reference. And
rename main/cayenne to "main/leftovers", and then migrate things one
by one. The most important thing in cayenne-other is wiki-docs - this
is the documentation import from Wiki that goes in the release (and
actually it uses a custom Ant task to do the import; we are not doing
it on every build, as it takes lots of time, so maybe keep it in
Ant??). And of course the license and release notes stuff.
2) Assemblies -
It would be nice to mirror the current release, e.g. the Apache-
compliant reincarnation that I posted here:
http://people.apache.org/~aadamchik/cayenne-2.0-incubating-
SNAPSHOT.tar.gz
(plus OS X and Win versions of it that simply have corresponding
modeler versions in them).
-- Modeler (os specific application bundles as well)
yes.
-- DV Modeler (os specific application bundles as well)
no, actually we only released it as a cross-platform version. And
going forward will probably discontinue support for DVModeler and
DataViews.
-- Cayenne Core (jar files, src-jar files and javadoc files,
anything else I'm missing?)
Checking the lib folder, we have deps/nodeps jars plus handcrafted
client jar. Also would be nice to keep the src in unarchived form.
-- Others?
The wiki-docs that I mentioned above.
3) Test Cleanup - there are a lot of tests that passed before the
reorg that don't pass now, not sure if these are kruft left over
from the old days or stuff I messed up in moving files around.
Could you all take a look at what is failing and try to nail down
what is wrong. I'm glad to help with any maven related stuff that
is making the tests not work, just ping me.
I'll take a look at the unit tests. We also add profiles to test with
different databases, kind of like I did for the regression profiler
project:
http://tinyurl.com/g9osw
that mirrors in functionality what we did with Ant:
http://cwiki.apache.org/CAY/running-unit-tests.html
But this is not urgent and can wait.
Andrus
On Jul 30, 2006, at 12:08 AM, Bill Dudney wrote:
Hi All,
I wanted to let everyone know that the directory move and
mavenization is more or less complete.
mvn -Dmaven.test.failure.ignore=true install
should do the trick, let me know if you have any problems.
We now have;
main/trunk/pom.xml
main/trunk/core
----cayenne-jdk1.4-core
----cayenne-jdk1.5-core
----cayenne-jpa
main/trunk/modeler
----dvmodeler
----modeler
main/trunk/other
----cayenne-regression-profiler (perhaps rename to regression-
profiler?)
Remaining;
1) Delete old stuff that is still hanging around - I was not sure
what should be preserved so I left it in place and would like for
us to get consensus on what to delete and what to keep. Anything
that needs to be kept needs to be worked into the maven stuff.
main/cayenne contains all the stuff that needs to be reviewed for
movement or deletion
---cayenne-ant - can probably delete all this but I'm not sure if
there is something in there that is useful
---cayenne-java/src/regression - I was not sure what if anything in
here still applies
---cayenne-other - looks like this is assembly stuff
---tutorials - anything in here that was not already moved to
examples that should be?
2) Assemblies -
-- Modeler (os specific application bundles as well)
-- DV Modeler (os specific application bundles as well)
-- Cayenne Core (jar files, src-jar files and javadoc files,
anything else I'm missing?)
-- Others?
3) Test Cleanup - there are a lot of tests that passed before the
reorg that don't pass now, not sure if these are kruft left over
from the old days or stuff I messed up in moving files around.
Could you all take a look at what is failing and try to nail down
what is wrong. I'm glad to help with any maven related stuff that
is making the tests not work, just ping me.
TTFN,
-bd-