You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nathan Coast <na...@codeczar.com> on 2003/10/02 09:22:15 UTC

[patch] javadoc maven.compile.src.set

apologies for submitting patch to dev list but jira wont let me,  I'll submit to 
jira as soon as I can.

patch for the javadoc plugin to generate javadoc for the maven.compile.src.set 
in addition to the pom.build.sourceDirectory

In some of my projects all of the java sources are generated, doesn't mean I 
don't want them javadoced.

       <ant:javadoc
         packagenames="${pom.package}.*"
         destdir="${maven.javadoc.destdir}"
............
............
         sourcepathref="maven.compile.src.set">

I've tested by re-running maven site on the maven source without any problems.

cheers
Nathan

Re: [patch] javadoc maven.compile.src.set

Posted by di...@multitask.com.au.
I don't think so.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nathan Coast <na...@codeczar.com> wrote on 02/10/2003 06:03:29 PM:

> there's the section for sourceModifications.  will the 
> sourcepathref="maven.compile.src.set" override these modifications?
> 
> dion@multitask.com.au wrote:
> 
> > Do you really want the fileset for the javadoc task then?
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:      http://blogs.codehaus.org/people/dion/
> > 
> > 
> > Nathan Coast <na...@codeczar.com> wrote on 02/10/2003 05:22:15 PM:
> > 
> > 
> >>apologies for submitting patch to dev list but jira wont let me, 
> >>I'll submit to 
> >>jira as soon as I can.
> >>
> >>patch for the javadoc plugin to generate javadoc for the maven.
> >>compile.src.set 
> >>in addition to the pom.build.sourceDirectory
> >>
> >>In some of my projects all of the java sources are generated, doesn't 
> > 
> > mean I 
> > 
> >>don't want them javadoced.
> >>
> >>       <ant:javadoc
> >>         packagenames="${pom.package}.*"
> >>         destdir="${maven.javadoc.destdir}"
> >>............
> >>............
> >>         sourcepathref="maven.compile.src.set">
> >>
> >>I've tested by re-running maven site on the maven source without 
> > 
> > anyproblems.
> > 
> >>cheers
> >>Nathan
> >>Index: src/plugins-build/javadoc/plugin.jelly
> >>===================================================================
> >>RCS file: 
/home/cvspublic/maven/src/plugins-build/javadoc/plugin.jelly,v
> >>retrieving revision 1.23
> >>diff -u -r1.23 plugin.jelly
> >>--- src/plugins-build/javadoc/plugin.jelly   21 Sep 2003 06:43:20 
-0000 
> > 
> > 1.23
> > 
> >>+++ src/plugins-build/javadoc/plugin.jelly   2 Oct 2003 06:21:39 -0000
> >>@@ -103,7 +103,8 @@
> >>         bottom="${copyright}"
> >>         stylesheetfile="${maven.javadoc.stylesheet}"
> >>         additionalparam="${maven.javadoc.additionalparam}"
> >>-        useexternalfile="${maven.javadoc.useexternalfile}">
> >>+        useexternalfile="${maven.javadoc.useexternalfile}"
> >>+        sourcepathref="maven.compile.src.set">
> >>
> >>         <ant:fileset dir="${pom.build.sourceDirectory}">
> >>           <ant:include name="**/*.java"/>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: [patch] javadoc maven.compile.src.set

Posted by Nathan Coast <na...@codeczar.com>.
there's the section for sourceModifications.  will the 
sourcepathref="maven.compile.src.set" override these modifications?

dion@multitask.com.au wrote:

> Do you really want the fileset for the javadoc task then?
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
> 
> 
> Nathan Coast <na...@codeczar.com> wrote on 02/10/2003 05:22:15 PM:
> 
> 
>>apologies for submitting patch to dev list but jira wont let me, 
>>I'll submit to 
>>jira as soon as I can.
>>
>>patch for the javadoc plugin to generate javadoc for the maven.
>>compile.src.set 
>>in addition to the pom.build.sourceDirectory
>>
>>In some of my projects all of the java sources are generated, doesn't 
> 
> mean I 
> 
>>don't want them javadoced.
>>
>>       <ant:javadoc
>>         packagenames="${pom.package}.*"
>>         destdir="${maven.javadoc.destdir}"
>>............
>>............
>>         sourcepathref="maven.compile.src.set">
>>
>>I've tested by re-running maven site on the maven source without 
> 
> anyproblems.
> 
>>cheers
>>Nathan
>>Index: src/plugins-build/javadoc/plugin.jelly
>>===================================================================
>>RCS file: /home/cvspublic/maven/src/plugins-build/javadoc/plugin.jelly,v
>>retrieving revision 1.23
>>diff -u -r1.23 plugin.jelly
>>--- src/plugins-build/javadoc/plugin.jelly   21 Sep 2003 06:43:20 -0000  
> 
> 1.23
> 
>>+++ src/plugins-build/javadoc/plugin.jelly   2 Oct 2003 06:21:39 -0000
>>@@ -103,7 +103,8 @@
>>         bottom="${copyright}"
>>         stylesheetfile="${maven.javadoc.stylesheet}"
>>         additionalparam="${maven.javadoc.additionalparam}"
>>-        useexternalfile="${maven.javadoc.useexternalfile}">
>>+        useexternalfile="${maven.javadoc.useexternalfile}"
>>+        sourcepathref="maven.compile.src.set">
>>
>>         <ant:fileset dir="${pom.build.sourceDirectory}">
>>           <ant:include name="**/*.java"/>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 
> 




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


Re: [patch] javadoc maven.compile.src.set

Posted by di...@multitask.com.au.
Do you really want the fileset for the javadoc task then?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nathan Coast <na...@codeczar.com> wrote on 02/10/2003 05:22:15 PM:

> apologies for submitting patch to dev list but jira wont let me, 
> I'll submit to 
> jira as soon as I can.
> 
> patch for the javadoc plugin to generate javadoc for the maven.
> compile.src.set 
> in addition to the pom.build.sourceDirectory
> 
> In some of my projects all of the java sources are generated, doesn't 
mean I 
> don't want them javadoced.
> 
>        <ant:javadoc
>          packagenames="${pom.package}.*"
>          destdir="${maven.javadoc.destdir}"
> ............
> ............
>          sourcepathref="maven.compile.src.set">
> 
> I've tested by re-running maven site on the maven source without 
anyproblems.
> 
> cheers
> Nathan
> Index: src/plugins-build/javadoc/plugin.jelly
> ===================================================================
> RCS file: /home/cvspublic/maven/src/plugins-build/javadoc/plugin.jelly,v
> retrieving revision 1.23
> diff -u -r1.23 plugin.jelly
> --- src/plugins-build/javadoc/plugin.jelly   21 Sep 2003 06:43:20 -0000  
1.23
> +++ src/plugins-build/javadoc/plugin.jelly   2 Oct 2003 06:21:39 -0000
> @@ -103,7 +103,8 @@
>          bottom="${copyright}"
>          stylesheetfile="${maven.javadoc.stylesheet}"
>          additionalparam="${maven.javadoc.additionalparam}"
> -        useexternalfile="${maven.javadoc.useexternalfile}">
> +        useexternalfile="${maven.javadoc.useexternalfile}"
> +        sourcepathref="maven.compile.src.set">
> 
>          <ant:fileset dir="${pom.build.sourceDirectory}">
>            <ant:include name="**/*.java"/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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