On Wed, 2003-07-09 at 10:11, Chenoweth, Bruce (STP) wrote:
> In particular, the <author email=...> has been hard-coded into the plugin templates 
> (goals.jelly, goals-empty.jelly, properties.jelly, and properties-empty.jelly).  
> These tags are also throughout the genapp plugin's templates.
> 
> This gets mildly annoying if you are using maven to keep your plugin's goals and 
> properties list up-to-date.

Well, that's not something I'll be jumping on right away to fix. If it
riles you that much then patch away. You could simply add another
parameter that genapp could accept to plug in your own name to the
generate sources or anything else.

> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 8:50 AM
> To: Maven Users List
> Subject: Re: Replacing tags in xdocs
> 
> 
> On Wed, 2003-07-09 at 10:40, Tim Pizey wrote:
> > Tim, 
> > 
> > Didn't spot any replies, so I have tried this, 
> > but I get:
> > Fatal Error [line 7, row 35]: The prefix "ant" for element "ant:copy" is not 
> > bound.
> > org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is not 
> > bound.
> >         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >         at javax.xml.parsers.SAXParser.parse(Unknown Source)
> > 
> > Is this a good way to go?
> > How do I cure the above?
> > 
> > I am slightly suprised to see 
> > 
> >   <properties>
> >     <title>Maven</title>
> >     <author email="[EMAIL PROTECTED]">Jason van Zyl</author>
> >   </properties>
> > 
> > hardcoded into the maven xdocs, surely these should be coming from the pom?
> 
> Hardcoded in what xdocs? In Maven's own xdocs?
> 
> > any hints appreciated
> > timp
> > 
> > 
> > On Friday 04 July 2003 5:41 am, Tim Anderson wrote:
> > > Worked out a way to do it, but its not pretty, e.g:
> > >
> > >   <preGoal name="xdoc:transform">
> > >     <ant:mkdir dir="${maven.docs.src}"/>
> > >     <ant:copy todir="${maven.docs.src}">
> > >       <ant:fileset dir="${xdoc.dir}">
> > >         <ant:include name="**/*.xml"/>
> > >       </ant:fileset>
> > >       <ant:filterset>
> > >         <ant:filter token="VERSION" value="${pom.currentVersion}"/>
> > >       </ant:filterset>
> > >     </ant:copy>
> > >     <ant:copy todir="${maven.docs.src}">
> > >       <ant:fileset dir="${xdoc.dir}">
> > >         <ant:include name="**/*"/>
> > >         <ant:exclude name="**/*.xml"/>
> > >       </ant:fileset>
> > >     </ant:copy>
> > >   </preGoal>
> > >
> > > I can't see a simpler way - anyone got any better ideas?
> > >
> > > Thanks,
> > >
> > > Tim
> > >
> > > > -----Original Message-----
> > > > From: Tim Anderson [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, 3 July 2003 6:00 PM
> > > > To: Maven Users List
> > > > Subject: Replacing tags in xdocs
> > > >
> > > >
> > > > Hi,
> > > >     I would like to replace embedded tags within
> > > > my xdocs, prior to them being transformed to html.
> > > > Whats the recommended approach for doing this?
> > > > Its not clear to me which goal I need to hook in to.
> > > > Alternatively, does anyone have a reference to a
> > > > maven.xml which does this already?
> > > >
> > > > Thanks,
> > > >
> > > > Tim
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to