Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Hello World Java Script

Hi Christian,

I thought there is a simpler possibility (e.g. it's part of a
module...) to write to the console, but if not, I will it do this way.
:)

Thanks,

Raphael

2017-02-11 22:42 GMT+01:00 Christian Pontesegger <christian.pontesegger@xxxxxx>:
> Hi Raphael,
>
> native java scripts do not write to a console when using System.out. This
> would require to change the System.out stream of the whole eclipse
> application. Nothing we do automatically. However you could spawn your own
> console from java. Have a look at the EASE launcher classes to see how it is
> done.
>
> Same counts for modules. Why load modules when you directly can access the
> java code?
>
> The Java engine is there purely for people preferring to write scripts in
> native java instead of using a script language. When using java all these
> tricks we provide for script engines do not make much sense.
>
>
> Christian
>
>
>
> On 11.02.2017 21:12, Raphael Geissler wrote:
>>
>> Hello *,
>>
>> I played a little bit around with native Scripts written in Java. I
>> saw a video of Christian where he showed a short example.
>>
>> I try a Hello-World-Example, but my Hello World text was not written
>> in the UI Console (only to the console of Eclipse). So
>> System.out.println ist not written to the write console. Does someone
>> know how can I print to the right console?
>>
>> And second question: How can I load modules?
>>
>> Thanks for your help,
>>
>> Raphael
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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