Closed GoogleCodeExporter closed 8 years ago
In trunk there is XMLHttpRequest2 project with build.xml file.
You need set some EVN variables like GWT HOME for GWT SDK.
Or you can check
RestClientApp/war/WEB-INF/lib/gwt-xmlhttp-request-l2-library-2.4.0.jar for
missing library :)
Just add it to include path ad it should work.
BTW: There is many unnecessary libs that will be removed in next update.
Original comment by jarro...@gmail.com
on 27 Mar 2012 at 8:03
I grabbed the libraries from the RestClientApp, and I still get the failure:
The method setHeaders(List<RequestHeader>) in the type RequestBuilder is not
applicable for the arguments (LinkedHashMap<String,String>)
It would be nice if the dependent libs were either off of some classpath
variable or in the project itself, I keep getting build path issues in eclipse.
Original comment by mikew...@gmail.com
on 27 Mar 2012 at 10:35
It would appear the above problem is somewhat related to r101. The code seems
to want to put a map of headers, whereas r101 removed that. Should I revert
that commit out?
Original comment by mikew...@gmail.com
on 27 Mar 2012 at 10:39
Pulling out r101 from src/com/google/gwt/xhr2/client/RequestBuilder.java fixed
the compile issues with RestClient, I doubt it is the proper way to go.
Original comment by mikew...@gmail.com
on 27 Mar 2012 at 11:05
LinkedHashMap has been removed and replaced by other object because it
overwrite headers for with same name while spec tells that headers with same
name should be merged, not replaced.
I've committed latest version yesterday. It should contain proper version.
Original comment by jarro...@gmail.com
on 29 Mar 2012 at 8:48
This fixed the problem I was having with RestClientApp great. However,
RestClient was still being redflagged, but I am ignoring it.
Thanks much!
Original comment by mikew...@gmail.com
on 2 Apr 2012 at 9:39
Original issue reported on code.google.com by
mikew...@gmail.com
on 27 Mar 2012 at 7:41