Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » MOFScript » call a java method from a transformation
call a java method from a transformation [message #1092935] Fri, 23 August 2013 10:51
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
I am trying to invoke a java method from a transformation.

The java class (plugin.JavaClass) is in the directory:


with the simple code:

package plugin;

class JavaClass{
public String example(){
return "Hello";

and the MOFScript transformation in:


I am using the code:

hello= java ("plugin.JavaClass", "example", null, "C:/Program Files/Java/jre7/")

But I get an "Java Class not found" error.

Does anybody know where is the problem?

Thank you very much in advance
Previous Topic:Project MofScript
Next Topic:call a java method from a transformation
Goto Forum:

Current Time: Fri Mar 01 00:40:03 GMT 2024

Powered by FUDForum. Page generated in 0.03367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top