ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38914] - ant -p doesn't display targets correctly when CLASSPATH=""
Date Sun, 12 Mar 2006 16:41:06 GMT
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=38914>.
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=38914





------- Additional Comments From dennis.bednar@comcast.net  2006-03-12 16:41 -------
(In reply to comment #3)
> Regarding the java version (remark from kev): Did you also set your PATH
> accordingly. the java executable is not selected via JAVA_HOME but via your
> path, and lacking that <some magic, maybe registry>.

Yes.. my PATH environment variable is set, so that javac and
java can be found.
Look at the very top of this message, where I showed my
entire PATH environment variable.
I have MKS tooklit installed, and I ran "which javac" (to find
out which version of a file is being executed from the PATH)
and got this:
   C:\jdk1.5.0_04\bin/javac.exe
and I ran "which java" and got this:
   C:\jdk1.5.0_04\bin/java.exe


> 
> 
> Regarding the reported issue:
> maybe when specifying explicitly no classpath, the wrapper takes -p 
> (or -?, or whatever comes first) as the classpath in your case?
> 
> When I try to reproduce on XP home SP2 I get the following 
> URISyntaxException : Illegal character in path at index 46:
> file:/D:/data/eclipseworkspace/ant-trunk/dist/"

I'm still running XP Home SP1 and need to upgrade on this PC.
(I tried to upgrade a year ago, and it messed up my pc, and I had
to revert to SP1.)
Lets' be clear on what you were testing.. you were doing this, right? :
  set classpath=""
  ant -p
  ant -?
Again, in my case, I saw the output of a normal "ant" command
without any options, ie, it ran instructions for the default target.

Finally, I ran "which ant" and saw this:
  C:\apache-ant-1.6.5\bin/ant.bat
I wonder if its because its a BAT script and not an EXE file,
that may have something to do with the problem ?? (Just a wild thought.)

I have another PC here that has SP2 installed.. and I plan to try it
there later today ... 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message