ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <VPho...@suz.com>
Subject Maven and Ant
Date Thu, 16 Oct 2003 21:16:02 GMT
Hi Guys,

I've been using Ant for a lot of build related stuff. Now I hear of this
other tool called Maven. Is there any place I could find the differences
between maven and ant and which is better in what case.

Or if you guys have any views abt that.

Vikas

-----Original Message-----
From: W. Sean Hennessy [mailto:shennessy@goldenhourdata.com] 
Sent: Wednesday, October 15, 2003 12:58 PM
To: 'Ant Users List'
Subject: RE: javadoc task failure

Kinda tough to be specific without seeing the buil.xml 
Perhaps the addition of a core <available> task within the target that is
using <for-each> to test the source directory
and conditionally call javadoc based on the resulting property value .

<available file="${matt-src-dir-folder}" type="dir"
property="matt-src-dir-present"/>

-----Original Message-----
From: Matt [mailto:mathews_julien@hotmail.com] 
Sent: Wednesday, October 15, 2003 6:21 PM
To: 'Ant Users List'
Subject: javadoc task failure


Hi Everybody,

I would appreciate a little help with the javadoc task. Here is what I am
using. I'm running the task to generate docs
for several projects. The packages : "com.kod.*" are located under the
"source"  directory in each project folder. But
when the task encounters a project which doesn't has an "source" folder
under it, it crashes and says : "BUILD FAILED
file:/home/javadoc/builddocs.xml:74: No source files and no packages have
been specified. "

I saw someone had similar problem but can't figure how what to do from those
messages.

I am using the ant-contrib <for-each> task to loop thru the projects and I
need the javadoc task to just skip the
project that it doesn't find an "source" folder in. Here is my task.

<javadoc packagenames="com.kod.*"
            excludepackagenames="*org.*"           	        
           defaultexcludes="yes"
           destdir="${checkoutprojectname}"
           author="true"
           version="true"
           use="true"
           windowtitle="${projectbase.name}" failonerror="False"> <fileset
dir="${check3.name}" defaultexcludes="yes" >
      <include name="**/source/**" />
      
</fileset>
   	

</javadoc>   

Thanks

Matt.









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



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

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


Mime
View raw message