From: Jendrik J. <jen...@tu...> - 2007-10-10 15:02:41
|
Hi, If the ".g" file is empty, there must be another error. Do you maybe get an error message in the Eclipse Error-Log? Jendrik Andreas Leha wrote: > Hi, > > the rjava.g file is an empty file, and the rjava.cs is just copied from > the tutorial. > But I attach both. > > > Andreas > > > > > > Jendrik Johannes schrieb: >> 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? >>>>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Reuseware-users mailing list >> Reu...@li... >> https://lists.sourceforge.net/lists/listinfo/reuseware-users >> >> > -- Dipl.-Medieninf. Jendrik Johannes Research Assistant Technische Universität Dresden Department of Computer Science Phone +49 351 463 42073 Fax +49 351 463 38459 Email jen...@tu... |