ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: No package found
Date Thu, 25 May 2006 22:33:38 GMT
Heres my take
If I am coding a once - y thing and it WORKS and I say wait a minute
this is a waste of time since I am doing the SAME operation for all entities in a container
namely all file(s) in the folder
then I extract out the file specific stuff namely filename.extension and then use the folder
spec

the level of sophistication of Java Developer should know that when I point to this source
folder thats it
If my equipment is pointing at the Sun when I should be pointing at Mars I might fry the equipment
thats ok
after all we're all professionals and we're supposed to know what we're doing..I said supposed
to

My suggestions is Dont look for packages or anything else..thats way too much handlholding
besides thats the implementor's job

So the same functionality that works for srcdir should work the SAME for sourcepath except
its not looking for a specific file its looking at the folder..

Other than that...Hows life in oregon these days??
As always Its expensive living here in the democratic republic ...

Thanks Steve,
M-

*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Steve Loughran" <stevel@apache.org>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, May 25, 2006 4:45 PM
Subject: Re: No package found


> Martin Gainty wrote:
>> Javadoc task produces "folder does not contain any package"
>> What does this mean?
>> Thank You,
>> 
> 
> I dont see this string in the current version, but there is something 
> very similar,
> 
>                 log(baseDir + " doesn\'t contain any packages, dropping 
> it.",
>                     Project.MSG_VERBOSE);
> 
> What the code is doing is scanning the filesets for directories 
> containing java files and or, if includenosourcedirs is set, 
> package.html files. If it only finds .java source in the toplevel file 
> it complains that these should be passed in as files, not a package. If 
> it completes its scan without finding anything to hand off to javadoc, 
> you see the message.
> 
> 1. is the message correct or is it missing something?
> 
> 2. what do you think the message should be changed to, to make it more 
> meaningful without being 20 lines long?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>
Mime
View raw message