Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Newcomers
 Topic: oAW
Re: oAW [message #1696276 is a reply to message #1696263] Mon, 25 May 2015 08:06
Ed Merks is currently offline Ed MerksFriend
Messages: 26591
Registered: July 2009
Senior Member
That technology has migrated to become several different modeling
projects. E.g., https://eclipse.org/modeling/m2t/?project=xpand and
https://www.eclipse.org/modeling/emft/?project=mwe

On 25/05/2015 2:30 AM, Jaouadi Imen wrote:
> Hello,
>
> I can't install OAW, it is removed the installation link .
>
> Please can you help me.
 Topic: Using RMI to access a DLL on a remote host from Eclipse
Using RMI to access a DLL on a remote host from Eclipse [message #1696275] Mon, 25 May 2015 08:06
Marlene Miller is currently offline Marlene MillerFriend
Messages: 6
Registered: May 2015
Junior Member
I am using Eclipse on a Windows laptop to develop a Java application that will run on a remote host. The application invokes methods in an external JAR. Those methods invoke native methods. The DLL for the native methods resides on the remote host.

During code development, I want to run the application in Eclipse.

Is it reasonable to replace the vendor's external JAR with a Java RMI stub on Eclipse and a Java RMI agent on the remote host? The RMI agent would invoke the methods in the external JAR on the host.

Or is there a better way to run a Java application in Eclipse that accesses a vendor's DLL on a remote host?
Forum: C / C++ IDE (CDT)
 Topic: Eclipse+MinGW Build Error
Re: Eclipse+MinGW Build Error [message #1696270 is a reply to message #1696022] Mon, 25 May 2015 05:27
Philip Sewell is currently offline Philip SewellFriend
Messages: 2
Registered: May 2015
Junior Member
Pls. reply
Forum: Eclipse 4
 Topic: eclipse 4 Delta pack error
Re: eclipse 4 Delta pack error [message #1696273 is a reply to message #1696170] Mon, 25 May 2015 07:04
Lalit Solanki is currently offline Lalit SolankiFriend
Messages: 55
Registered: April 2015
Member
Thank you Thomas Elskens sir......

Lalit
Forum: EMF
 Topic: [CDO] Server Choices and Deployment Options
Re: [CDO] Server Choices and Deployment Options [message #1696277 is a reply to message #1696228] Mon, 25 May 2015 08:15
Eike Stepper is currently offline Eike StepperFriend
Messages: 5753
Registered: July 2009
Senior Member
Am 24.05.2015 um 00:01 schrieb John E. Conlon:
> Hi Eike,
> Comments inline...
>
> best regards
> John
>
> On 05/23/2015 12:35 AM, Eike Stepper wrote:
>> Hi John,
>>
>> Comments below...
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Am 23.05.2015 um 02:40 schrieb John E. Conlon:
>>> We're done with our initial CDO client work and now are turning
>>> attention to the CDO Server.
>>>
>>> Performance - Store and DB Choices:
>>> Its cool that there are many choices for the server store and adapter,
>>> but are there any performance comparisons or benchmarks to help making
>>> the choice easier?
>> The DBStore is certainly the most used and the best tested store. I
>> would start with the DBStore and come back in case of specific problems.
>
> DBStore was my first thought as well. And as for the DBStore databases? I like H2 as it is Java and OSGi, but am also
> considering PostgreSQL. Any thoughts + or - on these?
H2 is the only DB we use in our CI tests. It's small, fast (at least up to the capacity we use in our tests) and easy to
configure. I have customers that use it in production. I've never used PostgreSQL myself.

>
>
>>
>> We have no benchmarks, but there are some feature matrices:
> These are nice graphics - I have looked through the docs but never noticed these. I see they can be found in the help
> docs, but the links should be more visible in the web site docs too.
The wiki is publicly maintained. You can add such links wherever you find them appropriate ;-)

>
>>
>>>
>>> Deployment - OSGi & Docker:
>>> Had planned to use standard OSGi frameworks to run the server
>>> application, but have seen mail threads in the regarding major blocks
>>> to that approach. That's unfortunate. Is this considered an issue of
>>> importance - ie is it worth opening a bug on this?
>> I have no idea what you're referring to or asking for ;-)
> My clients use Eclipse but my server infrastructure is OSGi and dynamically deployed via Apache ACE
> (https://ace.apache.org/).
>
> Would be sweet to have both CDOServer and its database like H2 deployable as OSGi services and configurable with OSGi
> ConfigAdmin.
>
> I think this is similar to what Cristiano avi, described in the 26 Oct 2011 thread: '[CDO] I need help to start server
> from a OSGi Service'.
There are so many runtime platforms and deployment technologies out there and each year some new come and some old go
away. It's impossible for us to stay up to date and support them all. This is an area where contributions would make sense.

>
> I got the impression from Anders Jonsson 16 Feb 2015 Newsgroup Thread
> '[CDO] Server in a non-Equinox OSGi container'.
> That one can NOT run the server in a non-Eclipse OSGi framework.
> His last entry is not so clear as to whether you can or cannot. WDYT?
I suspect this is related to bundles requiring org.eclipse.core.runtime or other Equinox-specific things. It would be
nice to get rid of those requirements but it would likely break API compatibility and is a no no for us.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Server Choices and Deployment Options [message #1696279 is a reply to message #1696260] Mon, 25 May 2015 08:34
Eike Stepper is currently offline Eike StepperFriend
Messages: 5753
Registered: July 2009
Senior Member
Am 24.05.2015 um 18:47 schrieb Erdal Karaca:
> I am not sure if the offline clone uses the same backend system as the remote system. AFAIK, CDO always uses H2 for
> the offline mode. Or am I wrong: is the clone configurable, Eike?
CDO supports two totally different offline scenarios:

1) Offline clones replicate the entire remote history and can serve one or more normal CDO clients. They require
branching in all participating servers and clients. There are two replication modes available:
1a) Raw replication is fast and streams data directly from a master DB into a clone DB. The master and clone
IStores need to be the same. With DBStores the DBAdapter types can be different, though.
1b) Logical replication replays master commits in local clones on a logical CDO level, which has often proven to be
too slow (especially after longer offline periods of a clone). Master and clones can use different IStore types.

2) A CDOWorkspace is more like a checkout from a single remote branch point, i.e., the entire remote history is not
copied to local. It supports operations such as checkout, update, merge and checkin. The checked out CDOWorkspace acts a
little bit like a CDOSession for your application; it provides CDOViews and CDOTransactions in addition to the
aforementioned operations. You can see them in action with the new CDO UI (look for offline checkouts). A CDOWorkspace
locally uses a DBStore with H2 (in theory that could be made configurable, too, but I thought the effort doesn't justify
the benefits) and has no restrictions on the remote store.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Forum: EMF-IncQuery
 Topic: EVM: Update job - How to find the element that changed?
EVM: Update job - How to find the element that changed? [message #1696284] Mon, 25 May 2015 09:20
ihave question is currently offline ihave questionFriend
Messages: 10
Registered: November 2014
Junior Member
Hello! The idea to incrementally maintain mappings with the EVM is very interesting and I implemented a small framework on top of it.

The problem is that every time the update job is called, I'm at a loss to tell which element within my match set changed as to cause a rule activation.

In simple patterns this might be ok, but in my case the domain objects feature many properties (which need to be scanned for changes) and I have to reconstruct & reanalyse a graph each time one source element changes

Would it be possible to deliver (together with the update activation) the underlying EMF notification or delta/changeset?

This would also be of interest for complex transformations, as one would not need to search/remap already mapped elements, i.e.. just to change a label ....

[Updated on: Mon, 25 May 2015 09:41]

Report message to a moderator

Re: EVM: Update job - How to find the element that changed? [message #1696291 is a reply to message #1696284] Mon, 25 May 2015 10:05
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 249
Registered: July 2009
Senior Member
Hi,

The Job class is a generic class with the <EventAtom> type parameter; and the execute method receives an instance of the EventAtom as activating case.

When you set up a Job over EMF-IncQuery patterns, this EventAtom is bound to a match of a selected pattern. As an example, I would point out the transformation rules in the VIATRA project: http://git.eclipse.org/c/viatra/org.eclipse.viatra.git/tree/plugins/org.eclipse.viatra.emf.runtime/src/org/eclipse/viatra/emf/runtime/rules/batch/BatchTransformationRule.xtend#n81 The job is initialized with an IMatchProcessor instance for the selected IQuerySpecification.

I hope, this answers your question; if not, feel free to ask for clarification.

Cheers,
Zoltán
Forum: Lua Development Tools
 Topic: LDT 1.3 RC2
LDT 1.3 RC2 [message #1696293] Mon, 25 May 2015 10:15
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 56
Registered: January 2010
Member
Hi,

LDT 1.3 RC2 is out. This is a release candidate, check it out to let us know if there're still some bugs.
This release is focused on support of lua5.2 grammar (goto/label).
For an exhaustive list, read the new and noteworthy [1].
You can obviously try it [2] and give us your feed back.

LDT Team

[1] https://wiki.eclipse.org/LDT/User_Area/New_Noteworthy/New_Noteworthy_1.3
[2] https://www.eclipse.org/ldt/#installation
Forum: OCL
 Topic: Validating OCL programmatically
Re: Validating OCL programmatically [message #1696294 is a reply to message #1696269] Mon, 25 May 2015 10:11
Ed Willink is currently offline Ed WillinkFriend
Messages: 4339
Registered: July 2009
Senior Member
Hi

The OCLinEcore constraints are integrated into the standard Ecore
framework, so just validate as you would any normal Ecore model.

If you want support for custom messages see the Validation/Custom
Messages Section in the OCL Documentation.

Regards

Ed Willink


On 25/05/2015 00:08, Beat Lussi wrote:
> How to programmatically validate OCL constraints in an EMF model? The
> OCL constraints are written in OCLinEcore. How can I do that?
>
> Thanks
Forum: Paho
 Topic: Paho c++ build problem
icon14.gif  Re: Paho c++ build problem [message #1696295 is a reply to message #1695772] Mon, 25 May 2015 10:15
Mohcine BARAZZOUQ is currently offline Mohcine BARAZZOUQFriend
Messages: 2
Registered: May 2015
Junior Member
Hi,

Thank you Benjamin,

Merci beaucoup Wink

[Updated on: Mon, 25 May 2015 10:16]

Report message to a moderator

Forum: e(fx)clipse
 Topic: AdapterFactoryObservableList not responsive to changes in the underlying model ?
Re: AdapterFactoryObservableList not responsive to changes in the underlying model ? [message #1696290 is a reply to message #1696186] Mon, 25 May 2015 10:01
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 405
Registered: December 2010
Location: Germany
Senior Member
Hi Thomas,

are you using the nightlies or are you using 1.2? There has been some considerable work on AdapterFactoryObservableList for 2.0.

Christoph
 Topic: MDirectMenuItem from DynamicMenuContribution
MDirectMenuItem from DynamicMenuContribution [message #1696286] Mon, 25 May 2015 09:36
Bart Cichy is currently offline Bart CichyFriend
Messages: 8
Registered: April 2015
Junior Member
Hello,

SImple project: sample menu with DynamicMenuContribution:
@AboutToShow
    public void aboutToShow( List< MMenuElement > items )
    {
        MDirectMenuItem directMenuItem = MMenuFactory.INSTANCE.createDirectMenuItem();
        directMenuItem.setLabel( "Label" );
        directMenuItem.setContributionURI( "bundleclass://Test12.app/Test12.app.handlers.HandlerTest" );
        items.add( directMenuItem );
    }

After click it:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at org.eclipse.fx.ui.workbench.renderers.base.BaseItemRenderer.executeAction(BaseItemRenderer.java:183)
	at org.eclipse.fx.ui.workbench.renderers.base.BaseMenuItemRenderer$1.run(BaseMenuItemRenderer.java:50)
	at org.eclipse.fx.ui.workbench.renderers.fx.DefMenuItemRenderer$MenuItemImpl$2$1.run(DefMenuItemRenderer.java:132)

There is null IEclipseContext i suppose.

Attached sample application.

Or am I doing some wrong?
Regards
Re: MDirectMenuItem from DynamicMenuContribution [message #1696287 is a reply to message #1696286] Mon, 25 May 2015 09:46
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1652
Registered: July 2012
Senior Member
Which version are you using? IIRC this issue was already reported and fixed with 2.0 development branch.
Re: MDirectMenuItem from DynamicMenuContribution [message #1696289 is a reply to message #1696287] Mon, 25 May 2015 09:54
Bart Cichy is currently offline Bart CichyFriend
Messages: 8
Registered: April 2015
Junior Member
1.2.0 - sorry. I check it.
Re: MDirectMenuItem from DynamicMenuContribution [message #1696297 is a reply to message #1696289] Mon, 25 May 2015 10:33
Bart Cichy is currently offline Bart CichyFriend
Messages: 8
Registered: April 2015
Junior Member
Yeh, in nightly version it works.
Thx
Forum: RCP Testing Tool
 Topic: Is there option to run tests only with certain tags for Runner (opposite to skipTags)
Is there option to run tests only with certain tags for Runner (opposite to skipTags) [message #1696298] Mon, 25 May 2015 10:43
Krzysztof Jozefowicz is currently offline Krzysztof JozefowiczFriend
Messages: 3
Registered: May 2015
Junior Member
Is there option to run tests only with certain tags for Runner (opposite to skipTags).

We have a TestSuite which consists feature testing & bug driven testing, we would like to separate execution of those two by tags.

2 jobs would execute the same TestSuite, one with skipTags for Bugs, other with something like "includeTags" for Bugs. This way when issue is fixed, only tag entry needs to be changed.

Is there anything planned in next releases ?
Forum: NatTable
 Topic: Sort problem in TreeFormat
Sort problem in TreeFormat [message #1696299] Mon, 25 May 2015 10:44
cenk Mising name is currently offline cenk Mising nameFriend
Messages: 115
Registered: July 2009
Senior Member
We are try TreeGridExample.java for sorting the tree table.

When I change bar value (of "root") to 2, sorting for bar column is not working correctly. (bar value is same for "root" and "root2")

How can I fix it?

 private void createDatums() {
       // bar value ise same with root2
       [b] createDatum(null, "root", 2);[/b]

        createDatum("root", "A", 10);
        createDatum("A", "A.1", 100);
        createDatum("A", "A.2", 110);
        createDatum("A", "A.3", 120);
        createDatum("root", "B", 20);
        createDatum("B", "B.1", 200);
        createDatum("B", "B.2", 210);
        createDatum("root", "C", 30);
        createDatum("C", "C.1", 330);
        createDatum("C", "C.2", 370);
        createDatum("C", "C.3", 322);
        createDatum("C", "C.4", 310);
        createDatum("C", "C.5", 315);
        // bar value ise same with root
       [b] createDatum(null, "root2", 2);[/b]

        createDatum("root2", "X", 70);
        createDatum("X", "X.1", 700);
        createDatum("X", "X.2", 710);
        createDatum("X", "X.3", 720);
        createDatum("root2", "Y", 80);
        createDatum("Y", "Y.1", 800);
        createDatum("Y", "Y.2", 810);
        createDatum("root2", "Z", 90);
        createDatum("Z", "Z.1", 900);
        createDatum("Z", "Z.2", 910);
        createDatum("Z", "Z.3", 920);
        createDatum("Z", "Z.4", 930);
        createDatum("Z", "Z.5", 940);
    }

Forum: EMF "Technology" (Ecore Tools, EMFatic, etc)
 Topic: [Teneo] Waiting Teneo Threads Prevent JVM From Shutting Down
Re: [Teneo] Waiting Teneo Threads Prevent JVM From Shutting Down [message #1696280 is a reply to message #1696266] Mon, 25 May 2015 08:54
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 58
Registered: September 2011
Location: Karlsruhe
Member
Hi Martin,

thanks for your reply. You're right: We also figured on friday that the third thread named "EMF Reference Cleaner" is a daemon and should not prevent the JVM from shutting down. So I guess, it's only the two Teneo threads which are not daemons and are waiting for a semaphore. Our analysis revealed that the two threads are scheduled regularly via an Executor and this regular activation is done with a semaphore. However, it seems that the Executor is never shutdown correctly (calling its shutdown method) and thus does not terminate executing these two threads regularly. However, making the threads daemon threads should also solve the problem.

I opened a bug (468151) here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=468151

I am really looking forward for this issue to be fixed.

Thank you so much.
Re: [Teneo] Waiting Teneo Threads Prevent JVM From Shutting Down [message #1696281 is a reply to message #1696280] Mon, 25 May 2015 08:58
Martin Taal is currently offline Martin TaalFriend
Messages: 5410
Registered: July 2009
Senior Member
Hi Timo,
As it was a simple change I did it already yesterday evening and published a new build. Can you try and let me know if
it worked?

Otherwise I have to think on somehow calling the shutdownnow method on the service, but not sure what hook I can use for
that (in a webapp there is the context shutdown, but not sure if there is anything for the jvm).

gr. Martin

On 25-05-15 10:54, Timo Rohrberg wrote:
> Hi Martin,
>
> thanks for your reply. You're right: We also figured on friday that the third thread named "EMF Reference Cleaner" is a
> daemon and should not prevent the JVM from shutting down. So I guess, it's only the two Teneo threads which are not
> daemons and are waiting for a semaphore. Our analysis revealed that the two threads are scheduled regularly via an
> Executor and this regular activation is done with a semaphore. However, it seems that the Executor is never shutdown
> correctly (calling its shutdown method) and thus does not terminate executing these two threads regularly. However,
> making the threads daemon threads should also solve the problem.
>
> I opened a bug (468151) here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=468151
>
> I am really looking forward for this issue to be fixed.
>
> Thank you so much.


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Teneo] Waiting Teneo Threads Prevent JVM From Shutting Down [message #1696292 is a reply to message #1696281] Mon, 25 May 2015 10:14
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 58
Registered: September 2011
Location: Karlsruhe
Member
Hi Martin,

ah yes, I already wondered why there was a new version of Teneo available on the download site. Well, I'm not in the office today due to a holiday in Germany. I'll be back tomorrow and will try it right away tomorrow morning. I'll give you some feedback here, ok?

Thank you very much for your help.

By the way, did you notice my latest reply on the other thread concerning logging with Teneo/Hibernate a couple of days ago (https://www.eclipse.org/forums/index.php/t/1066404/)? Maybe you could adapt that change as well if it is reasonable for others, too - and I guess it is.

Regards
Timo
Re: [Teneo] Waiting Teneo Threads Prevent JVM From Shutting Down [message #1696301 is a reply to message #1696292] Mon, 25 May 2015 10:56
Martin Taal is currently offline Martin TaalFriend
Messages: 5410
Registered: July 2009
Senior Member
Hi Timo,
Hmm I use thunderbird as email/news client and apparently your reply does not get downloaded or maybe the sync between
the forum and newsgroup is not fine...

In any case I did not see your reply on that one. Seems like an easy one, will check it and solve it.

gr. Martin

On 25-05-15 12:14, Timo Rohrberg wrote:
> Hi Martin,
>
> ah yes, I already wondered why there was a new version of Teneo available on the download site. Well, I'm not in the
> office today due to a holiday in Germany. I'll be back tomorrow and will try it right away tomorrow morning. I'll give
> you some feedback here, ok?
>
> Thank you very much for your help.
>
> By the way, did you notice my latest reply on the other thread concerning logging with Teneo/Hibernate a couple of days
> ago (https://www.eclipse.org/forums/index.php/t/1066404/)? Maybe you could adapt that change as well if it is reasonable
> for others, too - and I guess it is.
>
> Regards
> Timo


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Forum: Buckminster
 Topic: Questions about signing
Re: Questions about signing [message #1696285 is a reply to message #1696247] Mon, 25 May 2015 09:27
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 234
Registered: July 2009
Senior Member
Hi Ed,

thanks for these hints. I am not sure though how to take any influence on that using Buckminster. Do you know?

Another feature job fails like this:
java.lang.SecurityException: invalid SHA1 signature file digest for org/apache/commons/logging/LogSource.class


Regards,
Axel
Re: Questions about signing [message #1696288 is a reply to message #1696285] Mon, 25 May 2015 09:48
Ed Willink is currently offline Ed WillinkFriend
Messages: 4339
Registered: July 2009
Senior Member
Hi

Yes, it's hard. The Eclipse Foundation signer was modified to no re-sign
resolving a long-standing bug. There is a fudge whereby documents with
javax in the path are signed by javax,.

Obstinate plugins use Eclipse.ing to disable packing.

But unless you are the org/apache/commons/logging releng, it looks as if
your problem is re-signing so don't. Easier to just use the Orbit version.

Regards

Ed Willink


On 25/05/2015 10:27, Axel Guckelsberger wrote:
> Hi Ed,
>
> thanks for these hints. I am not sure though how to take any influence
> on that using Buckminster. Do you know?
>
> Another feature job fails like this:
>
> java.lang.SecurityException: invalid SHA1 signature file digest for
> org/apache/commons/logging/LogSource.class
>
>
> Regards,
> Axel
Re: Questions about signing [message #1696303 is a reply to message #1696288] Mon, 25 May 2015 11:28
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 234
Registered: July 2009
Senior Member
Hi Ed,

maybe it is reasonable to do something like described here?
https://www.eclipse.org/forums/index.php?t=msg&th=200299&goto=649152&#msg_649152

Providing a custom signing action which performs the actual signing only for own bundles.

Thanks for your advice,
Axel



Current Time: Mon May 25 11:47:03 GMT 2015

Powered by FUDForum. Page generated in 0.04709 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software