Re: Epsilon Tools [message #13831] |
Wed, 11 March 2009 09:50  |
Eclipse User |
|
|
|
Hi Lishan,
I've copied this to the Epsilon newsgroup, so other users can read the
discussion.
Comments below.
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
> plugin.
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" );
> t.bw.flush();
>
> 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.
>
> Thanks
>
> Lishan
Cheers,
Louis.
----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
|
|
|
Re: Epsilon Tools [message #14388 is a reply to message #13831] |
Wed, 11 March 2009 11:49  |
Eclipse User |
|
|
|
Louis Rose wrote:
> Lishan Simone Harbird wrote:
> > Hi Louis,
> >
> > Im trying to set up and use an Epsilon Tool from a wizard.
> >
<snip>
> > 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.
>
We've updated the Epsilon Tools documentation. New version available at:
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf
Cheers,
Louis.
----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
|
|
|
Re: Epsilon Tools [message #566052 is a reply to message #13831] |
Wed, 11 March 2009 11:49  |
Eclipse User |
|
|
|
Louis Rose wrote:
> Lishan Simone Harbird wrote:
> > Hi Louis,
> >
> > Im trying to set up and use an Epsilon Tool from a wizard.
> >
<snip>
> > 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.
>
We've updated the Epsilon Tools documentation. New version available at:
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf
Cheers,
Louis.
----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
|
|
|
Powered by
FUDForum. Page generated in 0.01953 seconds