Message2643

Author nirvdrum
Recipients
Date 2007-02-17.19:16:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Attached is a patch that will allow the Jython group to create a maven bundle at will.  This should help the project regularly produce maven bundles for each new release.

To use:

$ cd maven
$ ant -Dproject.version=2.2-beta-1
$ ant -Dproject.version=2.2-beta-1 install

The first ant call will actually build the bundle for submission to a maven repository.  The second line builds the files necessary for a local install.  Note that you must pass the version number as a JVM arg for ant.

Note that I borrowed quite heavily from the Apache Cayenne project for this work.  I am a Cayenne committer, so it made sense to me to leverage that work.  As such, I have included proper attribution in order to be compliant with the ASL 2.0.  If this is a problem, we'll need to come up with another way to do this -- in either event, I can upload my generated bundle now for the 2.2-beta-1 release.

There is a lot of clean-up opportunity here, since I was trying to get this done ASAP for the 2.2-beta-1 release.  For 2.2-beta-2, there could be some unification of this ant file with the main project one, in order to cut down on duplicate property definitions.
History
Date User Action Args
2008-02-20 17:18:39adminlinkissue1662463 messages
2008-02-20 17:18:39admincreate