Hi Shiva, Can you file a bug in our issue tracker?
On Thu, Jul 26, 2012 at 1:57 AM, Shiva <shiva1...@gmail.com> wrote: > Hi , > > I'm trying to interact with google app engine using remote API able to get > it working in 1.6 but its failing in java 1.5 version. > I need to get it working in websphere portal 6.1 version which supports > only java 1.5 > I think there ClientLogin.java is using email.IsEmpty() method is is in > java1.6 not java 1.5 > Exception thrown : java.lang.NoSuchMethodError: java/lang/String.isEmpty()Z > at > com.google.appengine.tools.remoteapi.ClientLogin.getClientLoginToken(ClientLogin.java:44) > at > com.google.appengine.tools.remoteapi.ClientLogin.login(ClientLogin.java:36) > at > com.google.appengine.tools.remoteapi.RemoteApiInstaller.loginImpl(RemoteApiInstaller.java:195) > at > com.google.appengine.tools.remoteapi.RemoteApiInstaller.login(RemoteApiInstaller.java:165) > > Does any one know if there is remote API jar supporting java 1.5 ? > i tried using SDK 1.4.3 but it also have same method isEmpty.. > Here is the code > > response.setContentType(request.getResponseContentType()); > RemoteApiOptions options = new RemoteApiOptions() > .server("XXXXX.appspot.com", 443) > .credentials("username", "password"); > RemoteApiInstaller installer = new RemoteApiInstaller(); > installer.install(options); > > > > > try { > DatastoreService ds = > DatastoreServiceFactory.getDatastoreService(); > System.out.println("Key of new entity is " + > ds.put(new Entity("shiva testing the datstore again"))); > > List<BlobInfo> blobsToDelete = new LinkedList<BlobInfo>(); > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/mSd1vlxy_3UJ. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- Takashi Matsuo -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.