Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ky5566
Post subject: Code Highlight is weird after check out from CVS  PostPosted: Nov 12, 2009 - 03:21 PM



Joined: Nov 12, 2009
Posts: 4

Hello,

I m using MyEclipse 6.5 currently. the problem I face to is the code highlight doesnt work for me when I open the java code check out from CVS. Each time when I double-clicked a variable, it was not highlightting the same variables. But this is working properly for java files are not connect to CVS. I noticed that the small icon shows on tab of code editor is different that the non-CVS java file. is this difference makes the editor malfunction?

kindly appreciate for help !

BTW: the Toggle Mark Occurrences is always active.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 13, 2009 - 04:42 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

ky5566,
I could not replicate this at my end. I have tested in MyEclipse 6.6. Can you give the following information?
1. What are your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
2. Can you send a screen shot of Window > Preferences > General > Editors > Text Editors > Annotations. Does the value for "Occurrences" on the right hand side have "Text As" Highlighted and is that checked?
3. Also, send us the screen shot of Window > Preferences > General > Editors > Mark Occurrences.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
huisma13
Post subject: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 13, 2009 - 07:24 AM



Joined: Nov 30, 2006
Posts: 190

Most likely the project settings where also restored from CVS, and are incompatible with the installed MyEclipse version.
With what version of (My)Eclipse was the project last commited into CVS?
Maybe starting MyEclipse with -clean commandline option could fix the issue.

HTH
 
 View user's profile Send private message  
Reply with quote Back to top
ky5566
Post subject: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 13, 2009 - 07:48 AM



Joined: Nov 12, 2009
Posts: 4

support-shalini wrote:
ky5566,
I could not replicate this at my end. I have tested in MyEclipse 6.6. Can you give the following information?
1. What are your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
2. Can you send a screen shot of Window > Preferences > General > Editors > Text Editors > Annotations. Does the value for "Occurrences" on the right hand side have "Text As" Highlighted and is that checked?
3. Also, send us the screen shot of Window > Preferences > General > Editors > Mark Occurrences.


1. My Installation Details is
Code:
*** Date:
Friday, November 13, 2009 3:41:24 PM CST

** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609




Eclipse Platform

Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800


Eclipse RCP

Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800


Eclipse Java Development Tools

Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800


Eclipse Plug-in Development Environment

Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800


Eclipse Project SDK

Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800


Eclipse Graphical Editing Framework

Version: 3.3.2.v20080129
Build id: 20080221-1602




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
b1c_80
-clean
-vm
C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe


2. the "Text As" Highlighted is checked

3. all the checkboxes are checked
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 16, 2009 - 05:08 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

ky5566,
Can you try the workaround posted in the following link.
http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=12408

Let me know if that works for you.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
ky5566
Post subject: RE: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 16, 2009 - 07:55 AM



Joined: Nov 12, 2009
Posts: 4

Shalini

this is worked, thank you

but I got new question. If there is a .project file in reposity, I can not select 'Check out as a project configured using the New Project Wizard'. is there any way to configure the project locally, not re-check out from CVS?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 17, 2009 - 07:18 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

That is what “Check Out As...” is for, it will run you through any of the project wizards as part of the checkout, and those project files will just be local in yoru workspace and not in the repository.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
ky5566
Post subject: RE: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 18, 2009 - 10:00 AM



Joined: Nov 12, 2009
Posts: 4

but I found that there is .project file located in the repository, and it casue I can not select 'Check out as a project configured using the New Project Wizard'. That option is gray in the wizards and I can not go to "New Project Wizard'

Cheers
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: Code Highlight is weird after check out from CVS  PostPosted: Nov 18, 2009 - 07:00 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

If there is a .project file, the only checkout you can use is the enabled one. and if you want to change the type of project it is, you'll have to checkout the project, switch to Navigator view, and change the .project file or erase it, but that can be tricky.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits