Using the GF Resource Grammar Library requires that the RGL binaries are also installed on your system. If you are using the pre-compiled binaries but have separately downloaded the RGL sources to your system, you can optionally specify this path in the plugin preferences (see below).
In order for dependencies to be satisfied, you need to ensure that your Eclipse has the following update site URLs set:
http://download.eclipse.org/releases/indigo
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
You can set these from Preferences → Install/Update → Available Software Sites.
How to find the Eclipse preferences window depends on your Eclipse version and/or OS, and may be either of:
http://www.grammaticalframework.org/eclipse/release/
/home/john/.cabal/bin/gf
or C:\Users\John\GF\bin\gf.exe
.--# -path=...
directives in your source files. By default it is set to .:alltenses:prelude
, but can also be left blank. This is passed to GF using the --path
flag.src
folder, e.g. /home/john/GF/lib/src/
or C:\Users\John\GF\lib\src\
..gfexternal
can safely deleted as of GFEP ≥ 1.5. Using Eclipse's Clean function from the Run menu will do this for you automatically.(External)
you can safely delete this via the Eclipse Project Explorer. It is no longer used in GFEP ≥ 1.2.3gfep.log
then you can safely delete it from your system. As of version 1.2.4, GFEP uses Eclipse's standard log file at /.metadata/.log
Although the plugin should take care of your project settings for you, in case anything gets messed up you can always correct them manually as follows:
Your .project
file should include the GF Project Nature as follows:
<natures> <nature>org.grammaticalframework.eclipse.ui.natures.projectNatureID</nature> </natures>
Your .project
file should include the GF Builder as follows:
<buildSpec> <buildCommand> <name>org.grammaticalframework.eclipse.ui.build.GFBuilderID</name> <arguments> </arguments> </buildCommand> </buildSpec>
As of GFEP ≥ 1.5.2, you are now able to explicitly which modules in your GF project should be built by the builder. This would normally contain your "top-level" modules. This can be done right-clicking on your project in the Project Explorer and choosing Properties → GF Build Settings. From here you simply tick which modules in your project the GF builder should compile:
When doing this, GFEP will never attempt to compile any other files in the project. Whenever you add a new top-level module or change your module hierarchy, be sure to check these build settings again.