On 10/27/2012 07:20 PM, Laura Schmidt wrote:
> On 10/27/2012 11:10 PM, Arved Sandstrom wrote:
>> On 10/27/2012 12:39 PM, Laura Schmidt wrote:
>
>> Yet, with the exception of completely unsupported servers/versions, if
>> it's on the list of server adapters you can make it work - ultimately.
>> And any combinations thereof.
>
> Well, it worked out of the box when I created it. There was nothing
> special about it.
No, there wouldn't have been. But with an application as complicated as
Eclipse there have got to be a whole bunch of buggy execution paths. And
sooner or later the complicated state machine that backs up the GUI will
get out of whack...which is why you had buttons that showed up disabled
when they ought to have been enabled.
If IDE restarts or trying different means to the same end don't work,
then cleaning ferociously is sometimes the only option.
I tend to avoid using Eclipse (or NB) for certain things, like
complicated version control tasks, some SOAP web services tasks, WAR/EAR
deployment etc. Too many problems over the years. YMMV.
>> My feeling is that you may have to take things back to a clean slate.
>> Download and unzip a new Eclipse Juno if you have to, it's not painful
>> these days.
>
> After of your posting, I reinstalled eclipse, but without effects. When
> I then first started eclipse, I found an old Tomcat 6 runtime
> definition. So I assume that all this stuff must be stored within the
> workspace.
>
> So creating a new workspace would be another idea. But I don't want to
> make all the editor settings again (and I don't know how to
> export/import them).
I tend to use the vanilla settings myself (with the exception of a
handful of settings like "show line numbers" that are trivial). I'm
aware though of the generalities if Eclipse settings export/import.
If you look at IDE options under Preferences, e.g. Java->Code Style
options, you'll see that a number of option groups have import/export
capability.
Also, while this is dated
(
http://eclipse.dzone.com/news/create...se-workspace-w) I suspect
that experimentation along the lines of the article will work for Indigo
or Juno also. This is probably more what you want.
> Another point is: I am able to successfully create a new tomcat server
> when I install eclipse as root. #-)
>
>> A note regarding deployment options: don't forget that you always have
>> IDE options to export work as WAR's, JAR's or EAR's.
>
> Yes, this is what I do when I deploy things onto the productive server.
> But for a quick test I always used "Run -> Run on server".
>
> Laura
I agree that for Tomcat in particular this is nice to be able to do.
AHS