[ http://jira.codehaus.org/browse/MNG-897?page=comments#action_47182 ] 

John Casey commented on MNG-897:
--------------------------------

I'm actually thinking we may want to separate the metadata bindings into a 
separate file to accompany the script. This would achieve the following:

1. Don't have to fire up an Ant instance just to retrieve the [relatively 
speaking] miniscule metadata.
2. Don't want to support ant imports and other complex features for 
metadata...this should be *very* easy to read.
3. The syntax I laid out above was hackish at best.
4. I don't want to process an embedded metadata definition using DOM or 
somesuch and have Ant people asking why ant-import isn't working...it's too 
unintuitive.

I think it may be better to simply separate the metadata physically to keep 
from introducing any implications/expectations about how that metadata is 
processed by the plugin tool. We can use a naming convention of:

foo-build.xml................................plugin script
foo-build.bindings.xml...............plugin metadata (bindings to m2)

This is something we've been discussing a little bit on the IRC channel, and it 
seems like the least of all evils to me.

WDYT?

> allows use of Ant build files
> -----------------------------
>
>          Key: MNG-897
>          URL: http://jira.codehaus.org/browse/MNG-897
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-ant-plugin
>     Versions: 2.0-alpha-3
>     Reporter: Chris Berry
>     Assignee: John Casey
>      Fix For: 2.0-beta-3
>  Attachments: antfile.zip
>
> Original Estimate: 8 hours
>        Time Spent: 6 hours
>         Remaining: 2 hours
>
> Per John Casey, This is logged to that it stays on the radar.
> Please consider incorporating my antfile plugin.
> I have included the following in the ZIP
> maven-antrun-plugin --> the basic antrun w/ a few small mods
> maven-antfile-plugin
> maven-axisant-plugin --> an example plugin using the antfile plugin
> axis-master --> a "grouping" plugin for axis example
> my-app --> an example app using the axisant plugin.
> Cheers,
> -- Chris 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to