The ICON of XSL in Eclipse is wrong

Oxygen general issues.
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

The ICON of XSL in Eclipse is wrong

Post by hurart »

In the codes list of Project Explorer of Eclipse 3.3, Oxygen XML Editor 8.2 shows the same RED icon of XML for XSL. Actually, the icon of XSL should be the GREEN one.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

I cannot reproduce the problem. I run the oXygen plugin 8.2.0 with build number 2007062505 in Eclipse 3.3 build number I20070625-1500. Both the Package Explorer view and the Navigator view display the correct icons, that is red for .xml files, green for .xsl files, blue for .dtd files, etc. What is the build number of your Eclipse 3.3 and the build number of the oXygen plugin that you installed in Eclipse 3.3? You can find the oXygen build number in Window -> Preferences -> oXygen. Can you post screenshot? Does the Error Log view contain errors related to the oXygen plugin?


Regards,
Sorin
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

Post by hurart »

I use Trial version of oXygen 8.2, build: 2007062605
Eclipse is 3.3.0 Build:I20070625-1500


<a href="http://pdjh01.mofile.com/p/1/2007/7/16/ ... .jpg"><img src="http://pdjh01.mofile.com/p/1/2007/7/16/ ... 00_320.jpg" alt="xsl_icon.jpg" border="0"/>screenshot</a>
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

Post by hurart »

sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

hurart wrote:I use Trial version of oXygen 8.2, build: 2007062605
sorin wrote:I run the oXygen plugin 8.2.0 with build number 2007062505
You installed the Eclipse 3.2 version of the oXygen plugin 8.2.0 in Eclipse 3.3. Please uninstall it and install the Eclipse 3.3 version. Both versions are available on the same Download page but the Eclipse 3.2 version does not work in Eclipse 3.3.


Regards,
Sorin
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

Post by hurart »

I reinstall oXygen to 2007062505
but, the XSL is still with the RED icon...

should I change any setting for XML or XSL file-associating?

thank you very much.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Run Eclipse with the -clean parameter in the command which starts Eclipse. If it does not work you have to close Eclipse, delete all the subfolders of the folder [Eclipse3.3-install-folder]/configuration and restart Eclipse. Do not remove the file config.ini.


Regards,
Sorin
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

I found something strange

Post by hurart »

almost every file type is showed as RED icon....

even *.fo, *.xsd, *.wsdl, *.rng... they are all with RED icons

only
*.css is correct with Green icon
and
*.dtd is correct with Blue icon


maybe I have to change some icon files?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

If you installed the Eclipse 3.3 version of the oXygen plugin 8.2.0 you just have to restart your Eclipse 3.3 and make sure the old jar files are not cached. Please apply what I said in my previous post.


Regards,
Sorin
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

Post by hurart »

I built a new Eclipse 3.3 workspace, and created new XSL files, they are very good with GREEN icon.

So the problem is my old project from Eclipse 3.2, even I deleted all sub folders in the configuration of Eclipse.

My old project was checked out from SubVersion, maybe I have to change some setting?

thX...
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

I think the project created with Eclipse 3.2 is not a problem. I also opened in Eclipse 3.3 a project created in Eclipse 3.2 and the oXygen plugin 8.2.0 works without problems. Restarting Eclipse and removing the old jars from the cache (the -clean parameter) should be all you need.


Regards,
Sorin
hurart
Posts: 7
Joined: Sat Jul 14, 2007 4:59 pm
Location: Oxford

Post by hurart »

I checked out my old project from SVN to the new workspace, now it works fine.
every thing goes correctly...

Because the "eclipse -clean" didn't work, I think some settings in my workspace are not good...

The result is fine that is very great,
thank you very much...
Post Reply