I'm wondering what's the difference between <path> and <classpath>.
Why are there these two construct? Aren't they functionally identical?

This is not about the environment variables, but about the Ant
constructs.

The question has been asked here, but not really answered:

difference between path,pathelemnt,classpath and fileset tags
http://marc.info/?l=ant-dev&m=124419759524145&w=2

And also here:

path classpath
http://ant.1045680.n5.nabble.com/path-classpath-td1353146.html

This time, the answer is: "There is no difference in type."

If this is so, it wouldn't hurt to state that in the manual. Looks like
there is no dedicated reference page for these constructs, but examples
for <path> and <classpath> are given here:

http://ant.apache.org/manual/using.html#path

Is it correct to say that the whole <path>/<classpath> thing can be
explained historically by reference to the <javac> task? Which sports
@classpath, @sourcepath, @bootclasspath and @extdirs, all <path> types?

http://ant.apache.org/manual/Tasks/javac.html

So are <path> and <classpath> interchangeable?

-- 
Michael Ludwig

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

Reply via email to