All,
the little proof-of-concept has grown up. To try it out, do this:
1. Download the compiled binaries:
http://cvs.apache.org/~leosutic/commons-attributes-api-SNAPSHOT.jar
http://cvs.apache.org/~leosutic/commons-attributes-compiler-SNAPSHOT.jar
Drop then in you maven repository under commons-attributes/jars/
2. Download the Maven plugin:
http://cvs.apache.org/~leosutic/commons-attributes-plugin-2.0alpha.jar
Drop it in your Maven plugins/ directory.
3. Add a dependency on the runtime API to your project:
<dependency>
<groupId>commons-attributes</groupId>
<artifactId>commons-attributes-api</artifactId>
<version>SNAPSHOT</version>
</dependency>
You are now good to go, and can use attributes in your project.
NOTES:
The attribute indexing feature still won't work properly in Maven. This is
because it operates on the generated jar produced by jar:jar. However, for
snapshot builds the name of the file generated by jar:jar isn't available
to other plugins or to postGoals. Thus the attribute indexer doesn't know
which jar to operate on and that's no good. I have asked Jason van Zyl
(the whole maven users list in fact) about it, so expect to see this thing
resolved soon. Worst case I'll just have to hack it by looking for a jar
with a filename that has a date which is "right about now" and assume that
that is the jar produced by the jar:jar goal. So I'll have this done
RealSoonNow(tm).
I'll get the updated website up as soon as possible. My problem is that I
don't have access to the jakarta.apache.org server. I asked Brian about
it, and he informed me that he'd be moving jakarta.apache.org to the
Minotaur server (which runs cvs.apache.org) the coming week, and since hat
would give me access we agreed that I should just wait until the move was
completed. So the website will be up InDueTime(tm).
If some kind soul could grab jakarta-commons-sandbox/attributes/ from CVS
and do a:
maven -o do-site
followed by whatever maven-katas are required to get the site published I
would be most grateful.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]