Hey thanks for the prompt response John, it all makes sense. Looking forward to the next cut, appreciate your work.
daivdv John Casey wrote: > The short answer is that there is currently a bug in the m2 integration > of marmalade. Last night I figured out that the taglib discovery > strategy used for the Ant compatibility mode is not configured when m2 > attempts to execute a marmalade-mojo. This means that the Ant > functionality will never be recognized. > > I'm going to try to get a stop-gap fix in place for the next release of > m2 that will fix this shortcoming. Once that's done, you should be able to: > > 1. declare the ant namespace using <mojo xmlns:ant="ant:ant"> > > 2. add a project dependency on: > > <dependency> > <groupId>marmalade</groupId> > <artifactId>marmalade-compat-ant</artifactId> > <version>1.0-alpha-3</version> > </dependency> > > A couple of notes: > > * The reason we're not using the "marmalade:ant" namespace for Ant > compatibility is to leave room for native-marmalade ports of Ant tasks. > > * Under the marmalade configuration used by m2, any tag that cannot be > found is dumped to the logs for lack of anything better to do. By no > accident, this is similar to Jelly's behavior in similar circumstances. > > Sorry for the confusion. > > -john > > david varnes wrote: > >>>Question for John, >>> >>>I am trying to use the marmalade ant compatibility layer. >>>Using the downloaded m2-alpha-2 binaries. >>> >>> >>>Questions: >>> >>>* Do I need to explicitly declare a plugin dependency on >>> the marmalade-ant-compat jar ? >>> >>>* How do I register the ant namespace in the .mmld script? >>> >>>I have tried: >>> >>><mojo xmlns="marmalade:mojo" xmlns:ant="marmalade:ant"> >>> ... [snip] ... >>> <execute> >>> <ant:echo>test echo</ant:echo> >>> </execute> >>></mojo> >>> >>>As well as just in the ant tag: >>> >>><ant:echo xmlns:ant="marmalade:ant">test echo</ant:echo> >>> >>>but neither work. The whole tag just gets copied to >>>standard out. >>> >>>Is there an example maven plugin anywhere that uses the >>>marmalade ant compatibility layer ? >>> >>> >>>thanks for any pointers >>>davidv >>> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]