I just did the following on the Eclipse-Galileo:

o Click on the Eclipse menu bar "Windows -> Preferences -> General ->
Capabilitiies". I then enabled the "Class Update"
o Click on  the Eclipse menu bar "Help -> Software Update -> Manage
Configurations". I then expanded the plugins.
o There is no DataNucleus plugin installed.

I don't recall explicitly installing DataNucleus plugin unless GAE or
something else installed as part of their installations.

Also, I tried the following:
o Wrote a populate() method to populate my database (from scratch) in
regular environment (not using junit). It worked fine -- the database
was created.

o Called the same populate() method above in junit environment. It did
not create the database.

Thanks.


On Sep 22, 9:08 am, Toby Reyelts <to...@google.com> wrote:
> Can you check and see if you have the Eclipse DataNucleus plugin installed?
> If so, can you try disabling it?
>
> On Tue, Sep 22, 2009 at 11:34 AM, Pion <onlee2...@gmail.com> wrote:
>
> > Thanks, Toby.
>
> > I have changed the code to
> >              FooServiceImpl server = new FooServiceImpl ();
>
> > Also, I changed the GWT servlet test method to
>
> >        public String unitTest() {
> >                PersistenceManager pm = PMF.get().getPersistenceManager();
> >                return "unitTest";
> >        }
>
> > I implemented/copied the TestEnvironment, LocalServiceTestCase and
> > LocalDatastoreTestCase classes mentioned on
> >http://code.google.com/appengine/docs/java/howto/unittesting.html.
>
> > Now, I receive the following DataNucleus.Plugin warning and error
> > messages below.
>
> > Again, thanks for your help.
>
> > 08:20:35,881 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.views" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,881 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.views" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 0 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.views" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,883 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.perspectiveExtensions" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,883 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.perspectiveExtensions" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 2 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.perspectiveExtensions" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.preferencePages" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.preferencePages" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 3 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.preferencePages" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.keywords" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.keywords" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 3 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.keywords" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.core.launchConfigurationTypes" not registered, but
> > plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
> > galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
> > MANIFEST.MF refers to it.
> > 08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.core.launchConfigurationTypes" not registered, but
> > plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
> > galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
> > MANIFEST.MF refers to it.
> > 3 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.debug.core.launchConfigurationTypes" not registered, but
> > plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
> > galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
> > MANIFEST.MF refers to it.
> > 08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.core.launchConfigurationComparators" not
> > registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
> > download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
> > 308/1/.cp/META-INF/MANIFEST.MF refers to it.
> > 08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.core.launchConfigurationComparators" not
> > registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
> > download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
> > 308/1/.cp/META-INF/MANIFEST.MF refers to it.
> > 4 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.debug.core.launchConfigurationComparators" not
> > registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
> > download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
> > 308/1/.cp/META-INF/MANIFEST.MF refers to it.
> > 08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 4 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 5 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
> > but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
> > eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
> > INF/MANIFEST.MF refers to it.
> > 08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.newWizards" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.newWizards" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 5 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.newWizards" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.popupMenus" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.popupMenus" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 7 [main] WARN DataNucleus.Plugin  - Extension Point
> > "org.eclipse.ui.popupMenus" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.actionSets" not registered, but plugin
> > "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
> > configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
> > refers to it.
> > 08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
> > "org.eclipse.ui.actionSets" not registered, but plugin
> > "org.eclipse.jdt.junit"
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to