Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rcptt-users] Invoke-static call

Hi,

 

I’m trying to setup  a test using an ECL procedure.

I set up this test [1] but get a parsing exception [2]

 

How can I simply pass the parameter from the proc to the invoke-static ?

 

I checked [3]  and  [4], but didn’t found any answer.

I also checked the git repository [5] but without success.

 

Can anyone redirect me to an example ?

 

Regards,

Benoit Maggi

 

1 : proc "test" [val parent -input] [val name] {

    invoke-static -pluginId "mypluginid"

                  -className "myclassName"

                  -methodName test

                  -args $parent $name

}

2 : Syntax error on line 5, col 32

               at Syntax error (/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/ProcUtility.ctx:5)

3 : http://download.eclipse.org/rcptt/release/1.5.4/doc/ecl/index.html#invoke-static

4 : https://www.eclipse.org/rcptt/documentation/userguide/ecl/new-command-guide/

5 : https://git.eclipse.org/r/rcptt/oorg.eclipse.rcptt/rcpttTests


Back to the top