|
Re: How add my custom ecl command to rcptt? [message #1454376 is a reply to message #1452516] |
Tue, 28 October 2014 10:03 |
|
Hello Francis,
If you want to use your custom ECL command, you should put your jar file to <AUT path>/dropins/plugins.
Also, you should put there the following plugins and restart your AUT.
org.eclipse.rcptt.ecl.core
org.eclipse.rcptt.ecl.parser
org.eclipse.rcptt.ecl.shell
org.eclipse.rcptt.ecl.telnet.server
org.eclipse.rcptt.ecl.telnet.server.ui
org.eclipse.rcptt.tesla.jface.fragment
org.eclipse.rcptt.tesla.swt.fragment
Plugin with new ECL command will appear in Installation Details -> Plug - ins
Yours sincerely,
Olga.
|
|
|
|
|
|
|
|
|
|
|
Re: [SOLVED]How add my custom ecl command to rcptt? [message #1463216 is a reply to message #1460135] |
Thu, 06 November 2014 10:22 |
|
Hello Antonio,
Sorry for inconvenience. Thank you for finding this problem.
Show-views doesn't work from IDE because testcase returns View objects into IDE and for now IDE doesn't support it.
You can try this way:
show-views | foreach [val v] { log [format "%s: %s" [$v | get id] [$v | get label]] } //write id and labels into Error log
show-view "org.eclipse.help.ui.HelpView" //open view Help in AUT
Let me know if it helps.
Yours sincerely,
Olga.
[Updated on: Thu, 06 November 2014 10:24] Report message to a moderator
|
|
|
|
Re: [SOLVED]How add my custom ecl command to rcptt? [message #1467619 is a reply to message #1464118] |
Mon, 10 November 2014 06:58 |
Ivan Inozemtsev Messages: 0 Registered: January 2015 |
|
|
|
Hi Antonio,
It's totally possible to have custom ECL commands with completion and doc support from IDE side, it's just our current example in rcptt repo is not complete from this point of view.
We have a more sophisticated example, which suites better as a starting point, but it is not yet migrated from Q7 (commercial predecessor of RCPTT) to RCPTT https://github.com/xored/q7.extensions.ecl
Essentially custom commands in this example are being split into 2 parts: model and impl. Model is added both into RCPTT IDE (to have support for docs and completion), while impl is added only into runtime.
Also, to avoid manual putting of plugins with custom commands into AUT, that example project builds a special plugin for IDE, which bundles an update site for runtime internally, so that once this plugin is installed into IDE, it automatically puts plug-ins with custom ECL commands into all AUTS, launched from this IDE.
The fact that current example with show-views fails, is a combination of 2 factors:
1. model project, which holds EMF model for these commands, is not present in IDE
2. output of the last command of a test case mistakenly is being sent to an IDE (though there's no point in it, as there's no way to interact with this output when test case is over)
We are going to update that example from github in next couple of weeks and incorporate it into rcptt repo, once we do this, we'll publish about it on a forum.
Thanks,
Ivan
|
|
|
Re: [SOLVED]How add my custom ecl command to rcptt? [message #1503105 is a reply to message #1467619] |
Mon, 08 December 2014 06:51 |
|
Hello Antonio,
We've updated example of custom ECL command. It is stored in RCPTT git repo (examples/rcptt.extensions.ecl).
This example shows a sample Maven build, which allows to build an integrated runtime update site for RCPTT IDE in a single Tycho build, and can be used as a starting point for creating custom application-specific commands.
Thank you for this issue!
Please let me know if you have any questions.
Yours sincerely,
Olga.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04251 seconds