-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[EMAIL PROTECTED] wrote:
> <filesets> like any datatypes in Ant provides a id/refid mechanism.
> If you define a fileset giving an id you can refer to that via refid.
>
> <path id="srcfiles">
> <fileset id="srcfiles.fs" dir="/data/devel/java">
> <include name="**/*.java"/>
> </fileset>
> </path>
>
> <target name="doc">
> <javadoc destdir="${localdoc}" verbose="off">
> <fileset refid="srcfiles.fs"/>
> </javadoc>
> </target>
>
>
> Jan
Thanks, it works.
None of this is documented in:
http://ant.apache.org/manual/CoreTypes/fileset.html
Common attributes are documented at:
http://ant.apache.org/manual/CoreTasks/common.html
but "refid" is not in the list. May I suggest that somewhere in the document
"refid" be explained? Granted, it might be somewhere else already, but I do
not want to read the whole documentation for finding it...
It would be nice if these common attribute could be documented in each task...
I only reconfigure the build.xml file once in a while, maybe once or twice a
year. I forget things and I do not want to read the whole documentation just
to bring a small change. I read "FileSet" and "Javadoc" documentation, but
nothing there hinted me how to perform what I was trying to do. If the common
attributes where listed, with a link to the generic page explaining them, I
would have found this.
Best regards,
Hans Deragon
- --
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source:
http://www.deragon.biz http://facil.qc.ca (Promotion du libre)
mailto://[EMAIL PROTECTED] http://autopoweroff.deragon.biz (Logiciel)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBj5y8kn1Tn1exbkgRAhb4AKCJxQQfeEEmDjQGmPaMTQH/FPaj1wCbBqs7
Xlau+/TzLysipfFaDaZylTo=
=pizc
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]