I installed Octopus per the instructions. I am using Mac OS X 10.4.6, Eclipse 3.1.2, and Java 1.5.0.
I can create an Octopus project, but I am unable to import any of the sample models. I cannot add an Octopus nature to a Java project. When I try, I get a dialog box that says "The chosen operation is not currently available." The error log shows the message "Could not create action delegate for id: nl.klasse.octopus.codegen.AddNatureAction".
I can view and edit OCL files, but they do not build. When I save after editing, the error log shows the exception:
Warning 2006-05-08 22:08:08.258 nl/klasse/tools/common/StringHelpers
java.lang.NoClassDefFoundError: nl/klasse/tools/common/StringHelpers
at nl.klasse.octopus.model.internal.ModelReader.readModel(ModelReader.java:62)
at nl.klasse.octopus.builders.OctopusModelReader.readModel(OctopusModelReader.java:67)
at nl.klasse.octopus.builders.OctopusModelBuilder.setModel(OctopusModelBuilder.java:143)
at nl.klasse.octopus.builders.OctopusModelBuilder.fullBuild(OctopusModelBuilder.java:76)
at nl.klasse.octopus.builders.OctopusModelBuilder.incrementalBuild(OctopusModelBuilder.java:85)
at nl.klasse.octopus.builders.OctopusModelBuilder.build(OctopusModelBuilder.java:54)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
However, the tools plug-in is installed and shows up in the configuration.
Any help would be appreciated, as I am trying to use Octopus for homework related to your book, "The Object Constraint Language, 2nd Edition."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using Eclipse 3.1.0 and JDK 1.5.0_04 on Windows XP. I do not have MacOS available so I cannot recreate your situation.
Are you using the downloadable Eclipse update site ?
Could you provide me with the list of plugins and features installed? Including their version numbers. I can check whether these are allright.
-- Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have octopus in my application, and I want generate java code, when I try it, a error message say I must add "Java Nature", all I have is Octopus Nature.
How can I do for generate java code?
thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed Octopus per the instructions. I am using Mac OS X 10.4.6, Eclipse 3.1.2, and Java 1.5.0.
I can create an Octopus project, but I am unable to import any of the sample models. I cannot add an Octopus nature to a Java project. When I try, I get a dialog box that says "The chosen operation is not currently available." The error log shows the message "Could not create action delegate for id: nl.klasse.octopus.codegen.AddNatureAction".
I can view and edit OCL files, but they do not build. When I save after editing, the error log shows the exception:
Warning 2006-05-08 22:08:08.258 nl/klasse/tools/common/StringHelpers
java.lang.NoClassDefFoundError: nl/klasse/tools/common/StringHelpers
at nl.klasse.octopus.model.internal.ModelReader.readModel(ModelReader.java:62)
at nl.klasse.octopus.builders.OctopusModelReader.readModel(OctopusModelReader.java:67)
at nl.klasse.octopus.builders.OctopusModelBuilder.setModel(OctopusModelBuilder.java:143)
at nl.klasse.octopus.builders.OctopusModelBuilder.fullBuild(OctopusModelBuilder.java:76)
at nl.klasse.octopus.builders.OctopusModelBuilder.incrementalBuild(OctopusModelBuilder.java:85)
at nl.klasse.octopus.builders.OctopusModelBuilder.build(OctopusModelBuilder.java:54)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
However, the tools plug-in is installed and shows up in the configuration.
Any help would be appreciated, as I am trying to use Octopus for homework related to your book, "The Object Constraint Language, 2nd Edition."
Craig,
Sorry for the late answer, but I have been too busy to follow this up. I'll be able to get back to you in the week from June 6.
Jos Warmer
Hi,
I am using Eclipse 3.1.0 and JDK 1.5.0_04 on Windows XP. I do not have MacOS available so I cannot recreate your situation.
Are you using the downloadable Eclipse update site ?
Could you provide me with the list of plugins and features installed? Including their version numbers. I can check whether these are allright.
-- Jos
Hi,
I have octopus in my application, and I want generate java code, when I try it, a error message say I must add "Java Nature", all I have is Octopus Nature.
How can I do for generate java code?
thank you
Hi,
You cannot add a Java Nature to a project in Eclipse. Java projects are verey speial in Eclipse and must be created as such.
If you want to use code generation for Octopus you need to create a Java project to start with and then add the Octopus nature to the Java project.
Jos