[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [ease-dev] [EASE] Sign and Verify Script | 
| Hi Varun,   what were you trying to do, run this snippet outside the context of a running eclipse application? This will definitely not work. The workspace needs to be launched, only afterwards you will be able to call getService().   Running the same snippet within eclipse (eg in an EASE shell) gives following result:   service = getService(org.eclipse.ease.service.IScriptService);       org.eclipse.ease.service.ScriptService@c77bb6 service.getScriptType("workspace://Scripts/Test.js")       org.eclipse.ease.service.ScriptType@b01c44   HTH Christian   From: ease-dev-bounces@xxxxxxxxxxx [mailto:ease-dev-bounces@xxxxxxxxxxx] On Behalf Of Varun RavalSent: Monday, June 27, 2016 11:55 AM
 To: ease developer discussions
 Subject: Re: [ease-dev] [EASE] Sign and Verify Script
  Hi,
 I tried the ScriptTypeTest.java
But it is giving error described in error.txtThanks for helping, Hi Varun,
 if you look in the documentation for IScriptService you will find the exact java call to get the service. Do not unse getInstance(), it will vanish as soon as I have time to fix some base dependencies to that getter.
 
 Regarding your error on getScriptType: what location are you using there?
 
 cheers
 Christian
  On 06/23/2016 03:18 PM, Varun Raval wrote:I am trying to figure out how to get language specific block comments and have posted a comment on Mattermost.How should try following command?
 IScriptService scriptService = ScriptService.getInstance();
 ScriptType scriptType = scriptService.getScriptType(location);
It is giving error while running getScriptType.Best regards, 
_______________________________________________ease-dev mailing list
 ease-dev@xxxxxxxxxxx
 To change your delivery options, retrieve your password, or unsubscribe from this list, visit
 https://dev.eclipse.org/mailman/listinfo/ease-dev
 | 
Attachment:
smime.p7s
Description: S/MIME cryptographic signature