Home » Language IDEs » Java Development Tools (JDT) » Issues Running Gamma/Beck Code
Issues Running Gamma/Beck Code [message #124361] |
Wed, 03 December 2003 18:58  |
Eclipse User |
|
|
|
Originally posted by: robwms63.yahoo.com
I've been typing in the code from the book. Using Eclipse on a Mac G5
running 10.3 ("Panther"). Right away, with the Hello, World plugin, when
I attempted to run it under 2.2, Eclipse locked up. I tried 3M4 and that
worked so I stuck with that. Was doing fine until now, and the following
issues:
1. I upgraded to 3M5 and now it says that I have 75 duplicates in my
imported plugins. I followed the procedure in the book of going in and
reimporting the plugins and told them to replace the existing ones.
2. I'm trying to use another project with my own code inside the version
of Eclipse that comes up to run the plugin. It says it can't build
because the project org.junit is not present. When I go File/Import and
add it, the whole environment wigs out, marking all the package
statements on my code as wrong, saying that the it was expecting
/src/com... etc.
3. When I run the plugin (for running tests), it craps out saying that
it couldn't connect to the socket. The SocketUtil class is also
complaining about a deprecated method (findUnusedLocalPort).
Just wondering if anyone else has hit these issues. Thought at first
that it was because I was using a different version but now I'm not so
sure about that.
Thanks,
Rob Williams
|
|
|
Re: Issues Running Gamma/Beck Code [message #124486 is a reply to message #124361] |
Thu, 04 December 2003 10:37   |
Eclipse User |
|
|
|
Fixed most of this, thusly:
Rob Williams wrote:
> I've been typing in the code from the book. Using Eclipse on a Mac G5
> running 10.3 ("Panther"). Right away, with the Hello, World plugin, when
> I attempted to run it under 2.2, Eclipse locked up. I tried 3M4 and that
> worked so I stuck with that. Was doing fine until now, and the following
> issues:
>
> 1. I upgraded to 3M5 and now it says that I have 75 duplicates in my
> imported plugins. I followed the procedure in the book of going in and
> reimporting the plugins and told them to replace the existing ones.
Still getting this.
> 2. I'm trying to use another project with my own code inside the version
> of Eclipse that comes up to run the plugin. It says it can't build
> because the project org.junit is not present. When I go File/Import and
> add it, the whole environment wigs out, marking all the package
> statements on my code as wrong, saying that the it was expecting
> /src/com... etc.
Fixed this. Think this was a consequence of using cvs 1.11 ("Halibut")
which comes w/OS X. I built 1.19 and zapped the project then pulled it
from the repository and it's working fine.
> 3. When I run the plugin (for running tests), it craps out saying that
> it couldn't connect to the socket. The SocketUtil class is also
> complaining about a deprecated method (findUnusedLocalPort).
Still getting this.
> Just wondering if anyone else has hit these issues. Thought at first
> that it was because I was using a different version but now I'm not so
> sure about that.
>
> Thanks,
> Rob Williams
>
|
|
|
Re: Issues Running Gamma/Beck Code [message #125570 is a reply to message #124486] |
Tue, 09 December 2003 12:54   |
Eclipse User |
|
|
|
Originally posted by: Andre_Weinand.oti.com
On 4.12.2003 16:37 Uhr, in article bqnk91$jj6$1@eclipse.org, "Rob Williams"
<rob.williams@ontometrix.com> wrote:
> Fixed most of this, thusly:
>
> Rob Williams wrote:
>> I've been typing in the code from the book. Using Eclipse on a Mac G5
>> running 10.3 ("Panther"). Right away, with the Hello, World plugin, when
>> I attempted to run it under 2.2, Eclipse locked up. I tried 3M4 and that
>> worked so I stuck with that. Was doing fine until now, and the following
>> issues:
>>
>> 1. I upgraded to 3M5 and now it says that I have 75 duplicates in my
>> imported plugins. I followed the procedure in the book of going in and
>> reimporting the plugins and told them to replace the existing ones.
>
> Still getting this.
Open the launch configuration dialog for your launch config ("Run.." menu
under Running man toolbar item), on right hand side choose "Plugin and
Fragments" tab, check last radiobox ("Choose plugins and ..."), Collapse
first tree node ("Workspace plugins"), uncheck second tree node ("External
plugins").
>
>> 2. I'm trying to use another project with my own code inside the version
>> of Eclipse that comes up to run the plugin. It says it can't build
>> because the project org.junit is not present. When I go File/Import and
>> add it, the whole environment wigs out, marking all the package
>> statements on my code as wrong, saying that the it was expecting
>> /src/com... etc.
>
> Fixed this. Think this was a consequence of using cvs 1.11 ("Halibut")
> which comes w/OS X. I built 1.19 and zapped the project then pulled it
> from the repository and it's working fine.
I believe OS X comes with cvs 1.10.x which doesn't work with Eclipse.
Yes, you have to get/build a newer version.
--andre
|
|
|
Re: Issues Running Gamma/Beck Code [message #125648 is a reply to message #125570] |
Tue, 09 December 2003 14:17   |
Eclipse User |
|
|
|
Andre Weinand wrote:
> On 4.12.2003 16:37 Uhr, in article bqnk91$jj6$1@eclipse.org, "Rob Williams"
> <rob.williams@ontometrix.com> wrote:
>
>
>>Fixed most of this, thusly:
>>
>>Rob Williams wrote:
>>
>>>I've been typing in the code from the book. Using Eclipse on a Mac G5
>>>running 10.3 ("Panther"). Right away, with the Hello, World plugin, when
>>>I attempted to run it under 2.2, Eclipse locked up. I tried 3M4 and that
>>>worked so I stuck with that. Was doing fine until now, and the following
>>>issues:
>>>
>>>1. I upgraded to 3M5 and now it says that I have 75 duplicates in my
>>>imported plugins. I followed the procedure in the book of going in and
>>>reimporting the plugins and told them to replace the existing ones.
>>
>>Still getting this.
>
>
> Open the launch configuration dialog for your launch config ("Run.." menu
> under Running man toolbar item), on right hand side choose "Plugin and
> Fragments" tab, check last radiobox ("Choose plugins and ..."), Collapse
> first tree node ("Workspace plugins"), uncheck second tree node ("External
> plugins").
Thanks. I went in here and External Plug-ins was already unchecked (?).
I finally told Eclipse to stop warning me so at least I'm not getting
stopped each time I run now.
|
|
|
Re: Issues Running Gamma/Beck Code [message #125836 is a reply to message #125570] |
Wed, 10 December 2003 07:43  |
Eclipse User |
|
|
|
Originally posted by: marc.vanwoerkom.fernuni-hagen.de
Hello Andre,
I am writing book reviews of the two available titles from AW's
eclipse series, thus Beck/Gamma "Contributing to eclipse"
and Budinsky et al "eclipse Modeling Framework",
for OSNews
http://www.osnews.com
The publisher was so kind to already supply me with review
copies.
It would be nice to have a small interview (irc chat or
couple of emails) with the authors as well.
So far I managed to contact Frank Budinsky, but I have
not found an email address of Kent Beck or Erich Gamma.
You are mentioned as helping person in the book, could you perhaps
forward my request to either one of the authors?
Regards,
Marc
|
|
|
Goto Forum:
Current Time: Tue Jun 24 10:53:45 EDT 2025
Powered by FUDForum. Page generated in 0.25668 seconds
|