Hi Robert. Just to set expectations, Cloud Tools for Eclipse is a separate product and is not considered as the next version of the Google Plugin for Eclipse. As such, CT4E doesn't bring over support for deprecated and superseded products. You can continue to use GPE while you port your code.
The com.google.api.server.spi.SystemServiceServlet is from Cloud Endpoints v1. CT4E supports Cloud Endpoints v2. Cloud Endpoints provides some doc on migrating from v1 to v2 <https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/java/migrating>. You can use the same approach to adding the Cloud Endpoints v2 jars. I spent a little bit of time trying to convert a simple JDO+Datastore app to use the Datanucleus plugin for Eclipse (http://www.datanucleus.org/downloads/ <http://www.datanucleus.org/downloads/>), but hit some issues trying to get a workable configuration. This is what I figured out: The Datanucleus implementation jars are in the App Engine for Java SDK in lib/opt/*/datanucleus/ as v1 or v2. v1 is for JDO 2, and v2 is for JDO 3. Copy in <SDK>/lib/opt/user/datanucleus/v?/*.jar into WEB-INF/lib/ Edit the project properties Java Build Path: Add WEB-INF/lib/*.jar to your build path Datanucleus: Add <SDK>/lib/opt/tools/datanucleus/v?/datanucleus-enhancer-*.jar to Datanucleus runtime path Datanucleus: Uncheck "Use project classpath when running tools" as otherwise doesn't pick up the -enhancer.jar Seems the jdoconfig.xml may need to be placed in WEB-INF/classes/META-INF/. I hit my time limit and wasn't able to get my sample project to really work. But I'm not a JDO/DataNucleus expert, so you might have better success. To be honest, I'd spend my time to convert my project to a Maven project: https://cloud.google.com/appengine/docs/java/datastore/jdo/overview-dn2 <https://cloud.google.com/appengine/docs/java/datastore/jdo/overview-dn2> Brian. > On 6-Jun-2017, at 12:12 PM, Robert Dyas <[email protected]> wrote: > > And it also doesn't like the src/META-INF/jdoconfig.xml > Is this file needed? > Is there a more correct one to use? > > Description Resource Path Location Type > cvc-elt.1: Cannot find the declaration of element 'jdoconfig'. > jdoconfig.xml /ParaSQL/src/META-INF line 4 XML Problem > > > Description Resource Path Location Type > Referenced file contains errors (http://java.sun.com/xml/ns/jdo/jdoconfig). > For more information, right click on the message in the Problems View and > select "Show Details..." jdoconfig.xml /ParaSQL/src/META-INF line 1 > XML Problem > > > > On Monday, June 5, 2017 at 8:36:39 PM UTC-4, Robert Dyas wrote: > I just upgraded from the Eclipse plugin to Cloud Tools for Eclipse and now my > project is a mess. > > I did this: https://cloud.google.com/eclipse/docs/converting > <https://cloud.google.com/eclipse/docs/converting> > > I now have a ton of bad imports... for example I have ton of > com.google.appengine.api.datastore references that are now broken. > > What is the best way to get them back? I don't even see a place to download a > JAR for it. > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/google-appengine > <https://groups.google.com/group/google-appengine>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/e476abb2-8fae-49fd-908d-801d88878b43%40googlegroups.com > > <https://groups.google.com/d/msgid/google-appengine/e476abb2-8fae-49fd-908d-801d88878b43%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1D21ADB8-E7B6-4052-A862-020ECD74CAC7%40gmail.com. For more options, visit https://groups.google.com/d/optout.
