Aw: Re: Remembering imports between script invocations

2018-11-05 Thread Jochen Theodorou
mpl to let it set the additional imports.   bye Jochen   Gesendet: Donnerstag, 01. November 2018 um 16:19 Uhr Von: "Keith Suderman" An: dev@groovy.apache.org Betreff: Re: Remembering imports between script invocations Hi David,   I am not a Groovy committer and I am not that familiar

Re: Remembering imports between script invocations

2018-11-01 Thread Keith Suderman
>>> say a Swing or JavaFX UI one line at a time. With BeanShell, the user can >>> add the needed imports, execute that "script" and then continue to refer to >>> the imported classes in the following script invocations. Making Groovy >>> remember impor

Re: Remembering imports between script invocations

2018-10-31 Thread David Ekholm
member imports would make it behave in as nice fashion as the new JShell >> tool in Java 9. JShell unfortunately cannot run embedded via the >> javax.script API :-( >> >> Regards >> /David >> >>> On 8 Feb 2018, at 21:34, eric.mil...@thomsonreut

Re: Remembering imports between script invocations

2018-02-10 Thread Keith Suderman
> Regards > /David > >> On 8 Feb 2018, at 21:34, eric.mil...@thomsonreuters.com >> <mailto:eric.mil...@thomsonreuters.com> wrote: >> >> You can add all the imports you want to your compiler configuration and they >> will be consistently available for all

Re: Remembering imports between script invocations

2018-02-09 Thread Jorge Aguilera Gonzalez
s more like the Groovy Shell or Groovy Console. Not too sure myself how the javax.script stuff is tied in. *From:* David Ekholm [mailto:da...@jalbum.net <da...@jalbum.net>] *Sent:* Thursday, February 08, 2018 2:47 PM *To:* dev@groovy.apache.org *Subject:* Re: Remembering imports betw

Re: Remembering imports between script invocations

2018-02-09 Thread David Ekholm
gt; From: David Ekholm [mailto:da...@jalbum.net <mailto:da...@jalbum.net>] > Sent: Thursday, February 08, 2018 2:47 PM > To: dev@groovy.apache.org <mailto:dev@groovy.apache.org> > Subject: Re: Remembering imports between script invocations > > How do I do that

RE: Remembering imports between script invocations

2018-02-08 Thread eric.milles
Sounds more like the Groovy Shell or Groovy Console. Not too sure myself how the javax.script stuff is tied in. From: David Ekholm [mailto:da...@jalbum.net] Sent: Thursday, February 08, 2018 2:47 PM To: dev@groovy.apache.org Subject: Re: Remembering imports between script invocations How do I

Re: Remembering imports between script invocations

2018-02-08 Thread David Ekholm
t; > From: David Ekholm [mailto:da...@jalbum.net <mailto:da...@jalbum.net>] > Sent: Thursday, February 08, 2018 2:12 PM > To: dev@groovy.apache.org <mailto:dev@groovy.apache.org> > Subject: Remembering imports between script invocations > > We're considering supporti

RE: Remembering imports between script invocations

2018-02-08 Thread eric.milles
You can add all the imports you want to your compiler configuration and they will be consistently available for all scripts. From: David Ekholm [mailto:da...@jalbum.net] Sent: Thursday, February 08, 2018 2:12 PM To: dev@groovy.apache.org Subject: Remembering imports between script invocations

Remembering imports between script invocations

2018-02-08 Thread David Ekholm
We're considering supporting Groovy as an additional scripting language to our web gallery software jAlbum (http://jalbum.net ), but one aspect bugs me: It doesn't seem like import statements are remembered between script invocations. This makes it far harder to use Groovy