Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Oomph Setup failed

Hi Christian,

I implemented it now with this library
https://github.com/jmrozanec/cron-utils. It uses Apache 2.0 license.

At the moment Unix cron syntax is used, so minimal time-interval is
one minute. With the library above we could also support Quartz cron
syntax, which has one second as minimal time-interval.
We should discuss if this is needed. Especially what happens if the
time-interval is smaller than the script execution-time. I don't know
at the moment what then will happen. Assuming new trigger will paused
as long as script is running...

Now it would be nice if you can me support with a few technical things:
1. I have included the new library by converting the jar to an OSGi
bundle and put it in my workspace. I think that this is not ok and we
have to get the library to the Orbit repository. Is that right? What
must be done?
2. I have nothing changed within the pom files. Shall I try it myself
or is there anything special. Which Maven command must be triggered to
get sure that everything works fine?
3. How comes the code back to the repository. Unfortunately I have no
experience with gerrit. (I found this article:
https://www.eclipse.org/community/eclipse_newsletter/2014/july/article3.php,
must I do this stuff?)

Sorry for all these questions.

Raphael

P.S.: Exmaple script looks like this:
---------------------------- CronJob.js -----------------
// cron: * * * * *, param1, param2

firstParam = argv[0]
secondParam = argv[1]

print(firstParam)
print(secondParam)

time = new Date();

print(("0" + time.getHours()).slice(-2) + ":"
+ ("0" + time.getMinutes()).slice(-2) + ":"
+ ("0" + time.getSeconds()).slice(-2))
---------------------------------------------------------------


2017-01-10 8:22 GMT+01:00  <Christian.Pontesegger@xxxxxxxxxxxx>:
> Hi,
>
> GPL and LGPL are a problem and cannot be used. See the EPL FAQ for a list of
> compatible licenses:
> https://eclipse.org/legal/eplfaq.php#3RDPARTY
>
> Christian
>
> _______________________________________________
> ease-dev mailing list
> ease-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top