maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@maven.org>
Subject Re: Doxia macros
Date Sat, 25 Nov 2006 23:48:53 GMT

On 25 Nov 06, at 3:24 PM 25 Nov 06, Wendy Smoak wrote:

> On 11/24/06, Wendy Smoak <wsmoak@gmail.com> wrote:
>
>> But,
>>    %{swizzle|project=STR}
>> in index.apt just gets me
>>    <p>%<a name="swizzleprojectstr">swizzle|project=STR</a></p>
>> in the page source, while
>>    %{snippet|id=modello-model|url=http://svn.apache.org/repos/asf/ 
>> maven/archetype/trunk/maven-archetype/maven-archetype-model/src/ 
>> main/mdo/archetype.mdo}
>> works fine
>
> Found it... macros in apt must be at the left margin, not indented.
> Now, it works.
>

Woo hoo!

Now you could make a macro archetype, put them in a separate build  
and then you could just drop your macro JARs in your ${MAVEN_HOME}/ 
lib directory and should work :-)

Jason.

> -- 
> Wendy
>


Mime
View raw message