Google Plugin for Eclipse only one direction? - eclipse

I'm using the Google plugin for Eclipse and have imported a Google Apps Script project. The Google project is updated immediately when I edit and save the local version, but the opposite doesn't seem to happen. When I edit files in the project directly in the Google code editor, it never seems to be reflected locally.
Does the plugin only work in one direction?

Related

Google Deploy to App Engine disabled in Eclipse

I am using the Google Plugin for Eclipse to deploy my project to App Engine, and this has worked great for over a year. But a couple of days ago it stopped working, and I can not seem to find the reason. The project is still an App Engine project, but the Deploy to App Engine button is disabled.
I already reinstalled the entire Google Plugin in Eclipse. I also added another GAE project, but then the button is still disabled. I managed to enable the button once to upload, but I don't know what triggered the enabling.
Has anyone seen this before and any clue on how to fix this?
EDIT: The button enabled when I removed and re-added the App Engine SDK from the build path of the project. After the deployment, the button disabled again..
This is a known bug in the latest 3.9.1 release. The fix will be pushed on Monday, 5/2.
The same thing is happening for my eclipse mars. The workaround I'm using is, File >> Close Project, then double click to open project, voila.
For those who don't want to wait (I didn't), use appcfg. If you want to use External Tools, you'll find the executable in (SDK install - check configured SDK's)/bin/appcfg.(sh|cmd)
Set the working dir to the project folder, the commands are "update war", where 'war' is the location of the war directory relative to the project folder.
I set JAVA_HOME under the environment tab to the Java SDK, and PATH to the Java SDK/bin directory, and "replace native environment with specified environment" on Windows, worked fine without Environment settings on Linux.
The "Deploy to App Engine" only disables itself when I select another project. So to get it enabled:
Deselect all projects (Ctrl+Click on the selected project - or restart Eclipse).
Select your project.
It should then be enabled (well, it was for me).
EDIT: Google rolled out a new version of the plugin, and now the button works fine.
Running Eclipse Neon 4.6.3 with no issue. To get it enabled:
Install Google Cloud SDK and Cloud Tools for Eclipse https://cloud.google.com/eclipse/docs/quickstart
Install components using the Google Cloud command line
gcloud components install app-engine-java
Convert eclipse project to a google app engine project
Right-click on project
Click on Configure
Click on Convert to standard app engine project
Make sure you click on the project and... voila!
For me simple restarting of the eclipse did the trick.
I had closed the project by mistake and when I re-opened it, the deploy button was disabled.

Can't sign into Google using Google plugin for Eclipse

I am using Eclipse Luna and I recently installed the Google plugin for Eclipse to deploy apps to the Google app engine.
I tried signing into Google services and was able to get past the password prompt and 2-step verification screen successfully. After that I get the permissions screen where I click 'Accept'.
After I click 'Accept' however nothing happens and the window goes blank. I've waited for like an hour and yet it just stays like that.
I have tried using a different Eclipse workspace, a different Eclipse installation (Luna), a different Google account which doesn't have 2-step authentication but I get the same result.
I have even checked the Eclipse log file and there are no entries made at time I tried signing in.
I've searched around but couldn't find anything related to this. Thanks in advance.
Right click, choose another encoding. Worked for me!
I faced the same issue with next configuration
Windows 8.1
JDK 7 and 8
Eclipse Luna
Google Plugin for Eclipse 4.4
GWT SDK 2.6
App Engine SDK 1.9
I think that something wrong with Google plugin, so here my Windows command line workaround:
Download and install external tools: App Engine SDK, Apache
Ant. At moment of writing this text Google App Engine doesn't
support Java 8, so you need install Java 7 and configure JAVA_HOME
environment variable accordingly.
Add to PATH environment variable paths to bin folders of App Engine and Ant.
Run command line and go to folder of your Eclipse project. Note that your project must be configured with Ant and build.xml file must be inside your project's folder.
Type ant build command and wait until successful compilation.
Configure your application ID via Eclipse or edit file war\WEB-INF\appengine-web.xml and set appropriate value into <application> tag.
Type app cfg update war It may run your browser, ask you credentials and ask to paste generated key.
After successful deploy navigate to your_application_id.appspot.com
Enjoy.
Read this article for details.
There were some bugs in the oAuth flow when you encountered this. We fixed all the ones we knew about last year. GPE login should be working now, but if not you can also try the newer Google Cloud Tools for Eclipse.
I had exactly the same problem ( Ubuntu 16.04 LTS )
To solve it I went to Eclipse Market Place and installed Google Cloud Tools for Eclipse 1.1.0
I accepted all the items to be installed
When I finished the installation, I restarted Eclipse, reopened it, clicked the Google icon in the bottom right corner, and logged in to the Chrome browser (It opens Chrome automatically).
This way I managed to make the connection.
I hope this can help !

setup google services libgdx on netbeans

I'm using netbeans and I'm trying to add admob via google play services to my libgdx project. My problem is that I really can't find a way to add the library to the project. Followed quite a few tutorials, but most of them are for eclipse and not netbeans. I copied the google-play-services_lib to the main folder of the project but I'm kind of lost from there. Any hints?

Get the app script project created in spreadsheet to eclipse

I have installed Google plugin for eclipse yesterday and when I start importing app script projects it shows projects available only in myDrive.
I have created few app projects in google spreadsheets.
How can I retrieve those projects created in the spreadsheet to eclipse?
Thanks for your help..
If you were to read the plugin docs you'll see that it's not supported.

JOSM plugin won't work (PicLayer)

I have been trying to georeference the floor plan of my home university using Java OpenStreetMap (JOSM). I have been following the guide from their website (http://wiki.openstreetmap.org/wiki/IndoorOSM) until i got stuck on the PicLayer plugin part.
The plugin when downloaded (version 29809) will never appear in my Menu bar, not even after couple of restarts of my computer AND even on a fresh virtual machine, with fresh java JRE the plugin just won't appear in the menu.
I understand that this isn't the perfect place for posting such a problem, but unfortunately when visiting JOSM forums i got banged with this message "This forum is not accepting new registrations."
I already replied to the JOSM ticket but also give the answer here.
The plugin was not correctly installed. To install a plugin, the recommended way is to download and install it directly from JOSM preferences (F12).
If the plugin jar is manually downloaded, it must be manually enabled in JOSM preferences by checking its tickbox in plugins tab: