Hi all,

> Right now, the only work-around I can think of is to keep the XML files
> out of the xdocs folder and copy them in a postGoal of xdoc or something. 
> I'm not sure where I should put the xml files in those cases, though.  Anyone
> with a better idea?

I put this in my maven.xml:

  <postGoal name="xdoc:transform">
    <j:set var="maven.xdocs.resources.src" value="${basedir}/src/xdocs-resources" />
    <ant:echo>xdocs XML resources : ${maven.xdocs.resources.src}</ant:echo>
    <ant:copy todir="${maven.docs.dest}" preservelastmodified="true">
      <ant:fileset dir="${maven.xdocs.resources.src}" />
    </ant:copy>
  </postGoal>

The xml resources are stored in src/xdocs-resources, and it's doing fine. 
:)

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED]>


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

Reply via email to