Importing into eclipse seems to work fine now. I think the difference is that this time I ran "ant" before import instead of just "ant test". I'm not sure exactly which ant targets need to be run (besides gen_gxp) in order for the eclipse import to work, but I'd like to know.
Anyway, thanks for the help, looks like it was a pebkac problem :-) -Tad On Fri, Nov 19, 2010 at 11:17 PM, Alex North <[email protected]> wrote: > That repo will be gone in a couple of days if I have anything to do with > it, so hang tight :) > > > On 19 November 2010 23:08, Joseph Gentle <[email protected]> wrote: > >> Yeah, they renamed the 'Create from existing source' option to the >> confusingly named '[don't] use default location'. The libraries >> repository worked fine for me when I selected that and specified the >> /wave-protocol-libraries directory. >> >> What errors are you getting? Did you run ant first? (I'm not sure if >> you need to for the libraries repository.) Maybe, did you instead >> specify the /wave-protocol-libraries/src instead? >> >> -J >> >> >> On Sat, Nov 20, 2010 at 3:13 AM, Tad Glines <[email protected]> wrote: >> > I don't see any "Create from existing source" option. I do see a "Java >> > Project from Existing Ant Buildfile". >> > >> > I did try creating a Java Project and then unchecking "Use default >> location" >> > on the first wizard page and setting the location to be the root of the >> > library clone. That produced similar results to using the project >> template. >> > >> > I should mention that I'm using Eclipse 3.6 (Helios). >> > >> > -Tad >> > >> > On Fri, Nov 19, 2010 at 10:43 AM, Alex North <[email protected]> wrote: >> >> >> >> Sigh. Possibly there's an issue related to the two different ways of >> >> setting up Eclipse projects. I always create a new "Java Project" then >> >> "Create from existing source", point at my checkout, and everything >> just >> >> works. >> >> Can you try that? I'm aware that there's confusion over the right way >> to >> >> create the project and we need to sort out a correct way. >> >> >> >> On 19 November 2010 10:38, Tad Glines <[email protected]> wrote: >> >>> >> >>> Starting with a clean clone, I copy the .project_template file to >> >>> .project and rename the project in that file. >> >>> Then I create new workspace, and import the project using "Existing >> >>> Projects into Workspace" >> >>> After the usual Eclipse churn, it report about 557 errors all of the >> type >> >>> "GWT problems marker" >> >>> >> >>> Most of the errors relate to import of "junit.framework.TestCase" or >> >>> "com.google.gwt.junit.client.GWTTestCase". >> >>> >> >>> But one specific example is that in >> >>> "org.waveprotocol.wave.client.scheduler.testing.FakeSimpleTimer.java" >> >>> Eclipse puts its red squiggly under SimplerTimer and recommends adding >> an >> >>> import of "org.waveprotocol.wave.client.scheduler.Scheduler" to >> >>> "org.waveprotocol.wave.client.scheduler.testing.Testing.gwt.xml". >> >>> >> >>> -Tad >> >>> >> >>> On Fri, Nov 19, 2010 at 10:12 AM, Alex North <[email protected]> >> wrote: >> >>>> >> >>>> That sounds odd, I don't recall any errors. I've been working in >> >>>> libraries recently. >> >>>> Can you send some more detail? >> >>>> >> >>>> On 19 November 2010 09:37, Tad Glines <[email protected]> wrote: >> >>>>> >> >>>>> So, I noticed that when I load the libraries project into Eclipse >> >>>>> there's a lot of errors reported. >> >>>>> Is this expected? It seems like all of them are related to missing >> >>>>> imports in test related gwt.xml files. >> >>>>> Short of fixing all the imports, is there anything simpler to be >> done >> >>>>> to clear up the "errors" Eclipse is reporting. >> >>>>> >> >>>>> -Tad >> >>>>> >> >>>>> -- >> >>>>> You received this message because you are subscribed to the Google >> >>>>> Groups "Wave Protocol" group. >> >>>>> To post to this group, send email to [email protected] >> . >> >>>>> To unsubscribe from this group, send email to >> >>>>> [email protected]<wave-protocol%[email protected]> >> . >> >>>>> For more options, visit this group at >> >>>>> http://groups.google.com/group/wave-protocol?hl=en. >> >>>> >> >>>> -- >> >>>> You received this message because you are subscribed to the Google >> >>>> Groups "Wave Protocol" group. >> >>>> To post to this group, send email to [email protected]. >> >>>> To unsubscribe from this group, send email to >> >>>> [email protected]<wave-protocol%[email protected]> >> . >> >>>> For more options, visit this group at >> >>>> http://groups.google.com/group/wave-protocol?hl=en. >> >>> >> >>> -- >> >>> You received this message because you are subscribed to the Google >> Groups >> >>> "Wave Protocol" group. >> >>> To post to this group, send email to [email protected]. >> >>> To unsubscribe from this group, send email to >> >>> [email protected]<wave-protocol%[email protected]> >> . >> >>> For more options, visit this group at >> >>> http://groups.google.com/group/wave-protocol?hl=en. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> Groups >> >> "Wave Protocol" group. >> >> To post to this group, send email to [email protected]. >> >> To unsubscribe from this group, send email to >> >> [email protected]<wave-protocol%[email protected]> >> . >> >> For more options, visit this group at >> >> http://groups.google.com/group/wave-protocol?hl=en. >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Wave Protocol" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]<wave-protocol%[email protected]> >> . >> > For more options, visit this group at >> > http://groups.google.com/group/wave-protocol?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Wave Protocol" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<wave-protocol%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/wave-protocol?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
