|Re: Epsilon Tools [message #566028]
||Wed, 11 March 2009 13:50
| Louis Rose
Registered: July 2009
Location: York, United Kingdom
I've copied this to the Epsilon newsgroup, so other users can read the
Lishan Simone Harbird wrote:
> Hi Louis,
> Im trying to set up and use an Epsilon Tool from a wizard.
> I have an hst package with class mchstTool, I have converted this to a
Great. You'll also need to tell Epsilon that mchstTool is indeed a tool:
1) Open the MANIFEST.MF file in the META-INF directory of the project
that contains your hst package.
2) Click the Dependencies tab, and select Add under Required Plug-in.
Type "org.eclipse.epsilon.common.dt" Click Ok.
3) Click the Extensions tab, and select Add. Scroll down and select the
"org.eclipse.epsilon.common.dt.tool" entry. Click Ok.
4) Select the entry labelled (tool) in the left-hand tree. Type the
fully-qualified path to the class that represents your tool. In your
case, this is: hst.mchstTool
5) Give the tool a defaultName, for example: mchstTool
6) Save the contents of the editor (File | Save).
> In my wizard I have the following code :
> var t : new Native ('hst.mchstTool');
> t.bw.write( "b M e[x==1 ==> a=a+1].P\n" );
> When I run it I get the following error :
> Type 'hst.mchstTool' not found (..
> I obviously need to do some more things to make the tool visible to the
> wizard but I dont know what.
Your EWL code looks fine.
> I have the Epsilon Tool documentation but I dont understand what it is
> saying to do.
I'll update the documentation with some more instructions, and I'll see
if Dimitrios wants to change anything too.
> Your help is greatly appreciated.
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Powered by FUDForum
. Page generated in 0.01848 seconds