You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/05/28 18:10:42 UTC
DO NOT REPLY [Bug 29281] New: -
documentation on javac for children
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29281>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29281
documentation on javac for <src> children
Summary: documentation on javac for <src> children
Product: Ant
Version: 1.6.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Documentation
AssignedTo: dev@ant.apache.org
ReportedBy: matthew_pocock@yahoo.co.uk
I've got <javac> to work with a nested <src> element now. After much
trile-and-error, I got it to behave by listing each source directory using a
<pathelement> child. Could you document this clearly in the <javac> docs?
So documenting that
<javac srcdir="foo" ....>
is equivalent to
<javac ...>
<src><pathelement location="foo"/></src>
</javac>
would have helped me out.
Here is my working <javac> command - feel free to pilpher what you need for the
documentation.
<javac
srcdir="${name}" <!-- I had to add this - is there a bug? -->
destdir="${build.classes.dir}"
depend="${javac.depend}"
deprecation="${javac.deprecation}"
source="${javac.source}"
debug="${javac.debug}">
<src>
<pathelement location="${src.dir}"/>
<pathelement location="${build.apt.src}"/>
<pathelement location="${build.jse.src}"/>
</src>
<classpath>
<path refid="classpath"/>
</classpath>
</javac>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org