Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dash-dev] Monkey Question

Anyone?

Brad

> -----Original Message-----
> From: Harper, Brad 
> Sent: Tuesday, September 18, 2007 4:14 PM
> To: 'Tools for Committer Community'
> Subject: RE: [dash-dev] Monkey Question
> 
> Excellent. I've recently replaced Eclipse 3.2 with 3.3 and 
> installed the Monkey plugin.
> 
> I'm attempting to implement a fit-to-purpose search facility 
> that would allow a technical writer to extract error codes 
> and messages from the source and produce a portable 
> plain-text output file suitable for inclusion and editing in 
> a desktop publishing app.
> 
> Referring to the few examples, I've created a .js file 
> containing the fragment
> 
> -------------------------------------------------
> /*
>  * Menu: Text > Search Error Codes
>  * Kudos: Brad Harper
>  * License: EPSIIA Corp., proprietary copyright, 2007
>  * DOM: 
> http://download.eclipse.org/technology/dash/update/org.eclipse
> .eclipsemonkey.lang.javascript
>  */
> 
> importPackage(Packages.org.eclipse.search.core.text);
> 
> function main() {
>   searchEngine = TextSearchEngine.createDefault(); ...
> }
> -------------------------------------------------
> 
> I get the following error messages, depending on the various 
> arrangements tried [with importPackage()]
> 
>   ReferenceError: "importPackage is not defined.
>   ReferenceError: "TextSearchEngine" is not defined.
> 
> and [without importPackage()]
> 
>   TypeError: createDefault is not a function. 
> 
> I'm fully aware that I'm not only jumping into ECMA 
> scripting, but also sorrowfully lacking experience with 
> Eclipse platform APIs.
> 
> Any tip? Cheers.
> 
> Brad
> 
> > -----Original Message-----
> > From: dash-dev-bounces@xxxxxxxxxxx
> > [mailto:dash-dev-bounces@xxxxxxxxxxx] On Behalf Of Bjorn 
> > Freeman-Benson
> > Sent: Tuesday, September 18, 2007 3:50 PM
> > To: Tools for Committer Community
> > Subject: Re: [dash-dev] Monkey Question
> > 
> > Yes, it is.
> > 
> > Harper, Brad wrote:
> > > Hi all:
> > >
> > > Is this the proper mailing list to discuss problems using Monkey?
> > >
> > > It isn't clear that 'dash-dev' is the appropriate venue,
> > nor does the
> > > dynamic languages mailing list look promising from its archives.
> > >
> > > Thanks.
> > >
> > > Brad
> > > _______________________________________________
> > > dash-dev mailing list
> > > dash-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/dash-dev
> > >   
> > _______________________________________________
> > dash-dev mailing list
> > dash-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/dash-dev
> > 


Back to the top