You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yo...@gd-ais.com on 2004/05/06 02:14:47 UTC

Javadoc for multiple source directories

To whoever can help me,

I was looking through the mailing list archives for a solution to this and
noticed someone had posted a solution which involved appending the
additional source directories to the maven.compile.src.set using
maven:addPath.  So I tried to do something along this lines:

		<path id="big.path">
	    	    <pathelement
location="${basedir}/dependencies/aaa/src/java"/>
	    	    <pathelement
location="${basedir}/dependencies/bbb/src/java"/>
	    	    <pathelement
location="${basedir}/dependencies/ccc/src/java"/>
		</path>

	  	<maven:addPath id="maven.compile.src.set" refid="big.path"/>
  	
	  	<attainGoal name="javadoc:generate"/>

However, when I run this I get the following complaint:

BUILD FAILED
File...... file:/C:/Documents <file:/C:/Documents>  and
Settings/buorny/.maven/plugins/maven-javadoc-plugin-1.4-SNAPSHOT/
Element... ant:javadoc
Line...... 106
Column.... 60
No source files and no packages have been specified.

Does anyone have any idea why this might not be working?

Yoway Buorn
Software Engineer
Imagery Systems Engineering

GENERAL DYNAMICS
Advanced Information Systems

"I refuse to tiptoe through life only to arrive safely at death's door."  --
???



Re: Javadoc for multiple source directories

Posted by Nathan Coast <na...@yahoo.com>.
is the package name in the project.xml correct?  I
seem to remember that this causes errors like this.

Also, I don't think that the maven.compile.src.set is
used by the javadoc plugin (yet) see the bug
http://jira.codehaus.org/secure/ViewIssue.jspa?id=12145

--- Yoway.Buorn@gd-ais.com wrote:
> To whoever can help me,
> 
> I was looking through the mailing list archives for
> a solution to this and
> noticed someone had posted a solution which involved
> appending the
> additional source directories to the
> maven.compile.src.set using
> maven:addPath.  So I tried to do something along
> this lines:
> 
> 		<path id="big.path">
> 	    	    <pathelement
> location="${basedir}/dependencies/aaa/src/java"/>
> 	    	    <pathelement
> location="${basedir}/dependencies/bbb/src/java"/>
> 	    	    <pathelement
> location="${basedir}/dependencies/ccc/src/java"/>
> 		</path>
> 
> 	  	<maven:addPath id="maven.compile.src.set"
> refid="big.path"/>
>   	
> 	  	<attainGoal name="javadoc:generate"/>
> 
> However, when I run this I get the following
> complaint:
> 
> BUILD FAILED
> File...... file:/C:/Documents <file:/C:/Documents> 
> and
>
Settings/buorny/.maven/plugins/maven-javadoc-plugin-1.4-SNAPSHOT/
> Element... ant:javadoc
> Line...... 106
> Column.... 60
> No source files and no packages have been specified.
> 
> Does anyone have any idea why this might not be
> working?
> 
> Yoway Buorn
> Software Engineer
> Imagery Systems Engineering
> 
> GENERAL DYNAMICS
> Advanced Information Systems
> 
> "I refuse to tiptoe through life only to arrive
> safely at death's door."  --
> ???
> 
> 
> 



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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