|
From: Jendrik J. <jen...@tu...> - 2007-10-10 12:55:56
|
Hi, please feel free to answer to the list so others can also profit from the discussion. :) There must be an error in the generated parser file (the "rjava.g") which is transformed by the ANTLR tool into Java files. Usually you should get an error on the "rjava.cs" file. Can you sent the rjava.cs and rjava.g file? Jendrik Andreas Leha wrote: > Thanks for the quick answer! I am answering now directly to your > address. Hope, that's ok. > > Cleaning doesn't help unfortunately. > > There are no errors on the "rjava.cs" file but there is the mentioned > error on "de.tudresden.reuseware.language.reusejava.textsyntax.rjava". > A second error then says: "The project cannot be built until build path > errors are resolved" > > > And there are no java files in the "src" folder. The source folder looks > like this: > de.tudresden.reuseware.language.reusejava.textsyntax.rjava/src/de/tudresden/reuseware/language/reusejava/textsyntax/rjava/rjava.g > > So only this one file and that is empty. > > > Regards, > > Andreas > > > > Jendrik Johannes schrieb: >> Hi Andreas, >> >> sounds like an Eclipse-related problem. >> >> Try to refresh the project. >> >> Try to clean the project (Project > Clean...). This often helps. >> >> If not, please check: >> >> Do your parser generation complete without errors? >> (I.e., are there no errors on the "rjava.cs" file after parser >> generation and is the package >> "de.tudresden.reuseware.language.reusejava.textsyntax.rjava" + Java >> files created inside the "src" folder?) >> >> cheers, >> Jendrik >> >> >> Andreas Leha wrote: >>> Trying to do the Java- Tutorial (or any other simial project) I get >>> this error when building the text parser: >>> >>> << >>> Project de.tudresden.reuseware.language.reusejava.textsyntax.rjava is >>> missing required source folder: 'src' >>> >> >>> >>> But this folder exists. >>> >>> Any quick solution to this? >> |