Issue #182 has been updated by Raphaël Ouazana.

Note that debugging is not supported for external scripts for the moment, but 
external scripts are now correctly loaded by the debugger.
----------------------------------------
Feature #182: Separated JS
http://tools.lsc-project.org/issues/182

Author: Quentin Raynaud
Status: Feedback
Priority: Normal
Assigned to: Clément OUDOT
Category: Core
Target version: 2.1


It would be great to have the possibility to add for each tasks and maybe 
globally too a JS file in which we can define things that would be present for 
every syncoptions.

Let me give some exemples :

etc/lib.js:
<pre>
function myFct1()
{
  return "myFct1";
}
</pre>

etc/libtask1.js:
<pre>
function myFct2()
{
  return "FyFct2";
}
</pre>


etc/lsc.properties:

<pre>
#...
lsc.java.tasks = "src/lib.js"
#...
lsc.tasks = task1, task2
lsc.tasks.task1.java = "src/libtask1.js"
#...
lsc.syncoptions.task1.property.force_value = myFct1() + myFct2() # OK
#...
lsc.syncoptions.task2.property.force_value = myFct1() + myFct2() # Not OK 
myFct1 is available but not myFct2 that is only included for task1
</pre>




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to