Re: HttpUnit on Android
stefan braun <[email protected]> Wed, 14 Sep 2011 19:24:35 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <1316021075.1904.3.camel@bitPorter> |
The problem is, that all innerClasses are ignored. So all innerClasses cant be found when the program is running and the program crashes. Is it possible to just use another compiler than ant for your compiling script? I have no idea how to do this ... btw: Thanks for your answer! stb Am Dienstag, den 13.09.2011, 13:16 +0200 schrieb Mattias Jiderhamn: > 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 > _______________________________________________ > 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