Re: script-maven-plugin: suport for JSR223

2010-01-03 Thread Stefano Fornari
It looks like my prev message got stopped because of the attachment... Hi Siegfried, here (http://github.com/stefanofornari/script-maven-plugin) you find what I've done so far. If you think it could make sense, I can set up a git repository until Tomek gives us directions. NOTES: 1. I have remov

Re: script-maven-plugin: suport for JSR223

2010-01-03 Thread Siegfried Goeschl
Same here :-) Stefano Fornari wrote: > Hi Tomek, > I think I'll have a first version by tonight. How would you like to > proceed? Shall I pack the source code and post it to the list? Or do > you prefer a patch (but keep in mind there will be a lot of changes). > > Please let me know. > Ste >

Re: script-maven-plugin: suport for JSR223

2010-01-03 Thread Stefano Fornari
On Sat, Jan 2, 2010 at 9:55 AM, Stefano Fornari wrote: > [...] If this is ok for you, do you know which directory > scanner shall we use? Got it: org.codehaus.plexus.util.DirectoryScanner -- Ste - To unsubscribe, e-mail: users-

Re: script-maven-plugin: suport for JSR223

2010-01-03 Thread Stefano Fornari
Hi Tomek, I think I'll have a first version by tonight. How would you like to proceed? Shall I pack the source code and post it to the list? Or do you prefer a patch (but keep in mind there will be a lot of changes). Please let me know. Ste On Sat, Jan 2, 2010 at 5:33 PM, Tomasz Pik wrote: > On

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Stephen Connolly
rather than always invoking the scripts in the same jvm as used to run maven, if you add support for toolchains, you could fork a toolchains defined jvm so that maven can be run from one jvm and the script from another 2010/1/2 Siegfried Goeschl : > Hi Stephen, > > could you clarify the statement

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Siegfried Goeschl
Hi Stephen, could you clarify the statement - I think I miss a bit or two :-) Cheers, Siegfried Goeschl Stephen Connolly wrote: > I'd like to see support for toolchains so that you don't have to run > maven with jdk 6 to use scripting > > Sent from my [rhymes with tryPod] ;-) > > On 2 Jan

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Stephen Connolly
I'd like to see support for toolchains so that you don't have to run maven with jdk 6 to use scripting Sent from my [rhymes with tryPod] ;-) On 2 Jan 2010, at 16:33, Tomasz Pik wrote: On Fri, Jan 1, 2010 at 12:29 PM, Stefano Fornari wrote: Hi All, I needed a plugin to run JavaScript scrip

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Tomasz Pik
On Fri, Jan 1, 2010 at 12:29 PM, Stefano Fornari wrote: > Hi All, > I needed a plugin to run JavaScript scripts and I ran into > script-maven-plugin. It looks that id does most of what I need, but I > would need to extend it anyway to allow the evaluation of more than > one script. Looking at the

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Stefano Fornari
Yes, I know; that would not be a limitation for me, therefore is not something I would spend time on. But if you feel we should have it, maybe it is a piece you can take care of. How does it sound to you? BTW, as you will see the current implementation is straightforward. On a different topic, wr

Re: script-maven-plugin: suport for JSR223

2010-01-02 Thread Siegfried Goeschl
Hi Stefano, in that case you would tie the latest incarnation of the script-maven-plugin to the JDK 1.6 ... :-) Siegfried Goeschl PS : I have a look at the plugin tonight Stefano Fornari wrote: > Siegfried, > that would be great. I guess the first question I would answer is if > we need tu upda

Re: script-maven-plugin: suport for JSR223

2010-01-01 Thread Stefano Fornari
Siegfried, that would be great. I guess the first question I would answer is if we need tu update BSF support. My vote is to use the previous version of the script plugin when JSR223 is not available. The changes I would like to do for now is to being able to specify more files to be evaluated. S

Re: script-maven-plugin: suport for JSR223

2010-01-01 Thread Siegfried Goeschl
Hi Stefano, I think it is a good idea to improve the plugin - as a quick note bsf-3.0-X provides JSR223 for JDK 1.5. Cheers, Siegfried Goeschl PS: Stefano & Tomasz - I would like to help as well to improve the plugin .. Stefano Fornari wrote: > Hi All, > I needed a plugin to run JavaScript

script-maven-plugin: suport for JSR223

2010-01-01 Thread Stefano Fornari
Hi All, I needed a plugin to run JavaScript scripts and I ran into script-maven-plugin. It looks that id does most of what I need, but I would need to extend it anyway to allow the evaluation of more than one script. Looking at the documentation and code, I noticed, it seems a bit outdated and supp