ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <VPho...@suz.com>
Subject javadoc task error
Date Fri, 03 Oct 2003 18:15:47 GMT
I'm using the following target to generate javadocs. As you can see, I'm
first printing out all the properties that I'm supplying to the javadoc
task.All values print fine and are valid directories and packages.But I get
the error message: " No source files and no packages have been specified."

Any ideas??

<target name="check3">               
        <echo>cvsroot Check3= ${check3.name} </echo>
	 <basename property="projectbase.name" file="${check3.name}"/>
	<basename property="chkoutbasename.name" file="${check2.name}"/>
	<echo message = "Check3 project Basename=${projectbase.name}"/>
	<echo message = "Check3 Checkout BaseName=${chkoutbasename.name}"/>
	<property name="checkoutdirname"
value="${dest}/${chkoutbasename.name}"/>
	<property name="checkoutprojectname"
value="${dest}/${chkoutbasename.name}/${projectbase.name}"/>
	<echo message = "Check3 CheckoutDirectory Name=${checkoutdirname}"/>
	<echo message = "Check3 Checkout Exact Project
Name=${checkoutprojectname}"/>

<mkdir dir="${checkoutprojectname}"/>

<javadoc packagenames="com.suz.*"
           destdir="${checkoutprojectname}"
           author="true"
           version="true"
           use="true"
           windowtitle="${projectbase.name}">


	<fileset dir="${check3.name}" defaultexcludes="yes">
      <include name="**/src/com/**" />
</fileset>
</javadoc>   
</target>

Thanks
Vikas

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message