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 23322] - VAJ task run fail if VAJ's project name has some space character
Date Tue, 23 Sep 2003 03:53:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23322>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23322

VAJ task run fail if VAJ's project name has some space character





------- Additional Comments From chienbd@fsoft.com.vn  2003-09-23 03:53 -------
Hi Stefan,
I compare my org.apache.tools.ant.taskdefs.optional.ide package with package in 
Ant 1.5.4, I found only 2 difference point (my package was corrected base on 
some guide in some Bugzilla, I am not remember exactly):
In VAJImportServlet and VAJExportServlet, in executeRequest method, I use "new 
File(URLDecoder.decode(getFirstParamValueString(DIR_PARAM)))" instead of "new 
File(getFirstParamValueString(DIR_PARAM))"
I have just change to: "new File(getFirstParamValueString(DIR_PARAM))", but it 
still error
I think in VAJRemoteUtil, when sending an request to Remote Access To Tool API, 
we need to do some thing with request. I run Ant with -debug option then get 
java.lang.NullPointerException error, I get a debug message
Request:http://localhost:32767/servlet/vajimport?project=NCM NCM&dir=D%3A%
5CHitachi%5CPrototype%5CSIAT%5CTCC%5Cget&cls=false&res=false&src=true&dex....
So if I config my VAJ project name is "NCM+NCM", it work correctly

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


Mime
View raw message