dgallen / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

In the Endpoints client libraries the sources (jar too) aren't generated #228

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I use Android Studio, but Eclipse has the same error.

I have an android project, and I generated the backend server. Yesterday (24 
July) I generated the client libraries and everything work. Now, if I try to 
generate the client libraries the IDE produces the folder with all the 
dependencies libraries (in the "google_generated" folder), with also the file 

myapp-userinfoendpoint-v1-20130725221705-java-1.15.0-rc.jar.properties

but, the file "myapp-userinfoendpoint-v1-20130725221705-java-1.15.0-rc.jar" 
doesn't exist. Also the "lib-expanded-source" folder is empty... 
I'm working on the old version of the libraries, maintaining the method 
arguments and the return types, but I need to generate the new versions.

I also try to generate a new android project, with the default backend, the 
same happens in Eclipse and in Android Studio. 

The two IDEs are updated to the latest versions, I'm using MacOS X 10.7.5.

Also I've noticed that in Android Studio at the end of the generation of client 
libraries, the IDE shows this error:

null
java.lang.NullPointerException
    at java.io.File.<init>(File.java:305)
    at com.google.gct.intellij.endpoints.externalbuilder.MavenEndpointGeneratorHelper.expandSourceDirForApi(MavenEndpointGeneratorHelper.java:125)
    at com.google.gct.intellij.endpoints.externalbuilder.MavenEndpointGeneratorHelper$2.onBuildCompleted(MavenEndpointGeneratorHelper.java:226)
    at com.google.gct.intellij.endpoints.util.MavenUtils$2$1.run(MavenUtils.java:121)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:347)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:686)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:514)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Thanks in advance

Original issue reported on code.google.com by miro.man...@gmail.com on 25 Jul 2013 at 10:39

GoogleCodeExporter commented 8 years ago

Original comment by nhcohen@google.com on 26 Jul 2013 at 9:47

GoogleCodeExporter commented 8 years ago
I think this is related to App Engine bug that was fixed recently : 
https://code.google.com/p/googleappengine/issues/detail?id=9746

If it's still broken we can take a look at it again.

Original comment by a...@google.com on 26 Jul 2013 at 10:03