Eclipse Refactor/rename Linux [message #79833] |
Sat, 21 June 2003 19:26  |
Eclipse User |
|
|
|
Originally posted by: unreallity.mail.ru
Hi there,
Can someone help me? I am working with the debian package of eclipse here.
My problem is, that Renaming (on refactor) is not working... i cant rename
functions, classes and so on.
Can someone help me?
Greetings
mc
|
|
|
|
|
|
|
Re: Eclipse Refactor/rename Linux [message #80092 is a reply to message #80063] |
Sun, 22 June 2003 11:20   |
Eclipse User |
|
|
|
You try next (with jdk 1.4) :
--begin-------------------------------------------
---
org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java.orig
Thu
May 15 08:42:35 2003
+++ org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java
Fri
May 16 12:16:17 2003
@@ -113,7 +113,7 @@
protected void run(IStructuredSelection selection) {
if (fRenameJavaElement.isEnabled())
- fRenameJavaElement.run(selection);
+
((SelectionDispatchAction)fRenameJavaElement).run((IStructur edSelection)selection);
if (fRenameResource != null && fRenameResource.isEnabled())
fRenameResource.run(selection);
}
Recompile eclipse
regards
Haris Peco
mc wrote:
> Okay.. i have found the libstdc++, but builpackage
> still dies with:
>
> root@DarkStar-Debian:~/eclipse-2.1# dpkg-buildpackage -uc -b -rfakeroot
> dpkg-buildpackage: source package is eclipse
> dpkg-buildpackage: source version is 2.1-5
> dpkg-buildpackage: source maintainer is Takashi Okamoto <tora@debian.org>
> dpkg-buildpackage: host architecture is i386
> fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -rf pre-install build-java-stamp build-native-stamp \
> build-stamp uncompress-stamp java_build.log log
> /home/knoppix/eclipse-2.1/build-tree \
> /home/knoppix/eclipse-2.1/source-tree debian/eclipse
> debian/about.mappings
> echo /usr/lib/j2se/1.3
> /usr/lib/j2se/1.3
> dh_clean
> debian/rules build
> dh_testdir
> # Add here commands to uncompress the package.
> mkdir -p /home/knoppix/eclipse-2.1/source-tree
> (cd /home/knoppix/eclipse-2.1/source-tree;/usr/lib/j2se/1.3/bin/ jar xf
> ../upstream/eclipse-sourceBuild-srcIncluded-2.1.zip)
> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
> /usr/lib/j2se/1.3/bin/i386/native_threads/jar: error while loading shared
> libraries: libjvm.so: cannot open shared object file: No such file or
> directory
> make: *** [uncompress-stamp] Fehler 127
> root@DarkStar-Debian:~/eclipse-2.1#
>
> Greetings
>
> mc
>
>
>
> mc wrote:
>
>> I tried to build it from source,
>> but therefore i needed jre1.3.. and jre 1.3 needs
>> libstdc++2.9-glibc2.1. and libstdc++2.9-glibc2.1 is an no-file, which i
>> cant find anywhere.
>>
>> Greetings
>>
>> Micha
>>
>> Jan Schulz wrote:
>>
>>> * mc <unreallity@mail.ru> wrote:
>>>> Can someone help me? I am working with the debian package of eclipse
>>>> here.
>>>> My problem is, that Renaming (on refactor) is not working... i cant
>>>> rename
>>>> functions, classes and so on.
>>>
>>> This is a know bug:
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197484
>>>
>>> will be fixerd in the new build of eclipse (BTW, why isn't that
>>> backported into 2.1.1?) or you can rebuild eclipse from source with
>>> a JRE1.3:
>>>
>>> apt-get source eclipse-sdk
>>> cd eclipse-2.1
>>> export JAVA_HOME=/usr/lib/j2se/1.3 # Blackdown debian packages
>>> dpkg-buildpackage -uc -b -rfakeroot
>>> dpkg -i ../*deb
>>>
>>> Expect a new build (2.1-6) either late this evening or sometime
>>> tomorrow from:
>>> deb-src http://www.katzien.de/debian/eclipse ./
>>>
>>> Jan, debian eclipse maintainer
|
|
|
Re: Eclipse Refactor/rename Linux [message #80139 is a reply to message #80092] |
Sun, 22 June 2003 10:45   |
Eclipse User |
|
|
|
Originally posted by: unreallity.mail.ru
This worked!!!!,
Thank you very, very much
Greetinga
michael
snpe wrote:
> You try next (with jdk 1.4) :
> --begin-------------------------------------------
> ---
> org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java.orig
> Thu
> May 15 08:42:35 2003
> +++ org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java
> Fri
> May 16 12:16:17 2003
> @@ -113,7 +113,7 @@
>
> protected void run(IStructuredSelection selection) {
> if (fRenameJavaElement.isEnabled())
> - fRenameJavaElement.run(selection);
> +
>
((SelectionDispatchAction)fRenameJavaElement).run((IStructur edSelection)selection);
> if (fRenameResource != null &&
> fRenameResource.isEnabled())
> fRenameResource.run(selection);
> }
>
> Recompile eclipse
>
> regards
> Haris Peco
>
> mc wrote:
>
>> Okay.. i have found the libstdc++, but builpackage
>> still dies with:
>>
>> root@DarkStar-Debian:~/eclipse-2.1# dpkg-buildpackage -uc -b -rfakeroot
>> dpkg-buildpackage: source package is eclipse
>> dpkg-buildpackage: source version is 2.1-5
>> dpkg-buildpackage: source maintainer is Takashi Okamoto <tora@debian.org>
>> dpkg-buildpackage: host architecture is i386
>> fakeroot debian/rules clean
>> dh_testdir
>> dh_testroot
>> rm -rf pre-install build-java-stamp build-native-stamp \
>> build-stamp uncompress-stamp java_build.log log
>> /home/knoppix/eclipse-2.1/build-tree \
>> /home/knoppix/eclipse-2.1/source-tree debian/eclipse
>> debian/about.mappings
>> echo /usr/lib/j2se/1.3
>> /usr/lib/j2se/1.3
>> dh_clean
>> debian/rules build
>> dh_testdir
>> # Add here commands to uncompress the package.
>> mkdir -p /home/knoppix/eclipse-2.1/source-tree
>> (cd /home/knoppix/eclipse-2.1/source-tree;/usr/lib/j2se/1.3/bin/ jar xf
>> ../upstream/eclipse-sourceBuild-srcIncluded-2.1.zip)
>> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
>> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
>> /usr/lib/j2se/1.3/bin/i386/native_threads/jar: error while loading shared
>> libraries: libjvm.so: cannot open shared object file: No such file or
>> directory
>> make: *** [uncompress-stamp] Fehler 127
>> root@DarkStar-Debian:~/eclipse-2.1#
>>
>> Greetings
>>
>> mc
>>
>>
>>
>> mc wrote:
>>
>>> I tried to build it from source,
>>> but therefore i needed jre1.3.. and jre 1.3 needs
>>> libstdc++2.9-glibc2.1. and libstdc++2.9-glibc2.1 is an no-file, which i
>>> cant find anywhere.
>>>
>>> Greetings
>>>
>>> Micha
>>>
>>> Jan Schulz wrote:
>>>
>>>> * mc <unreallity@mail.ru> wrote:
>>>>> Can someone help me? I am working with the debian package of eclipse
>>>>> here.
>>>>> My problem is, that Renaming (on refactor) is not working... i cant
>>>>> rename
>>>>> functions, classes and so on.
>>>>
>>>> This is a know bug:
>>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197484
>>>>
>>>> will be fixerd in the new build of eclipse (BTW, why isn't that
>>>> backported into 2.1.1?) or you can rebuild eclipse from source with
>>>> a JRE1.3:
>>>>
>>>> apt-get source eclipse-sdk
>>>> cd eclipse-2.1
>>>> export JAVA_HOME=/usr/lib/j2se/1.3 # Blackdown debian packages
>>>> dpkg-buildpackage -uc -b -rfakeroot
>>>> dpkg -i ../*deb
>>>>
>>>> Expect a new build (2.1-6) either late this evening or sometime
>>>> tomorrow from:
>>>> deb-src http://www.katzien.de/debian/eclipse ./
>>>>
>>>> Jan, debian eclipse maintainer
|
|
|
Re: Eclipse Refactor/rename Linux [message #80199 is a reply to message #80139] |
Sun, 22 June 2003 14:31   |
Eclipse User |
|
|
|
This si work from Stanislav Bernatsky
regards
Haris Peco
mc wrote:
> This worked!!!!,
>
> Thank you very, very much
>
> Greetinga
>
> michael
>
> snpe wrote:
>
>> You try next (with jdk 1.4) :
>> --begin-------------------------------------------
>> ---
>> org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java.orig
>> Thu
>> May 15 08:42:35 2003
>> +++ org.eclipse.jdt.ui\ui\org\eclipse\jdt\ui\actions\RenameActio n.java
>> Fri
>> May 16 12:16:17 2003
>> @@ -113,7 +113,7 @@
>>
>> protected void run(IStructuredSelection selection) {
>> if (fRenameJavaElement.isEnabled())
>> - fRenameJavaElement.run(selection);
>> +
>>
>
((SelectionDispatchAction)fRenameJavaElement).run((IStructur edSelection)selection);
>> if (fRenameResource != null &&
>> fRenameResource.isEnabled())
>> fRenameResource.run(selection);
>> }
>>
>> Recompile eclipse
>>
>> regards
>> Haris Peco
>>
>> mc wrote:
>>
>>> Okay.. i have found the libstdc++, but builpackage
>>> still dies with:
>>>
>>> root@DarkStar-Debian:~/eclipse-2.1# dpkg-buildpackage -uc -b -rfakeroot
>>> dpkg-buildpackage: source package is eclipse
>>> dpkg-buildpackage: source version is 2.1-5
>>> dpkg-buildpackage: source maintainer is Takashi Okamoto
>>> <tora@debian.org> dpkg-buildpackage: host architecture is i386
>>> fakeroot debian/rules clean
>>> dh_testdir
>>> dh_testroot
>>> rm -rf pre-install build-java-stamp build-native-stamp \
>>> build-stamp uncompress-stamp java_build.log log
>>> /home/knoppix/eclipse-2.1/build-tree \
>>> /home/knoppix/eclipse-2.1/source-tree debian/eclipse
>>> debian/about.mappings
>>> echo /usr/lib/j2se/1.3
>>> /usr/lib/j2se/1.3
>>> dh_clean
>>> debian/rules build
>>> dh_testdir
>>> # Add here commands to uncompress the package.
>>> mkdir -p /home/knoppix/eclipse-2.1/source-tree
>>> (cd /home/knoppix/eclipse-2.1/source-tree;/usr/lib/j2se/1.3/bin/ jar xf
>>> ../upstream/eclipse-sourceBuild-srcIncluded-2.1.zip)
>>> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
>>> grep: /usr/lib/j2se/1.3/jre/lib/jvm.cfg: No such file or directory
>>> /usr/lib/j2se/1.3/bin/i386/native_threads/jar: error while loading
>>> shared libraries: libjvm.so: cannot open shared object file: No such
>>> file or directory
>>> make: *** [uncompress-stamp] Fehler 127
>>> root@DarkStar-Debian:~/eclipse-2.1#
>>>
>>> Greetings
>>>
>>> mc
>>>
>>>
>>>
>>> mc wrote:
>>>
>>>> I tried to build it from source,
>>>> but therefore i needed jre1.3.. and jre 1.3 needs
>>>> libstdc++2.9-glibc2.1. and libstdc++2.9-glibc2.1 is an no-file, which i
>>>> cant find anywhere.
>>>>
>>>> Greetings
>>>>
>>>> Micha
>>>>
>>>> Jan Schulz wrote:
>>>>
>>>>> * mc <unreallity@mail.ru> wrote:
>>>>>> Can someone help me? I am working with the debian package of eclipse
>>>>>> here.
>>>>>> My problem is, that Renaming (on refactor) is not working... i cant
>>>>>> rename
>>>>>> functions, classes and so on.
>>>>>
>>>>> This is a know bug:
>>>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197484
>>>>>
>>>>> will be fixerd in the new build of eclipse (BTW, why isn't that
>>>>> backported into 2.1.1?) or you can rebuild eclipse from source with
>>>>> a JRE1.3:
>>>>>
>>>>> apt-get source eclipse-sdk
>>>>> cd eclipse-2.1
>>>>> export JAVA_HOME=/usr/lib/j2se/1.3 # Blackdown debian packages
>>>>> dpkg-buildpackage -uc -b -rfakeroot
>>>>> dpkg -i ../*deb
>>>>>
>>>>> Expect a new build (2.1-6) either late this evening or sometime
>>>>> tomorrow from:
>>>>> deb-src http://www.katzien.de/debian/eclipse ./
>>>>>
>>>>> Jan, debian eclipse maintainer
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04198 seconds