Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Refactor > Rename
Refactor > Rename [message #19464] Mon, 12 May 2003 02:19 Go to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
I try refactor > rename for class, field, method and it don't work.
I don't get Compilation unit,I have nothing in source,nothing in log.
Command do nothing.
What is a problem ?
My system : linux-gtk (rh 8.0), eclipse 2.1

regards
Haris Peco
Re: Refactor > Rename [message #19511 is a reply to message #19464] Mon, 12 May 2003 07:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbernatsky.ukr.net

Hello.

snpe wrote:
> I try refactor > rename for class, field, method and it don't work.
> I don't get Compilation unit,I have nothing in source,nothing in log.
> Command do nothing.
> What is a problem ?
> My system : linux-gtk (rh 8.0), eclipse 2.1
I've found the same behaviour when I compiled eclipse from sources with
javac target '1.3' (this is default for javac from j2sdk 1.4.1) or '1.4'.

best regards,
Stanislav V. Bernatsky
Re: Refactor > Rename [message #19908 is a reply to message #19511] Mon, 12 May 2003 18:06 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
I compile eclipse from source (CVS) too.
I try window xp build (cvs build 2.1).
Refactor -> rname don't work, too

regards
Haris Peco
Stanislav V. Bernatsky wrote:

> Hello.
>
> snpe wrote:
>> I try refactor > rename for class, field, method and it don't work.
>> I don't get Compilation unit,I have nothing in source,nothing in log.
>> Command do nothing.
>> What is a problem ?
>> My system : linux-gtk (rh 8.0), eclipse 2.1
> I've found the same behaviour when I compiled eclipse from sources with
> javac target '1.3' (this is default for javac from j2sdk 1.4.1) or '1.4'.
>
> best regards,
> Stanislav V. Bernatsky
Re: Refactor > Rename [message #19954 is a reply to message #19908] Mon, 12 May 2003 15:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> Refactor -> rname don't work, too

can you try searching for references (to the element that you'd like to rename) and tell me if that works
thanks

a.
--
eclipse.org
Re: Refactor > Rename [message #20039 is a reply to message #19954] Mon, 12 May 2003 18:27 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> Refactor -> rname don't work, too
>
> can you try searching for references (to the element that you'd like to
> rename) and tell me if that works thanks
>

I try Search - references - workspace for this field
I get all reference for this field.It works.
I don't know if You want that.

regards
Haris Peco
Re: Refactor > Rename [message #20195 is a reply to message #19954] Mon, 12 May 2003 20:24 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> Refactor -> rname don't work, too
>
> can you try searching for references (to the element that you'd like to
> rename) and tell me if that works thanks
>

Hello Adam,
If I try rename when have bad selection (nothing select or complete line
select) I get error

regards
Haris Peco
Re: Refactor > Rename [message #20813 is a reply to message #20195] Tue, 13 May 2003 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> Hello Adam,
> If I try rename when have bad selection (nothing select or complete line
> select) I get error

what kind of error?
can you post a simple example here?
a.
--
eclipse.org
Re: Refactor > Rename [message #20861 is a reply to message #20813] Tue, 13 May 2003 13:31 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
If I select nothing and call refactor -> rename I get dialog with error :

Operation unavailable on the current selection.
Select a java project, source folder, resource package,
completion unit, type , field, method, parameter or a local variable.

If I select a java project or anything I get nothing.
It haven't message, error ...

I am try on win xp (cvs eclipse 2.1), too.It is same.

regards
Haris Peco
Adam Kiezun wrote:

>> Hello Adam,
>> If I try rename when have bad selection (nothing select or complete
>> line
>> select) I get error
>
> what kind of error?
> can you post a simple example here?
> a.
> --
> eclipse.org
Re: Refactor > Rename [message #20886 is a reply to message #20861] Tue, 13 May 2003 11:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> If I select nothing and call refactor -> rename I get dialog with error :
>
> Operation unavailable on the current selection.
> Select a java project, source folder, resource package,
> completion unit, type , field, method, parameter or a local variable.

then i guess that's expected if you select something that is not
a reference to anything that could be renamed.

> If I select a java project or anything I get nothing.
> It haven't message, error ...

do you mean that you cannot rename a java project?

a.
--
eclipse.org
Re: Refactor > Rename [message #20892 is a reply to message #20886] Tue, 13 May 2003 14:44 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> If I select nothing and call refactor -> rename I get dialog with error :
>>
>> Operation unavailable on the current selection.
>> Select a java project, source folder, resource package,
>> completion unit, type , field, method, parameter or a local variable.
>
> then i guess that's expected if you select something that is not
> a reference to anything that could be renamed.
>
>> If I select a java project or anything I get nothing.
>> It haven't message, error ...
>
> do you mean that you cannot rename a java project?
>
yes, I can't rename java project, field, class, method.
I can rename nothing

regards
Haris Peco
Re: Refactor > Rename [message #21323 is a reply to message #20892] Tue, 13 May 2003 12:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> yes, I can't rename java project, field, class, method.
> I can rename nothing

even when you select a field in the outline view?
or a package in the package explorer?
what do you get then? what error?

a.
--
eclipse.org
Re: Refactor > Rename [message #21337 is a reply to message #21323] Tue, 13 May 2003 15:13 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> yes, I can't rename java project, field, class, method.
>> I can rename nothing
>
> even when you select a field in the outline view?
> or a package in the package explorer?
> what do you get then? what error?
>
Yes.I select a field in the outline or a package or source and refactor
->rename
I get nothing, no error, no log, nothing

regards
Haris Peco
Re: Refactor > Rename [message #21427 is a reply to message #21323] Tue, 13 May 2003 18:07 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Hi Adam,
Can You refactor -> rename and if You can what is Your OS and eclipse
version
regards
Haris Peco
Adam Kiezun wrote:

>> yes, I can't rename java project, field, class, method.
>> I can rename nothing
>
> even when you select a field in the outline view?
> or a package in the package explorer?
> what do you get then? what error?
>
> a.
> --
> eclipse.org
Re: Refactor > Rename [message #21434 is a reply to message #21427] Tue, 13 May 2003 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

i can now and i've always been able to

now, i'm running the I-build 20030507+latest jdt plugins+latest text plugins

but it did work for me (and everybody else i know) in any stable or release build of eclipse 1.0, 2.0 or 2.1
my os is winXp

a.
--
eclipse.org
Re: Refactor > Rename [message #21456 is a reply to message #21434] Tue, 13 May 2003 18:36 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

> i can now and i've always been able to
>
> now, i'm running the I-build 20030507+latest jdt plugins+latest text
> plugins
>
> but it did work for me (and everybody else i know) in any stable or
> release build of eclipse 1.0, 2.0 or 2.1 my os is winXp
>
> a.

Is it possible that any plugin crash refactor - I have next plugins (except
default) :
xml buddy 0.2.8
assisi v4e 1.0.37
emf 1.0.2
gef 2.1.0
metrics 1.0.10
jboss ide 1.0.2
dbedit 0.9.9
lomboz j2ee 0.
eclipseuml 1.2.1
CodeLogic 1.4.0

thanks
Haris Peco
Re: Refactor > Rename [message #21545 is a reply to message #21456] Tue, 13 May 2003 16:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> Is it possible that any plugin crash refactor - I have next plugins (except
> default) :

it sure is
i never used any of these plugins, though, so i have no idea

a.
--
eclipse.org
Re: Refactor > Rename [message #21632 is a reply to message #21545] Tue, 13 May 2003 19:11 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> Is it possible that any plugin crash refactor - I have next plugins
>> (except default) :
>
> it sure is
> i never used any of these plugins, though, so i have no idea

I delete all plugins from plugins and features dir, delete workspace and try
again with one class like
public class hello {
}
I select hello class and try :
refactor - move work
refactor - extract interface work
refactor - use supertype where possible work
refactor - change method signature work
refactor - push down work
refactor - push up work
refactor - inline - work
refactor - rename don't work again

All except rename work.

Can I try anuthing else.

regards
Haris Peco
Re: Refactor > Rename [message #21767 is a reply to message #21337] Tue, 13 May 2003 17:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

I see *absolutely* the same behaviour as "snpe" described in this thread on
several University computers which all run Eclipse 2.1 final under W2K.

Valentino

"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9qplh$nmj$1@rogue.oti.com...
> Adam Kiezun wrote:
>
> >> yes, I can't rename java project, field, class, method.
> >> I can rename nothing
> >
> > even when you select a field in the outline view?
> > or a package in the package explorer?
> > what do you get then? what error?
> >
> Yes.I select a field in the outline or a package or source and refactor
> ->rename
> I get nothing, no error, no log, nothing
>
> regards
> Haris Peco
Re: Refactor > Rename [message #21812 is a reply to message #21545] Tue, 13 May 2003 17:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

NO, it isn't! We don't have any third party plugins installed on our
University dev machines, just Eclipse 2.1 and our own actual plugin projects
which we have under development. - BTW, at home on my own two computers
(same OS same Eclipse version with plenty third party addon plugins...) I
don't get this behahaviour.


Hmmm, maybe for the Univerity computers it has something todo with access
rights or the like (I don't really know, just a guess into the blue), or
Eclipse makes somewhere some broken entry which yields any future rename
usage...? Absolutely strage related to this is, that there is always *no*
error message in the error log, console or somewhere else. - It just doesn't
do nothing in these strange and odd "rename behaviour" cases!

Valentino


"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
Newsbeitrag news:b9r5ou$4h2$1@rogue.oti.com...
> > Is it possible that any plugin crash refactor - I have next plugins
(except
> > default) :
>
> it sure is
> i never used any of these plugins, though, so i have no idea
>
> a.
> --
> eclipse.org
>
>
Re: Refactor > Rename [message #21903 is a reply to message #21812] Tue, 13 May 2003 21:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.kiezun.gmx.net.remove

Valentino, Haris

do you guys have a small workspace in which you can reproduce that behavior?
if so, this bug would definitely be Priority 1 for the 2.1.1 release (june/july)

a.
--
eclipse.org
Re: Refactor > Rename [message #21948 is a reply to message #21903] Wed, 14 May 2003 00:26 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

> Valentino, Haris
>
> do you guys have a small workspace in which you can reproduce that
> behavior? if so, this bug would definitely be Priority 1 for the 2.1.1
> release (june/july)
>

I don't understand.I delete all plugins, and workspace dir, start new
eclipse (with new enviroment), add project and class
class Hello {
}

I don't rename class Hello.I can another refactoring, but not rename

Question for Valentino :
Are You build eclipse from CVS ?

regards
Haris Peco
Re: Refactor > Rename [message #22165 is a reply to message #19908] Wed, 14 May 2003 08:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbernatsky.ukr.net

Hello again.

snpe wrote:
> I compile eclipse from source (CVS) too.
> I try window xp build (cvs build 2.1).
> Refactor -> rname don't work, too
Which j2sk did you use for compiling?
Here are my steps to reproduce the bug.
1) get sources from cvs;
2) get build scripts from eclipse download site;
3) replace '<javac ' to '<javac target="1.3"' in build.xml files;
4) comlipe eclipse;
5) run eclipse and try to rename something. -> you couldn't do it.
But if you replace '<javac ' to '<javac target="1.1"' in 3) then you'll be
able to rename anything.

best regards,
Stanislav V. Bernatsky
Re: Refactor > Rename [message #22289 is a reply to message #21903] Wed, 14 May 2003 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

Adam, I will not be before next monday in the University, so you will have
to wait till monday for that. Next monday I can then check the Java SDK
version on one of those odd behaving machines and try to send you a
minimalistic workspace which might indicate what we are talking about in a
reproducable manner (well, I don't really know if it is reproducable from a
workspace, but maybe you can see enough out of this?).

Valentino


"Adam Kiezun" <adam.kiezun@gmx.net.remove> schrieb im Newsbeitrag
news:b9rom9$luq$1@rogue.oti.com...
> Valentino, Haris
>
> do you guys have a small workspace in which you can reproduce that
behavior?
> if so, this bug would definitely be Priority 1 for the 2.1.1 release
(june/july)
>
> a.
> --
> eclipse.org
>
>
Re: Refactor > Rename [message #22964 is a reply to message #22165] Wed, 14 May 2003 17:37 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Stanislav V. Bernatsky wrote:

> Hello again.
>
> snpe wrote:
>> I compile eclipse from source (CVS) too.
>> I try window xp build (cvs build 2.1).
>> Refactor -> rname don't work, too
> Which j2sk did you use for compiling?
> Here are my steps to reproduce the bug.
> 1) get sources from cvs;
> 2) get build scripts from eclipse download site;
> 3) replace '<javac ' to '<javac target="1.3"' in build.xml files;
> 4) comlipe eclipse;
> 5) run eclipse and try to rename something. -> you couldn't do it.
> But if you replace '<javac ' to '<javac target="1.1"' in 3) then you'll be
> able to rename anything.
>

I use java 1.4.0 on WinXp and 1.4.1 on linux.
I don't rename javac in build scripts (javac target=1.3) and this is a
problem, probably.
Thanks!

Adam ?

regards
Haris Peco
Re: Refactor > Rename [message #23049 is a reply to message #22165] Wed, 14 May 2003 17:56 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Stanislav V. Bernatsky wrote:

> Hello again.
>
> snpe wrote:
>> I compile eclipse from source (CVS) too.
>> I try window xp build (cvs build 2.1).
>> Refactor -> rname don't work, too
> Which j2sk did you use for compiling?
> Here are my steps to reproduce the bug.
> 1) get sources from cvs;
> 2) get build scripts from eclipse download site;
> 3) replace '<javac ' to '<javac target="1.3"' in build.xml files;
> 4) comlipe eclipse;
> 5) run eclipse and try to rename something. -> you couldn't do it.
> But if you replace '<javac ' to '<javac target="1.1"' in 3) then you'll be
> able to rename anything.

Hi Stanislav,
I have yet any problem with Eclipse.It is maybe same reason.
Update manager don't work - I haven't directory for update and I can't add
any dir. - I get NullException.
Is it same problem (jdk 1.1) ?

Thanks
Haris Peco
Re: Refactor > Rename [message #23093 is a reply to message #22964] Wed, 14 May 2003 15:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

> Adam ?

guys, do you also see the problem if you use the normal, pre-build eclipse distribution?
a.
--
eclipse.org
Re: Refactor > Rename [message #23235 is a reply to message #23093] Wed, 14 May 2003 18:56 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Adam Kiezun wrote:

>> Adam ?
>
> guys, do you also see the problem if you use the normal, pre-build eclipse
> distribution? a.
> --
> eclipse.org

No, I don't use pre-build eclipse.
I can't download eclipse every times from begining
I upgrade eclipse with CVS and next time download build scripts
and call 'build os=linux ...'.
I download eclipse last build M20030507 and I have same problem with
refactor -> rename.
I see that build id (from help about) is same for eclipse 2.1 final
and M20030507.I don't know is it a problem.
If I must download every times from begining, why cvs ?
If eclipse cvs don't work then a problem is cvs, but I don't think so.

regards
Haris Peco
Re: Refactor > Rename [message #23424 is a reply to message #21948] Wed, 14 May 2003 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9rq32$mrh$1@rogue.oti.com...
> Adam Kiezun wrote:
>
> ...
> Question for Valentino :
> Are You build eclipse from CVS ?

Well, I believe you mean with "You build Eclipse from CVS", if I use the
Eclipse sources from an eclipse.org cvs server or the like (?).

NO, I don't. - I use instead the Eclipse "jdt.ui" sources which are coming
along with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
with sources into my dev workspace and the I'am recompiling these. The
reason I usually tend to use a source import of the whole "jdt.ui" inside my
workspace is, that I'am adapting/combining foreign source model refactoring
plugins with the standard Eclipse Java refactorings which come along inside
the jdt.ui.

However, I now always have the effect, that after importing the Eclipse
"jdt.ui" plugin sources in the above described way (even I leave the jdt.ui
clean/unmodified by me), the rename refactorings don't work inside any
"runtime-workbench" launch. All other refactorings in contrast seem to work
instead. - I can only fix this odd "runtime-workbench" rename refactoring
behaviour, by deleting the imported "jdt.ui" and it's sources completely
from the dev workspace. Since thus the next time when the runtime-workspace
is launched it uses again the default Eclipse deployed "jdt.ui" plugin from
the Eclipse plugin directory and not the imported and deleted stuff I had
before in the workspace.


Valentino
Re: Refactor > Rename [message #23467 is a reply to message #23093] Wed, 14 May 2003 17:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

Yes, I use instead the Eclipse "jdt.ui" sources which are coming along with
the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin with
sources into my dev workspace and the I'am recompiling these. The reason I
usually tend to use a source import of the whole "jdt.ui" inside my
workspace is, that I'am adapting/combining foreign source model refactoring
plugins with the standard Eclipse Java refactorings which come along inside
the jdt.ui.

However, I now always have the effect, that after importing the Eclipse
"jdt.ui" plugin sources in the above described way (even I leave the jdt.ui
clean/unmodified by me), the rename refactorings don't work inside any
"runtime-workbench" launch. All other refactorings in contrast seem to work
instead. - I can only fix this odd "runtime-workbench" rename refactoring
behaviour, by deleting the imported "jdt.ui" and it's sources completely
from the dev workspace. Since thus the next time when the runtime-workspace
is launched it uses again the default Eclipse deployed "jdt.ui" plugin from
the Eclipse plugin directory and not the imported and deleted stuff I had
before in the workspace.


Valentino


"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
> > Adam ?
>
> guys, do you also see the problem if you use the normal, pre-build eclipse
distribution?
> a.
> --
> eclipse.org
>
>
>
Re: Refactor > Rename [message #23765 is a reply to message #23467] Wed, 14 May 2003 23:09 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
It is a problem that jdt.ui isn't compatible with jdk 1.3+

Thanks
Haris Peco
Valentino Kyriakides wrote:

> Yes, I use instead the Eclipse "jdt.ui" sources which are coming along
> with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin with
> sources into my dev workspace and the I'am recompiling these. The reason I
> usually tend to use a source import of the whole "jdt.ui" inside my
> workspace is, that I'am adapting/combining foreign source model
> refactoring plugins with the standard Eclipse Java refactorings which come
> along inside the jdt.ui.
>
> However, I now always have the effect, that after importing the Eclipse
> "jdt.ui" plugin sources in the above described way (even I leave the
> jdt.ui clean/unmodified by me), the rename refactorings don't work inside
> any "runtime-workbench" launch. All other refactorings in contrast seem to
> work instead. - I can only fix this odd "runtime-workbench" rename
> refactoring behaviour, by deleting the imported "jdt.ui" and it's sources
> completely from the dev workspace. Since thus the next time when the
> runtime-workspace is launched it uses again the default Eclipse deployed
> "jdt.ui" plugin from the Eclipse plugin directory and not the imported and
> deleted stuff I had before in the workspace.
>
>
> Valentino
>
>
> "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
> Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
>> > Adam ?
>>
>> guys, do you also see the problem if you use the normal, pre-build
>> eclipse
> distribution?
>> a.
>> --
>> eclipse.org
>>
>>
>>
Re: Refactor > Rename [message #23809 is a reply to message #23765] Wed, 14 May 2003 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

AFAIK we only have JDK 1.4 versions on those computers in the University,
even I'am not absolutely sure for this, so I will check this on monday when
I'am again there. - However, at home I use Eclipse 2.1 final on two
computers, both running W2K and the JDK 1.4.1 and here I don't have these
problems. At home it works so far.

Valentino

"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9u9uj$qq9$1@rogue.oti.com...
> It is a problem that jdt.ui isn't compatible with jdk 1.3+
>
> Thanks
> Haris Peco
> Valentino Kyriakides wrote:
>
> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming along
> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
with
> > sources into my dev workspace and the I'am recompiling these. The reason
I
> > usually tend to use a source import of the whole "jdt.ui" inside my
> > workspace is, that I'am adapting/combining foreign source model
> > refactoring plugins with the standard Eclipse Java refactorings which
come
> > along inside the jdt.ui.
> >
> > However, I now always have the effect, that after importing the Eclipse
> > "jdt.ui" plugin sources in the above described way (even I leave the
> > jdt.ui clean/unmodified by me), the rename refactorings don't work
inside
> > any "runtime-workbench" launch. All other refactorings in contrast seem
to
> > work instead. - I can only fix this odd "runtime-workbench" rename
> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
sources
> > completely from the dev workspace. Since thus the next time when the
> > runtime-workspace is launched it uses again the default Eclipse deployed
> > "jdt.ui" plugin from the Eclipse plugin directory and not the imported
and
> > deleted stuff I had before in the workspace.
> >
> >
> > Valentino
> >
> >
> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
> >> > Adam ?
> >>
> >> guys, do you also see the problem if you use the normal, pre-build
> >> eclipse
> > distribution?
> >> a.
> >> --
> >> eclipse.org
> >>
> >>
> >>
>
Re: Refactor > Rename [message #24009 is a reply to message #23049] Thu, 15 May 2003 08:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbernatsky.ukr.net

Hello.
> I have yet any problem with Eclipse.It is maybe same reason.
> Update manager don't work - I haven't directory for update and I can't add
> any dir. - I get NullException.
> Is it same problem (jdk 1.1) ?
I don't know. I rolled back to '<javac target="1.1"' just because it
solved my problems.

Best regards,
Stanislav V. Bernatsky.
Re: Refactor > Rename [message #24073 is a reply to message #23093] Thu, 15 May 2003 08:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbernatsky.ukr.net

Hello, Adam.

Adam Kiezun wrote:
> guys, do you also see the problem if you use the normal, pre-build eclipse
distribution?
Well, as far as I remember, I had no problem with the 2.0 pre-build
eclipse distribution. It was the last one which I downloaded from eclipse
site. Other versions were build from cvs sources.
Now I use 2.1.1 (M20030430) build from cvs source with '<javac
target="1.1"' and 'refactor->rename' works fine.
I'll recompile with '<javac target="1.3"' option and post result a bit
later.

Best regards,
Stanislav Bernatsky.
Re: Refactor > Rename [message #24319 is a reply to message #24073] Thu, 15 May 2003 13:31 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Stanislav Bernatsky wrote:

> Hello, Adam.
>
> Adam Kiezun wrote:
>> guys, do you also see the problem if you use the normal, pre-build
>> eclipse
> distribution?
> Well, as far as I remember, I had no problem with the 2.0 pre-build
> eclipse distribution. It was the last one which I downloaded from eclipse
> site. Other versions were build from cvs sources.
> Now I use 2.1.1 (M20030430) build from cvs source with '<javac
> target="1.1"' and 'refactor->rename' works fine.
> I'll recompile with '<javac target="1.3"' option and post result a bit
> later.

Hi Stanislav,
I try recompile with <javac target="1.1".
I set <javac target="1.1" in build.xml files and :
ant -Dos=linux -Dws=gtk clean
ant -Dos=linux -Dws=gtk compile
ant -Dos=linux -Dws=gtk buildDoc
ant -Dos=linux -Dws=gtk install
Refactor -> rename don't work.I use jdk 1.4.1 for Linux (eclipse M20030507)
Is it enough ?
I try with JDK 1.3.1 (ant javac default target is "1.1" for <= 1.3), but I
get 'out of memory error'

Thanks
Haris Peco
Re: Refactor > Rename [message #24361 is a reply to message #23809] Thu, 15 May 2003 13:32 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Is eclipse from cvs ?

Valentino Kyriakides wrote:

> AFAIK we only have JDK 1.4 versions on those computers in the University,
> even I'am not absolutely sure for this, so I will check this on monday
> when I'am again there. - However, at home I use Eclipse 2.1 final on two
> computers, both running W2K and the JDK 1.4.1 and here I don't have these
> problems. At home it works so far.
>
> Valentino
>
> "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> news:b9u9uj$qq9$1@rogue.oti.com...
>> It is a problem that jdt.ui isn't compatible with jdk 1.3+
>>
>> Thanks
>> Haris Peco
>> Valentino Kyriakides wrote:
>>
>> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming along
>> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
> with
>> > sources into my dev workspace and the I'am recompiling these. The
>> > reason
> I
>> > usually tend to use a source import of the whole "jdt.ui" inside my
>> > workspace is, that I'am adapting/combining foreign source model
>> > refactoring plugins with the standard Eclipse Java refactorings which
> come
>> > along inside the jdt.ui.
>> >
>> > However, I now always have the effect, that after importing the Eclipse
>> > "jdt.ui" plugin sources in the above described way (even I leave the
>> > jdt.ui clean/unmodified by me), the rename refactorings don't work
> inside
>> > any "runtime-workbench" launch. All other refactorings in contrast seem
> to
>> > work instead. - I can only fix this odd "runtime-workbench" rename
>> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
> sources
>> > completely from the dev workspace. Since thus the next time when the
>> > runtime-workspace is launched it uses again the default Eclipse
>> > deployed "jdt.ui" plugin from the Eclipse plugin directory and not the
>> > imported
> and
>> > deleted stuff I had before in the workspace.
>> >
>> >
>> > Valentino
>> >
>> >
>> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
>> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
>> >> > Adam ?
>> >>
>> >> guys, do you also see the problem if you use the normal, pre-build
>> >> eclipse
>> > distribution?
>> >> a.
>> >> --
>> >> eclipse.org
>> >>
>> >>
>> >>
>>
Re: Refactor > Rename [message #24648 is a reply to message #24361] Thu, 15 May 2003 15:10 Go to previous message
Eclipse UserFriend
Originally posted by: vkyr.nospam-ision.net

NO, it's the "jdt.ui" plugin from inside of the Eclipse 2.1 final SDK (and
thus not from the CVS server), which I import with included sources into the
workspace and then recompile for usage in the Eclipse runtime-workspace.

Valentino


"snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
news:b9vsgl$uhh$2@rogue.oti.com...
> Is eclipse from cvs ?
>
> Valentino Kyriakides wrote:
>
> > AFAIK we only have JDK 1.4 versions on those computers in the
University,
> > even I'am not absolutely sure for this, so I will check this on monday
> > when I'am again there. - However, at home I use Eclipse 2.1 final on two
> > computers, both running W2K and the JDK 1.4.1 and here I don't have
these
> > problems. At home it works so far.
> >
> > Valentino
> >
> > "snpe" <snpe@snpe.co.yu> schrieb im Newsbeitrag
> > news:b9u9uj$qq9$1@rogue.oti.com...
> >> It is a problem that jdt.ui isn't compatible with jdk 1.3+
> >>
> >> Thanks
> >> Haris Peco
> >> Valentino Kyriakides wrote:
> >>
> >> > Yes, I use instead the Eclipse "jdt.ui" sources which are coming
along
> >> > with the Eclipse 2.1 SDK. I always import the Eclipse "jdt.ui" plugin
> > with
> >> > sources into my dev workspace and the I'am recompiling these. The
> >> > reason
> > I
> >> > usually tend to use a source import of the whole "jdt.ui" inside my
> >> > workspace is, that I'am adapting/combining foreign source model
> >> > refactoring plugins with the standard Eclipse Java refactorings which
> > come
> >> > along inside the jdt.ui.
> >> >
> >> > However, I now always have the effect, that after importing the
Eclipse
> >> > "jdt.ui" plugin sources in the above described way (even I leave the
> >> > jdt.ui clean/unmodified by me), the rename refactorings don't work
> > inside
> >> > any "runtime-workbench" launch. All other refactorings in contrast
seem
> > to
> >> > work instead. - I can only fix this odd "runtime-workbench" rename
> >> > refactoring behaviour, by deleting the imported "jdt.ui" and it's
> > sources
> >> > completely from the dev workspace. Since thus the next time when the
> >> > runtime-workspace is launched it uses again the default Eclipse
> >> > deployed "jdt.ui" plugin from the Eclipse plugin directory and not
the
> >> > imported
> > and
> >> > deleted stuff I had before in the workspace.
> >> >
> >> >
> >> > Valentino
> >> >
> >> >
> >> > "Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> schrieb im
> >> > Newsbeitrag news:b9tnov$8jt$1@rogue.oti.com...
> >> >> > Adam ?
> >> >>
> >> >> guys, do you also see the problem if you use the normal, pre-build
> >> >> eclipse
> >> > distribution?
> >> >> a.
> >> >> --
> >> >> eclipse.org
> >> >>
> >> >>
> >> >>
> >>
>
Previous Topic:Marker Bar
Next Topic:exception while setting up project
Goto Forum:
  


Current Time: Wed Jun 26 19:36:39 GMT 2024

Powered by FUDForum. Page generated in 0.06000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top