Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Integre My own java class on RCPTT IDE
Integre My own java class on RCPTT IDE [message #1731988] Wed, 11 May 2016 13:05 Go to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
Hi,

I would to integre my own java class with plugin on RCPTT IDE, but I haven't found some information about this.

I see that some people already use java class external but I don't find a tutorial to explain a process.

My objectif is to use :

invoke-static -pluginId test -className test.TableRCPTT -methodName getInstance | invoke addItem "TYPE" "type"


can you help me or send me a web site link .

thanks,


jeremie

[Updated on: Wed, 11 May 2016 13:06]

Report message to a moderator

Re: Integre My own java class on RCPTT IDE [message #1733558 is a reply to message #1731988] Mon, 30 May 2016 07:13 Go to previous messageGo to next message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 75
Registered: February 2015
Member
Hi,

Best way would be to implement ECL commands.
https://www.eclipse.org/rcptt/documentation/userguide/ecl/new-command-guide/

Invoke* also a possible way if you need just some checks, actions.

https://hudson.eclipse.org/rcptt/job/rcptt-all/ws/releng/doc/target/doc/ecl/index.html#invoke

Best regards,
Andrey.
Re: Integre My own java class on RCPTT IDE [message #1734449 is a reply to message #1733558] Wed, 08 June 2016 12:50 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi,

I would like to create table , object existing on org.eclipse.rcptt.ecl.data.objects.ObjectsFactory.

Then I want to use this object with get, set, add line ....

Do you know if it's possible without create ecl command?

thanks,

jeremie
Re: Integre My own java class on RCPTT IDE [message #1735712 is a reply to message #1734449] Wed, 22 June 2016 08:17 Go to previous messageGo to next message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

Simple example:
the war has got only a "system.out.println("Hello Word")"

/ run a java program
exec-process -command "\"C:\\Prog\\Java\\jdk1.7.0_75\\bin\\java\"" -args "-jar" -args "\"C:\\Users\\angelo.luciani\\workspace\\testhello\\bin\\testhello.jar\""| invoke getStdout | log
// write hello world in the log
// The log is located in C:\Users\...\rcpttWorkspace\.metadata\.plugins\org.eclipse.pde.core\xdm.client.rcp.xdm\console.log



"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
Re: Integre My own java class on RCPTT IDE [message #1737764 is a reply to message #1735712] Tue, 12 July 2016 15:40 Go to previous message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi,
Ok, I thank then I try to create my ECL command own.

thanks,

jeremie
Previous Topic:how to select the tree item which has special character special character
Next Topic:Unable to select Records from column if column name is "I/O Name"
Goto Forum:
  


Current Time: Fri Apr 26 21:33:25 GMT 2024

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

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

Back to the top