|
|
|
|
|
Re: [xtend2][xbase] Reference to constants [message #663266 is a reply to message #663264] |
Mon, 04 April 2011 12:45 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Alex,
I'd use the repositories that are provided by the build server, e.g.
https://hudson.eclipse.org/hudson/job/Xtext-nightly-HEAD/las tSuccessfulBuild/artifact/xtext.p2.repository/
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 04.04.11 14:40, schrieb carraro.alessandro@gmail.com:
> Il 04/04/2011 13.40, Sebastian Zarnekow ha scritto:
>> Hi Alex,
>>
>> please note that references to static features have been implemented
>> after the M6. Do you use one of the latest nightlies?
>>
>> Regards,
>> Sebastian
>
> Shame on me!
> Thought that 15th March was updated enough :)
>
> I'm currently using http://download.itemis.com/updates/nightly/
>
> However to update to the latest I found (2.0.0.v201104031803) I get the
> error:
>
> No repository found containing:
> osgi.bundle,org.eclipse.emf.mwe2.language.source,2.0.0.v2011 04020602
>
>
> For mwe2 I'm using
> http://download.eclipse.org/modeling/emft/mwe/updates/nightl y/ is it the
> right place?
|
|
|
|
Re: [xtend2][xbase] Reference to constants [SOLVED] [message #663297 is a reply to message #663268] |
Mon, 04 April 2011 14:54 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Alex,
it should be possible to refer to imported classes as well, e.g.
import org.mypackage.MyEnum
....
MyEnum::EnumLiteral
should work. Please file a ticket with a reproducable example if it fails.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 04.04.11 15:25, schrieb carraro.alessandro@gmail.com:
> Il 04/04/2011 14.45, Sebastian Zarnekow ha scritto:
>> Hi Alex,
>>
>> I'd use the repositories that are provided by the build server, e.g.
>>
>> https://hudson.eclipse.org/hudson/job/Xtext-nightly-HEAD/las tSuccessfulBuild/artifact/xtext.p2.repository/
>>
>>
>>
>> Regards,
>> Sebastian
>
> Thanks! This solved my problem, and created a new error :o
> Never mind, I understand this is not released, I filed a bug on bugzilla :)
>
> A note: imho the 'static reference' should be able to target imported
> classes. atm only fully qualified constants are referrable
>
> many thanks
>
> Alex
|
|
|
Powered by
FUDForum. Page generated in 0.03565 seconds