xtext / maven-xtext-example

An Xtext language and example usage of it built with Maven
61 stars 33 forks source link

[ERROR] ERROR:The type Superman is already defined in Super.hero #32

Open anatoly-spb opened 9 years ago

anatoly-spb commented 9 years ago

I observe the same problem like the following https://github.com/xtext/maven-xtext-example/issues/12 with the master of maven-xtext-example project.

When I compile (mvn install) this example project I got:

[ERROR] ERROR:The type Superman is already defined in Super.hero. (file:/F:/javaee/eclipse_mars_workspace/maven-xtext-example/example-project/src/main/java/Super.model line : 1)

The workaround is mvn clean install, but when we have deals with big projects, this is not suitable workaround.

camilo040494 commented 8 years ago

Use:

mvn clean install

Dont know why the sources are in the project, but when that problem ocurs to me, i cleaned with maven and re-install Regards