You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shinobu Kawai <sh...@gmail.com> on 2004/10/20 11:22:48 UTC

Can the xdoc plugin be told to skip specific XML files?

Hi all,

Has there been any progress on this question?
    http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apache.org&msgId=812567

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?

TIA.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <sh...@gmail.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can the xdoc plugin be told to skip specific XML files?

Posted by Arnaud HERITIER <ah...@gmail.com>.
thanks

Arnaud


On Wed, 20 Oct 2004 20:19:31 +0900, Shinobu Kawai
<sh...@gmail.com> wrote:
> Hi Arnaud,
> 
> > Actually, I have the same problem, but I didn't find the time to fix it.
> > I only added an extension to the xml files : myfile.xml.sample
> >
> > If I update the plugin, I think that the better solution is to add a
> > new property :
> > maven.xdoc.exclude.xml=....
> >
> > Can you open an issue, to remember me to do it ??
> Here it is:
>  http://jira.codehaus.org/browse/MPXDOC-123
> 
> 
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai <sh...@gmail.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can the xdoc plugin be told to skip specific XML files?

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Arnaud,

> Actually, I have the same problem, but I didn't find the time to fix it.
> I only added an extension to the xml files : myfile.xml.sample
> 
> If I update the plugin, I think that the better solution is to add a
> new property :
> maven.xdoc.exclude.xml=....
> 
> Can you open an issue, to remember me to do it ??
Here it is:
  http://jira.codehaus.org/browse/MPXDOC-123

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can the xdoc plugin be told to skip specific XML files?

Posted by Arnaud HERITIER <ah...@gmail.com>.
Actually, I have the same problem, but I didn't find the time to fix it.
I only added an extension to the xml files : myfile.xml.sample

If I update the plugin, I think that the better solution is to add a
new property :
maven.xdoc.exclude.xml=....

Can you open an issue, to remember me to do it ??

Thx.

Arnaud


On Wed, 20 Oct 2004 18:22:48 +0900, Shinobu Kawai
<sh...@gmail.com> wrote:
> 
> Hi all,
> 
> Has there been any progress on this question?
>    http://nagoya.apache.org/eyebrowse/ReadMsg?listName=users@maven.apache.org&msgId=812567
> 
> 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?
> 
> TIA.
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai <sh...@gmail.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can the xdoc plugin be told to skip specific XML files?

Posted by Shinobu Kawai <sh...@gmail.com>.
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 <sh...@gmail.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org