The ant task in Eclipse stops at the OSTP login
and doesn't accept my login.
The console of Eclipse doesn't support the typing of name and
password. Create a file name ".passwd" (without quotes) with the first
line being the login name, the second line being the password. Place
this file in the project root and the ant scripts now automatically
connects to the server.
After creating a MontiCore Eclipse project, the ant
targets are not working properly. Only the MontiCore status message is
shown.
Perform a clean on the project with the ant target "clean". Afterwards
the targets "generate" and "compile" should work correctly.
Error message the command ant cannot be
found occurs when using MontiCore on the console.
Add the \bin directory of your Ant installation to the
PATH environment variable of your operating system.
Build fails on the console with following error
message: commons.xml:80: Unable to find a javac compiler
Create an environment variable called JAVA_HOME and make sure
that it points to the JDK 1.6 (at least update 3!) installation directory.
Build fails on the console with following
error message: Unable to locate tools.jar.
Make sure that on your operating system the JDK 1.6 (Java Development
Kit) is installed. It might be that only the JRE 1.6 (Java Runtime
Environment) is installed.
The eclipse client results in the error
message Model XXX already exists!"<
Make sure that the folder containing the grammars (usually def) ist NOT a
source folder. Otherwise Eclipse
constantly copies the grammars to the internal bin folder which is also
processed by MontiCore.
The message An internal error
occured during: "MontiCore"" occures when generating a project
Probably an older version of MontiCore was installed before and not
correctly uninstalled since Eclipse sometimes caches plugins.
Try restarting Eclipse by invoking "eclipse -clean" on the command line.
After invoking "Generating project"
the example projects still contain errors.
Probably you havn't installed an Eclipse version which includes the
Plug-In development Kit (PDE). The PDE is used to refer to other projects
by additional entries in the file Manifest.mf.
Please either update your Eclipse installation or manually include the necessary
jars (de.monticore.re and de.monticore.montiCoreTE_RE) by project references in the example projects.
The ant task in Eclipse stops at the OSTP login
and doesn't accept my login.
The console of Eclipse doesn't support the typing of name and
password. Create a file name ".passwd" (without quotes) with the first
line being the login name, the second line being the password. Place
this file in the project root and the ant scripts now automatically
connects to the server.
The error message An unexpected error
occurred: setProperty must be overridden by all subclasses of
SOAPMessage occurs
Ensure that you have installed Java 5.0 and NOT Java 6.0 which is not
supported by OSTP yet. OSTP uses a version of the JBoss webservice
infrastructure which is incompatible with the Java 6 webservice API. Please
note that it is not sufficient to compile the project under design with Java
5.0 but Eclipse must use Java 5.0 for execution.
It is possible to run MontiCore on a Java 6 VM:
Eclipse can be forced to use the Webservice implementation of JBoss by adding
-Djava.endorsed.dirs="endorsed" after the other vmargs in the file
eclipse.ini which is located in the main dir of the Eclipse installation.
Create a folder named endorsed inside the Eclipse installation folder and
place the file jboss-saaj.jar there.
For the command line version simply add -Djava.endorsed.dirs="endorsed"
to the java command when invoking MontiCore.
Create a folder named endorsed in the MontiCore installation dir and
place the file jboss-saaj.jar there.
After creating a MontiCore Eclipse project, the ant
targets are not working properly. Only the MontiCore status message is
shown.
Perform a clean on the project with the ant target "clean". Afterwards
the targets "generate" and "compile" should work correctly.
Error message the command ant cannot be
found occurs when using MontiCore on the console.
Add the \bin directory of your Ant installation to the
PATH environment variable of your operating system.
Build fails on the console with following error
message: commons.xml:80: Unable to find a javac compiler
Create an environment variable called JAVA_HOME and make sure
that it points to the JDK 1.5 installation directory.
Build fails on the console with following
error message: Unable to locate tools.jar.
Make sure that on your operating system the JDK 1.5 (Java Development
Kit) is installed. It might be that only the JRE 1.5 (Java Runtime
Environment) is installed.
The eclipse client results in the error
message Model XXX already exists!"<
Make sure that the folder containing the grammars (usually def) ist NOT a
source folder. Otherwise Eclipse
constantly copies the grammars to the internal bin folder which is also
processed by MontiCore.
The message An internal error
occured during: "MontiCore"" occures when generating a project
Probably an older version of MontiCore was installed before and not
correctly uninstalled since Eclipse sometimes caches plugins.
Try restarting Eclipse by invoking "eclipse -clean" on the command line.