Stevoisiak
Stevoisiak

Reputation: 26862

Why is Eclipse suggesting I convert to an Xtext project?

I have a Java Eclipse project with a stylesheet for JavaFX saved in resources/stylesheet.css

Package Explorer

Anytime I open stylesheet.css in the Package Explorer, Eclipse asks me if I want to convert my project to an Xtext project.

Prompt to convert to Xtest project

Why is Eclipse offering to convert my Java project into an Xtext project every time I open my .css stylesheet? Is there a specific reason to convert to an Xtext project?

Upvotes: 2

Views: 1863

Answers (1)

Mordechai
Mordechai

Reputation: 16284

Assuming you use the stylesheet for JavaFX.

I had the same issue, it was solved by converting the project to a JavaFX project (e(fx)clipse required).

Currently there's no direct way to convert a project to a JavaFX project. You'll have to create a new JavaFX project and copy over everything.

New -> Project -> JavaFX -> JavaFX Project

Upvotes: 2

Related Questions