Re: HttpUnit on Android
Mattias Jiderhamn <[email protected]> Tue, 13 Sep 2011 13:16:27 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
First of all, is this an actual problem or is it simply a warning that can be ignored? (I assume you do not plan to use reflection on the HttpUnit classes...?) Secondly, if you need HttpUnit compiled with a newer compiler, just download the sources and do so yourself. </Mattias> ----- Original Message ----- Subject: [Httpunit-develop] HttpUnit on Android Date: Mon, 12 Sep 2011 15:09:48 +0200 From: stefan braun <[email protected]> Dear httpunit community I would like to use HttpUnit on my android Device. Basically I wrote program that is logging in on a https-webpage, then it fills in automatically a from and finally the form is submitted. If I want to use the program now on the android platform, there is a warning first when adding the .jar or .class files to the project library and second the program cant execute on the mobile-decive. For every inner class there appears the warning: [2011-09-12 14:35:14 - smsService] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (com.meterware.servletunit.ServletRunner$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class. Perhaps one could compile the httpUnit.jar in another way, that is also works for android? Or can you help me getting this problem fixed?! Thanks for the help stb ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1