ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@trysybase.com>
Subject <javac srcpathref
Date Wed, 05 Nov 2003 15:04:59 GMT
I read this:

http://ant.apache.org/manual-1.6beta/CoreTasks/javac.html :

sourcepathref    The sourcepath to use, given as a reference to a path
defined elsewhere.

as saying I can do <javac sourcepathref="....

however I get an error message that srcdir needs to be set:

protected void checkParameters() throws BuildException {
    if (src == null) {
        throw new BuildException("srcdir attribute must be set!",
getLocation());
    }

I see I can do it with <javac <src refid=" ... but just wondered if the
above was me misreading, or not.

regards,

Adam
--
Experience Sybase Technology...
http://www.try.sybase.com


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


Mime
View raw message