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 » Sat Jul 14, 2007 5:06 pm

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Mon Jul 16, 2007 12:27 pm

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 » Mon Jul 16, 2007 1:51 pm

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 » Mon Jul 16, 2007 1:53 pm


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

Post by sorin_ristache » Mon Jul 16, 2007 2:11 pm

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 » Mon Jul 16, 2007 3:30 pm

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Mon Jul 16, 2007 3:48 pm

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 » Mon Jul 16, 2007 3:51 pm

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Mon Jul 16, 2007 3:54 pm

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 » Mon Jul 16, 2007 4:16 pm

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Mon Jul 16, 2007 4:22 pm

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 » Mon Jul 16, 2007 5:40 pm

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