mercury-ant-tasks is an ant wrapper for Mercury project. I will draft some documentation tomorrow.

If somebody is interested to try it:

* grab the uber jar from http://people.apache.org/~ogusakov/repos/test/org/apache/maven/mercury/mercury-ant-tasks/1.0-alpha-1-SNAPSHOT/mercury-ant-tasks-1.0-alpha-1-20081217-all.jar

* put it into ~/.ant/lib

* if you want to try PGP signature functionality - grab Bouncy Castle bcpg-jdk15-140.jar and bcprov-jdk15-140.jar that could be found in central, and put them into ~/.ant/lib - http://repo1.maven.org/maven2/bouncycastle/

* check the UT build file for the existing features - they all reside in *merc* namespace: http://people.apache.org/~ogusakov/repos/test/org/apache/maven/mercury/mercury-ant-tasks/1.0-alpha-1-SNAPSHOT/build.xml

The functionality of the library:

* inside named <merc:config ../> element:

** create named auth elements to be used by repository or proxy [not tested here, but tested in mercury transport] access

 ** configure repositories:

   *** local with dir

   *** remote with url

*** define stream verification - separately for reading and writing, currently supported SHA-1 and PGP (.asc)

 ** refer to named <merc:auth ../> elements - for repository authentication

* define named dependency sets with <merc:deps ../>, the name string runs as follows: "groupId:artifactId:VersionRange:classifier:type:scope", so that "a:a:1.0::zip" identifies a/a/1.0/a-1.0.zip, "a:a:1.0" stands for a/a/1.0/a-1.0.jar

* create new or add to existing paths via <merc:resolve ../>

* install or deploy files (binaries, javadocs, sources, etc) with <merc:write ../>


This snapshot has all the initial functionality and passes all unit tests on all grid platforms, except for a very weird error on a vista node: http://jira.codehaus.org/browse/MERCURY-61

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to