On Tue, Nov 9, 2010 at 9:23 AM, ThomasWrobel <[email protected]> wrote:
> This threads helpfull.
> Do you also have to turn it into a GWT project after importing?
>
> I want to work on the webclient, which is gwt based, but not sure I
> should turn the whole of the imported project into a gwt project or
> not.
> Previously I got it working in the past by doing that...and a lot of
> messing about changing xml files...but I wondered what was the
> "proper" way to set up eclipse after import if you just want to work
> on the webclient, and not the server. (that is ,server is already
> running, so you really just want to compile the webclient each time).
>

Import as a normal java project. Run ant hosted_gwt and use Eclipse
Debug Configuration to launch to a Remote Java Process so you can put
in breakpoints and such. The default port for the remote process is
8001, it is actually the port printed out when you start GWT hosted
mode.

Don't forget that you must also have a server running.

Greetings,
Lennard

>
> On Nov 8, 6:25 pm, James Purser <[email protected]> wrote:
>> You don't need to create a new workspace for wave. You could either do a new
>> project and select the wave-protocol hg as the source or just import from
>> existing source.
>>
>> James
>>
>>
>>
>>
>>
>>
>>
>> On Sun, Nov 7, 2010 at 9:52 AM, Joseph Gentle <[email protected]> wrote:
>> > But... if you do that how do you update eclipse when you update your
>> > repository?
>>
>> > If you say create new project from existing source, you can hg pull,
>> > hg up, and then hit refresh in eclipse and you'll have the latest
>> > source.
>>
>> > -J
>>
>> > On Fri, Nov 5, 2010 at 11:50 PM, Vega <[email protected]> wrote:
>> > > No. You need to create a new workspace. Then you go to File->Import-
>> > >>General->Existing projects into workspace and point to your wave-
>> > > protocol folder (which is created during mercurial clone)
>>
>> > > On Nov 6, 3:47 am, Frédéric Gobry <[email protected]> wrote:
>> > >> 2010/11/6 Joseph Gentle <[email protected]>:
>>
>> > >> > The buttons you want are:
>>
>> > >> > Create new java project -> From existing source -> the wave-protocol
>> > directory.
>>
>> > >> > Everything should then pretty much work.
>>
>> > >> > We'll demo through setting up all the other little bits & pieces at
>> > >> > the conference, if you're coming.
>>
>> > >> Thanks all, the 2 missing bits for me were:
>>
>> > >> -  Create new java project, uncheck "use default location" and put the
>> > >> location of the mercurial repository there instead (rather than trying
>> > >> to pull in the source directories in a new project)
>> > >> -  Ensure Java 1.6 is selected everywhere
>>
>> > >> > -J
>>
>> > >> > 2010/11/5 Frédéric Gobry <[email protected]>:
>> > >> >> Hi,
>>
>> > >> >> I'm not overly familiar with eclipse, and have been struggling to set
>> > >> >> up a project for the wave-protocol source code that would
>> > >> >> successfully:
>>
>> > >> >>  - build
>> > >> >>  - resolve everything: in the best case, I end up with tons of errors
>> > >> >> on @Overrides which eclipse thinks are not part of the interface,
>> > >> >> whereas manual introspection of the corresponding interfaces proves
>> > >> >> the contrary
>> > >> >>  - lets me run unittests from eclipse.
>>
>> > >> >> I tried to build a fresh project based on the ant config, or by
>> > >> >> passing the toplevel source directory to the project assistant. I
>> > >> >> tried building from scratch but failed to incorporate enough
>> > >> >> dependencies, or ended up with duplicates,...
>>
>> > >> >> So, eclipse folks, how do you do that? (because I'm sure you do!)
>>
>> > >> >> Setup:
>> > >> >>  - eclipse Helios SR1
>> > >> >>  - macosx 10.5.8
>>
>> > >> >> Thanks!
>> > >> >> --
>> > >> >> Frédéric
>>
>> > >> >> --
>> > >> >> 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%2bunsubscr...@goog
>> >  legroups.com>
>> > .
>> > >> >> For more options, visit this group athttp://
>> > 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%2bunsubscr...@goog
>> >  legroups.com>
>> > .
>> > >> > For more options, visit this group athttp://
>> > groups.google.com/group/wave-protocol?hl=en.
>>
>> > >> --
>> > >> Frédéric
>>
>> > > --
>> > > 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%2bunsubscr...@goog
>> >  legroups.com>
>> > .
>> > > 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%2bunsubscr...@goog
>> >  legroups.com>
>> > .
>> > 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.
>
>

-- 
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.

Reply via email to