Often resetting JTransformer helps in these cases. Select the menu item JTransformer→Reset JTransformer and select the option “Also restart prolog processes”. This operation may take a while.
“Something” went wrong in the weaving process. This is probably a bug in the LogicAJ compiler or in the JTransformer Framework.
Close Eclipse. Kill all xcpe/plwin.exe instances. Start Eclipse. Remove the JTransformer Nature. Restart Eclipse. Set the JTransformer Nature. If the problem remains the problem related to LogicAJ. Otherwise it its JTranformer related. The later has the advantage that you can go on with your work. Please report the bug in both cases firstname.lastname@example.org Please attach (not more the last 300KB) of the files
<your workspace>\.metadata\.log <your workspace>\.metadata\org.cs3.jtransformer\jtransformer.log
Debian/Ubuntu comes with a rather old swi-prolog version. This may lead to a range of error messages/problems like the one above.
You must not install the AJDT in parallel with LogicAJ. The compilers are uncompatible. Weaving and most times also the compilation will fail.
First you have to remove the AJDT plug-in. But this not sufficient if you want to use an AspectJ project with LogicAJ or Java in general. When converting a Java project to an AspectJ project the Java builder was replaced by a AspectJ builder. To undo this replace the AspectJ builder in the .project file located in the project root. You will have to switch to Navigator view to see the file.
Replace the buildCommand
<buildCommand> <name>org.eclipse.ajdt.core.ajbuilder</name> <arguments> </arguments> </buildCommand>
<buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand>
You may also remove the AspectJ nature:
You can disable the AspectJ plug-in (AJDT) by going through this path and click on the disable.
Just restart the eclipse and disable the “Assign JTransformer Factbase” on the project, once enable this feature for the project and weave an aspect , now everything is OK.