On 05.04.2013 08:36, Michaël Michaud wrote:
> Hi,
>> this should probably be enabled to
>>
>> 1. autoscan on each menu opening
> Can you elaborate ?

it looked like changes during OJ runtime (adding, renaming bsh scripts) are not 
reflected in the menu until the update script is run. didn't test that though.

>> 2. to support subfolders as submenu entries
> Already included,

nice

>> 3. maybe a description text can be shown in the tooltip already
> Any idea how to do this ?
> The first idea which comes to my mind is to add a metadata file with the 
> same name as the script file with a different extension.

too messy. simply checking the bsh script for comment syntax and then parse it 
manually should be cleaner. we could add several fields in one comment block 
(description,author,version...)

>> i am particularly in favour of enhancing this as it could be a second easy 
>> way to extend OJ for ordinary users. future aim could be whole plugins done 
>> entirely with script.
> I've always been a fan of beanshell, and one of my first plugin has been 
> to facilitate that :
> http://michael.michaud.free.fr/jump/plugins/ressources/jump-spim-en.pdf

i see.. just read it. i'd rather implement an extended plugin interface though 
(as we have to anyway for OJ2.0 and the new plugin management) which would 
allow plugins to be written with anything imaginable. ideally a bsh plugin 
would be just one bsh file, a bsh extension would allow using libs and several 
menuitems (plugins) and have to be a folder structure.

> I've already built a full application a few years ago, including many 
> scripts and java libraries
> dependencies (itext). Now, my opinion is more nuanced :
> - scripts are a very powerful way for the "user" to achieve complex 
> tasks or to automatize

and oh so easy.. no ide/compiling etc.

> a process with many steps

harder to debug right. well there is always be a backdraft right?

> - scripts are a poor way for "programmers" to add new capabilities, as 
> it is an invitation to do
> quick and dirty programming (eg, bad exception handling, worse 
> reusability...)

true, still it is a good way to draw userpower into extending a software's 
capabilities. most people simply don't want to go the extra mile to learn java 
;9 and some ide usage, left alone svn 

> 
> That said, I still like writing small scripts as it is a fun way to make 
> thinks work
> in a few minutes, and I've written a small script library containing 
> frequently used
> functions to make scripting more easy for beginners (a drawback is that 
> adding
> dependencies involve more strictness in the library management and 
> evolution).

the new plugin management should separate classpaths via private classloaders, 
so library management should become easier.

> I'll submit it if anyone is interested.
>

you might want to clean them up a bit (as necessary) and add them to PLUS ?

..ede

> Michaël
> 
> 
> 
> 
>   ..ede On 05.04.2013 07:34, Giuseppe Aruta wrote:
>>> Thanks Michael,
>>> I will check today with Ubuntu.
>>>
>>> Peppe
>>>
>>>
>>> 2013/4/5 Michaël Michaud <[email protected] 
>>> <mailto:[email protected]>>
>>>
>>>      Hi,
>>>      > with your fix it works now; 0-9 are sorted.
>>>      Should now sort smartly for more than 9 tools (there is now 10)
>>>
>>>      Michaël
>>>      >
>>>      > stefan
>>>      >
>>>      > 
>>> ------------------------------------------------------------------------------
>>>      > Minimize network downtime and maximize team effectiveness.
>>>      > Reduce network management and security costs.Learn how to hire
>>>      > the most talented Cisco Certified professionals. Visit the
>>>      > Employer Resources Portal
>>>      > http://www.cisco.com/web/learning/employer_resources/index.html
>>>      > _______________________________________________
>>>      > Jump-pilot-devel mailing list
>>>      > [email protected] 
>>> <mailto:[email protected]>
>>>      > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>      >
>>>      >
>>>
>>>
>>>      
>>> ------------------------------------------------------------------------------
>>>      Minimize network downtime and maximize team effectiveness.
>>>      Reduce network management and security costs.Learn how to hire
>>>      the most talented Cisco Certified professionals. Visit the
>>>      Employer Resources Portal
>>>      http://www.cisco.com/web/learning/employer_resources/index.html
>>>      _______________________________________________
>>>      Jump-pilot-devel mailing list
>>>      [email protected] 
>>> <mailto:[email protected]>
>>>      https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Minimize network downtime and maximize team effectiveness.
>>> Reduce network management and security costs.Learn how to hire
>>> the most talented Cisco Certified professionals. Visit the
>>> Employer Resources Portal
>>> http://www.cisco.com/web/learning/employer_resources/index.html
>>>
>>>
>>>
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>> ------------------------------------------------------------------------------
>> Minimize network downtime and maximize team effectiveness.
>> Reduce network management and security costs.Learn how to hire
>> the most talented Cisco Certified professionals. Visit the
>> Employer Resources Portal
>> http://www.cisco.com/web/learning/employer_resources/index.html
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> 
> 
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire 
> the most talented Cisco Certified professionals. Visit the 
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to