Eclipse Community Forums - RDF feedhttps://www.eclipse.org/forums/
Eclipse Community Forums109905918072381807194Re: Need to save before copy-pasting files112252032019-05-25T13:10:58-00:00
But seriously - I understand some of the words you say and they sound really smart. I hope that more skillful developers will pick up on this and provide a patch, because this is one of those things that just make me want to switch to another editor which is already packed with intelligent IDEAs.

- Mike
]]>
109899118072371807070Re: Hanging on reote development for python scrips on RPI892118862019-05-25T13:09:24-00:00
thanks for your answers.
I ste up everything as described in the instructions of https://sites.google.com/site/programmersnotebook/remote-development-of-python-scripts-on-raspberry-pi-with-eclipse
until the topic Configure Raspberry PI
Here I get a little confused:
When I create a new project (see 1.) I have no idea what exactliy I have to do.
I tried a project named 1stProj with a File My1stProj.py.
When I open the file and type pydevd I get crazy things: there is an unresolved import of pydevd.
What is wrong here?]]>
109906518072361807232Re: GDB version compatibility with Eclipse802254702019-05-25T11:42:39-00:00
Once all configuration is in place and I start debugging, eclipse crashes when I resume a thread.

Also, just today I noticed that eclipse doesn't crash if I am using eclipse Neon instead of Oxygen. That has further confirmed my doubt that eclipse oxygen and GDB 7.5.1 may not be compatible with each other.

What I am looking for is reference to find out what version of GDB eclipse oxygen supports.]]>
109894218072341806858How to set "Auto Activation" for Content Assist in C/C++802252572019-05-25T10:09:19-00:00
Step#2: Expand C/C++, and click C/C++ Editor.
Step#3: Click the Content Assist tab.
Step#4: Do the following:
Step#5: Click OK.

Black car service Toronto]]>
109904318072331807165Re: Best C++ IDE and Compiler?802252572019-05-25T10:06:49-00:00Chauffeur service Toronto]]>
109906518072321807212GDB version compatibility with Eclipse802252572019-05-25T10:04:57-00:00Toronto car service]]>
109905218072311807168Mirroring Eclipse Repository with Sub Modules48632042019-05-25T07:30:12-00:00109906318072301807223Re: Deployed xText IDE does not work27318752019-05-25T05:24:50-00:00
an make sure with right klick on the file in package/project explorer "open with"
its opened with yourdsl editor]]>
48825118072281807216Re: maven plugin installation in RAD 7.5.58922532019-05-25T03:53:17-00:00https://www.eclipse.org/m2e/m2e-downloads.html]]>
109899018072271807159Re: Installation question8922532019-05-25T03:48:44-00:00109901918072261807054create custom annotation8922532019-05-25T03:44:43-00:00https://www.eclipse.org/eclipselink/documentation/2.4/jpa/extensions/annotations_ref.htm]]>
109906418072251807205Error while trying to save .java files8922532019-05-25T03:42:26-00:00109906018072241807184eclipse broken8922532019-05-25T03:30:15-00:00
The problem looks similar to the one in this post but here the stack trace indicates that the file doesn't exist:

It looks like perhaps it's downloaded an artifact that is somehow corrupt, perhaps from an Eclipse mirror with bad data, but the suggestion in the other post to try to repair the bundle pool might help...]]>
109906318072231807214Re: Deployed xText IDE does not work272251922019-05-24T22:10:25-00:00109902318072221807150Re: XDCTools documentation82254412019-05-24T19:23:02-00:00
In order to understand the philosophy behind the driver libraries, I found following docs valuable:
- TI-RTOS 2.20 User's Guide, June 2016, Literature Number: SPRUHD4M
- TivaWare(tm) Peripheral Driver Library User's Guide, revised July 2016, Literature Number: SPMU298D
- Tiva TM TM4C123GH6PM Microcontroller Data Sheet, 2007-2014, Literature Number: SPMS376E (for my EK-TM4C123GXL)
(the literature number is convenient for retrieval from ti.com)

Unfortunately, TI decided not support TI-RTOS on Hercules devices (I understand the rational, but still unwise in my opionion) which means having to dig into HalCoGen/FreeRTOS for my RM57LX LaunchPad.]]>
109902518072211807193Re: Several questions about 4diac & Forte3081438812019-05-24T19:11:47-00:00
thanks for your feedback. Feedback like yours help us to target our future development. However I have to point out that we will definitely not provide global variables. IEC 61499 does not allow global variables and that is good so.

JDT knows nothing about POMs and provides no support for anything to do with such things, so you must have installed something else (or have something else installed) so you will be best off to post to a forum related to that technology. Likely m2e...]]>
109571518072181796851Re: Array cannot be resolved error882254152019-05-24T18:32:54-00:00
The type Array cannot be resolved. It is indirectly referenced from
required library files
]]>
10990661807217013587462019-05-24T17:30:47-00:00
I've tried doing "Update Project". No change. I've tried deleting the project and reimporting from git. No change.

I've tried comparing the generated .classpath and .project files with similar projects that don't have this problem. There are minor differences, almost all just properties in a different order in an element.

What else can I look for?]]>
48825118072161062416Re: maven plugin installation in RAD 7.5.5892254722019-05-24T17:15:24-00:00
Need help please.]]>
109865518072151806045Re: New Install 2019.03 - no repository found892254712019-05-24T16:51:15-00:00
Mark, Thank you for the solution!
]]>
109906318072141807213Re: Deployed xText IDE does not work27318752019-05-24T16:33:29-00:00109906318072131807211Re: Deployed xText IDE does not work272251922019-05-24T16:31:09-00:00
Christian Dietrich wrote on Fri, 24 May 2019 16:14

can you in your test eclipse open a host osgi console
(console view, + button in the top)
and type "ss org.xtext.example"

]]>
109906518072120802254702019-05-24T16:29:01-00:00
I am using Eclipse Oxygen CDT for debugging a remote target. The GDB I am using is version 7.5.1 cross compiled for powerpc architecture. I have written my own gdbserver implementation to communicate with host GDB.

Problem:
I am facing some glitches while debugging, such as eclipse hangs when I resume a process in non-stop mode, GDB/MI preferences not shown in preferences window etc.

What I doubt now is whether my GDB v7.5.1 is compatible with eclipse oxygen or not. I searched all over the eclipse websites, there is no mention of compatibility between GDB and eclipse releases.

Also, does CDT come with an inbuilt GDB which I can use ?]]>
109906318072111807209Re: Deployed xText IDE does not work27318752019-05-24T16:14:04-00:00
(console view, + button in the top)
and type "ss org.xtext.example"]]>
109906318072101807209Re: Deployed xText IDE does not work272251922019-05-24T16:12:56-00:00
bundleclass://org.eclipse.e4.tools.emf.ui/org.eclipse.e4.tools.emf.ui.internal.handlers" part in common). The weird thing is that it states java version 11, but I configured it to use Java 10 as default.

]]>
109906318072091807208Re: Deployed xText IDE does not work272251922019-05-24T16:07:38-00:00
]]>
109906318072081807206Re: Deployed xText IDE does not work27318752019-05-24T15:49:27-00:00109891518072071807043Re: Unable to push to repository on USB drive481940512019-05-24T15:46:25-00:00
1) Create a text file named "push.sh" in the root directory of your project; this is the directory containing the file ".project".
2) Enter the following text into the file:

#!/bin/bash
cd ..
echo Pushing $PWD
git push
echo Push finished

3) Make the file executable. To do this, open the Terminal and enter the following commands:

5) To push a project containing push.sh, select a file in the project and then select "Push current project" from the External Tools menu. The script will write messages to the console; these won't include progress messages, but you will get a message when the push is done:

Also have a look if there are plugin.xml_gen files that differ from plugin.xml files

With regards to the plugin.xml_gen and plugin.xml file; I threw them both in an online diff tool and found out that they are completely the same, except for the following lines which can be found in the plugin.xml file, but not in the plugin.xml_gen file. Adding them to the .xml_gen file however did not solve the problem unfortunately:

]]>
109906418072050892254492019-05-24T15:12:13-00:00109906318072041807201Re: Deployed xText IDE does not work272251922019-05-24T15:10:20-00:00
https://github.com/JosBouwhuis/xText-DSL/blob/master/xText%20dsl.zip). It consists of two xText projects (for two DSLs) named finaldsl and transformationdsl. As described above, my problem is that when compiling the transformation dsl (which has a meaningless syntax now for testing purposes) and starting it in a new environment (where i create a 'textfile'.transformationdsl file) the transformation dsl syntax is not invoked in the Eclipse environment; it's just handled as a plain textfile, despite having the .transformationdsl extension. Looking forward towards your thoughts on this. And if you need any more clarification/information, I am of course more than willing to provide this!]]>

The Mwe2 workflow file of the TransformationDSL is structured as follows (mind the referencedResource statement which I added manually in order to solve the problems with reference resolving to the finalDSL language).

]]>
109906218071990341286172019-05-24T14:28:22-00:00
I read many articles but they are for RAP and not for RAP e4.
What is the solution ?
Thanks
]]>
109877518071981806317Re: Override import behavior to handle C-style includes272235802019-05-24T14:10:58-00:00
- C-style includes
- Transitive includes
- Include statement as a reference to the included Model

I have only worked under "test-include\org.xtext.example.mydsl\src\org\xtext\example\mydsl". No need to look elsewhere (it was automatically generated).]]>
109905018071971807163Message: Cannot open Git Upload Pack895812019-05-24T13:49:12-00:00

3563017470450

82323618071961436199[SOLVED]error while opening eclipse Luna892254682019-05-24T13:36:29-00:00109874918071951806154Unable to run test written with RCPTT 2.3 using RCPTT 2.4.12812248702019-05-24T13:15:13-00:00109905918071941807181Need to save before copy-pasting files111347582019-05-24T12:40:29-00:00
PasteAction class and its associated pasters (maybe its sub-type JavaElementAndResourcePaster?). I did some other poking about and came across a IReorgPolicy which has a `getSaveMode()` which defaults to a SAVE_ALL. I suspect somehow either making that pluggable, or providing a specialized IReorgPolicy for pasting files that uses SAVE_NONE, might do the trick.

Brian.]]>
109902518071931807190Re: Several questions about 4diac & Forte3082254432019-05-24T12:33:02-00:00
I read the news of the student will do some work with Lua totally support， dynamic compling is good, no more exporting *.cpp files and long time compling forte is also good, but i don't think lua will solve the most important things,
such as some global virable, device, object declare and using, dll importing/reference. debugging integrated source code easily, compling that without whole forte sourcecode(that cost long time),
function block is the key point for resuse, but if it is hard to produce and debug, then mean what? That is from my point of view :)

]]>
109905118071911807164Has Eclipse RAP stopped developing?34468922019-05-24T11:29:37-00:00
Eclipse RAP is still under development and maintenance. We are fixing reported bugs all the time. As RAP has been developed for more than 12 years, it's now stable and it has everything needed to develop workbench based (e3/e4) or standalone application. New features will be added on request.
Best regards,
Ivan]]>
109902518071901807185Re: Several questions about 4diac & Forte3081438812019-05-24T11:14:00-00:00
thank you for your feedback. I happy that my book helped you.

as 1) Currently we don't have a good infrastructure for using DLLs with 4diac FORTE. Espcially calling something outside of FORTE from ST. I think the basic infrastructure could be there but I think this would require some work and tests. Also at this point we always have to create C++ code for your FBs and re-compile 4diac FORTE. Which is not very user friendly. You may have seen that we have a Google Summer of Code project running with targets to improve the situation. Jan, the student working on the project, is happy to get feedback where the problems of Eclipse 4diac are here.

ad 2) Yes you are right. You have to debug the resulting C++ code. This is more suitable for experts. As said we currently have no means for that on ST/FB level. We are happy if you want to support us here.

ad 3) Currently service sequences are mainly used for documentation purposes. We have done some experiments where we modeled test cases or interface behavior for model checking in service sequences. We plan to expand here in the next releases.

ad 4) In order to use 4diac FORTE on a devcie 4diac FORTE has to be ported to that device. This requires at first an API from the device vendor to access the device and its IOs. The main work is most often to implement the IO access. The current list is the devices which we had access to and which we used in our work. We would be happy to expand that list and add more ports to our repository.

BR,
Alois]]>
109904518071891807132Error while deploying birt.war file on weblogic 12c22213132019-05-24T10:55:33-00:00
An error occurred during activation of changes, please see the log for details.

Message icon - Error Substituted for the exception java.nio.file.InvalidPathException which lacks a String contructor, original message - Illegal char <:> at index 2: \C:\oracle\Middleware\Oracle_Home\user_projects\domains\New_RTA_domain\servers\AdminServer\tmp\_WL_user\birt\dnzirw\war\logs\org.eclipse.datatools.connectivity.oda_2019_05_24_15_52_27.log.lck]]>
109904218071881807118 using Mosquitto as a client to VerneMQ.2701320062019-05-24T10:19:25-00:00try_private [ true | false ]
If try_private is set to true, the bridge will attempt to indicate to the remote broker that it is a bridge not an ordinary client. If successful, this means that loop detection will be more effective and that retained messages will be propagated correctly. Not all brokers support this feature so it may be necessary to set try_private to false if your bridge does not connect properly.

Defaults to true.

Without this setting, the bridge is a perfectly normal MQTT client, so should work to any MQTT server.]]>
109615418071871802137Re: GEF 5: Allow only some Connections812214632019-05-24T09:54:47-00:00
We also encountered the same limitation on the BendConnectionPolicy and decided to modify the method "getCompatibleAnchor" to check the anchorProvider's existence "anchorProvider != null" AND that it returns an Anchor: "anchorProvider.get(this.getAdaptable(), "TODO") != null" and our IAnchorProviders return null if they do not apply on the currently modified connection (based on the type of the link on our case).

It works but the question of the good practice remains, for example if their won't be performance issues to ask IAnchorProvider its Anchor (but it is for only one Connection) ... And the "TODO" about de role is still under study for connection's direction.

Patrick]]>
109900218071861807180Re: M2T Ecore2XML / Ecore2JSON Tutorial/Guide/Help2485862019-05-24T09:47:30-00:00
Wow, that was quick. Thak you for sharing. If you really want to be helpful to others you can provide a zipped project, or link to GitHub project. The project should contain an example input file and a launch configuration saved into the project using the Common Tab of the launch configuration. Then newbies can just load the project, run launch configuration, (read a readme), and see it working. There is probably an Acceleo Wiki page where you can publicize your facility.

Regards

Ed Willink

]]>
109902518071851807153Re: Several questions about 4diac & Forte3082254432019-05-24T09:46:59-00:00
1.You mean, that i should export the new function block to c++file, import the dll and compile it with forte source code ? That cost too much time and seems a little bit complex. Can we just do this just in 4Diac IDE more efficently?
In codesys, can just reference dll and call api directly in ST language.
2. i didn't see any document or help about debugging ST, such as breakpoint, step over and so on.
3. you mean now service doesn't make sense till now?
4. There are a supported PLC list of device here :https://www.eclipse.org/4diac/en_rte.php
would you plz tell me why some devices are supported and others(siemens, Mitsubishi,omror) are not?]]>
109906018071840892254642019-05-24T09:36:40-00:00109903318071831807167Re: firewall warning2732069272019-05-24T08:39:41-00:00
as you can see from the log there is an issue invoking iptables in your target. Maybe some missing modules or something like that.

If you don't need networking, you may try to install the NN version of Kura.
Otherwise you will need to update your image to match Kura's requirements or you'll need to update kura codebase to support your linux flavour.

Best regards,
Matteo]]>

35628359629

106864518071821806936Re: Prevent sort column2401396462019-05-24T08:36:54-00:00
Please do not hijack forum posts with different topics! This topic was about sorting NOT grouping!]]>
109905918071810112252032019-05-24T08:11:21-00:00
Working with Java in the Package Explorer, I sometimes need to copy-paste a java file from the source tree to create a new class that I need to reference in the file I am currently editing.

I can copy the source file with ctrl-c but as soon as I try to paste it with ctrl-v, eclipse comes up and demands that I save all my current edit windows first. I can have perhaps 4-5 edit windows open that are all in this state of half-way-done and I'm just not ready to save all that just yet. But eclipse absolutely insists that I do that, because this is somehow super critical to creating a new file As if the new file will somehow be wrong if I don't save everything I have in my edit windows. Like, wtf?

The strange thing is that I can simply switch to the Navigator view and paste the file in there - no problemo.

As you can tell I'm not super impressed with this behavior. I'll happily save my work if I understand why it's important, but right now it just feels like eclipse is toying with me for no good reason.

After some initial trouble I finally understood how Acceleo works within and with the EMF and that you have to use a root element of your metamodel to parse the contents of it (was the ecore-package in my case).

I created a template for Acceleo to process my specific metamodel which I want to provide if someone has the same trouble in the future. I uploaded the template as an attachment to that post.

demonstrating that a *.ecore file is an XML file or more strictly an XMI file. No transformation to XML is needed. Just copy/rename to model.xml if it helps you or another tool understand that it is XML.

JSON is standard in some communities so I am sure that there are Ecore to JSON M2Ts available; not my area. Googling "Ecore to JSON transformation" finds some hits that are probably worth following up.

Regards

Ed Willink
]]>

3562714970

109904118071781807155Re: Can Xtext be used to create general-purpose programming languages? 2785862019-05-24T07:33:44-00:00
Most definitely YES. OCL is one example, QVTr another.

The difficulty entirely depends on the language. If you have a friendly/flexible language, you may be able to exploit Xbase and find it fairly easy. Or you may have an awkward/standardized language where you must faithfully accommodate every poor design decision, which of course requires substantially more ingenuity, study and effort.

Ultimately the editor is just the start of the story. Really good language support should have high quality completion assist, refactoring and of course building, code generation and debugging. Xtext provides assistance in these areas but there is no substitute for many hours of effort from skilled programmers.

Regards

Ed Willink]]>
1099058180717701212163242019-05-24T07:31:16-00:00
I tried to import a csv file within a SYSML 1.4 requirement table that contains:

ID1;TEXT1;
ID2;TEXT2;

It works, but unfortunately the identifier which should be the name (Axis used as identifier) is <Class>.
If I tried to add in my CSV file an additional (first index) column, I have of course too much datas compared to the number of columns...

I also tried to display the name column in the table, but I was not able to find it in the Create/Destroy column :-(

I don't have a template .cproject and .project. But I have it for my own projects which are auto-generated by the eclipse. It is always different for each of my project. Can you share the template if you have, I need it for "Makefile Project with Existing Code" ]]>
109896718071741807143Re: Open a properties Dialog from a custom widget2622249452019-05-24T06:36:38-00:00
I tried to :
copy the begin block from the reference widget under the custom operation
I tried to only put an "Open dialogue" after the begin block
Use "Change context" after the begin block and call a Java Service that print the var
Every time, it does nothing.

So I tried to print the values of the handleClick method of TableController and they all return something.
For the line

I found especially interesting the part in the first video where Harald is exploring PER codec alternatives.

Thank you , Harald

BR
Elemer]]>
109902818071721807160Re: IEC 61850 Sampled Values3081438812019-05-24T06:12:49-00:00
you are welcome. Regarding your question 1: This strong depends on the protocol and the library you are using. If you use the IP layer from 4diac FORTE then you only have to provide the data content of the IP frame.

Alois]]>
1099055180717101062254622019-05-24T05:50:08-00:00
We are trying to migrate eclipse rcp 3.6 to 4.8 with existing code in 3.6.
Java version used was 1.6 for 3.x and Java 1.8 should be used for 4.x .
We have succesfully imported the code ,resolved the compilation issues and started the application in compatibility mode. But some issues are persisting like few screens are blank ,some tabs can be rearranged,change in look and feel of tabs.
While trying to resolve theses issues, we tried incorporating few features like applicatione4.xmi ,but we got other issues like toolbars not displayed when we tried to do this.
Likewise,when trying mixed mode,we are doutbful that more issues may come which we have to resolve and then proceed to the actual issues.
We are not sure whether we can resolve the issues in mixed mode.
Anyone can you please guide, whether an existing application in 3.6 can be migrated to 4.8 with compatibility mode,adding e4 features (which means a mixed mode).
If it is not possible then only way will be entire rewrite to e4 right?
]]>
1099053180716902702254612019-05-24T05:33:59-00:00
I have a question. Does the Mosquitto SSL / TLS implementation include support for handshake message extension limiting the maximum fragment length described in Chapter 4 of RFC 6066 (Max Fragment Length)?

Thanks for your help ...
]]>
109905218071680482254602019-05-24T05:22:55-00:00
https://git.eclipse.org/r/platform/eclipse.platform.releng.aggregator.git) to a gitlab repository.

The purpose is to have the compete source (including submodules) hosted in the local git repo, and build eclipse platform without accessing source code from external network.

If they are appearing in the "Problems view" you can try deleting them
and see if they come back.

]]>

356251103082

109904318071651807121Best C++ IDE and Compiler?801536922019-05-24T02:19:34-00:00
There is no such thing as 'best' without knowing your needs.
This is true not only for computer programming but in all aspects of life.
What's the best vehicle to own: a sedan, a pickup or a step van?
The answer depends on the given task (or tasks) at hand and what is needed to do it.
What might be 'best' for me likely won't even come close to what is 'best' for you.
You are rather new so can be forgiven but some never learn it.

The thing to do is to write down what your needs are
then shop around to meet them.
If nothing else, it will allow you to ask more pointed questions.
As it is, your question is unanswerable.
It's too broad and invites speculation on what you need.
Only you would know what you need.

In the meantime, realize that this discussion is off topic here.
This forum is to address issues and concerns with a specific product: Eclipse/CDT.

If you have specific questions such as, "how do I get CDT to do XYZ?"
where XYZ is a somewhat narrow task hen we're here to help.

]]>
10990511807164034807132019-05-24T00:55:07-00:00
Has Eclipse RAP stopped developing? I have seen that recent versions have not added new features and features?

]]>
109905018071630892254592019-05-23T23:34:14-00:00
The connection protocol is https if this is of any help.]]>
49733818071621739394Re: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.javaeditor.Compi772254522019-05-23T22:01:01-00:00

1. If serialization is the need to define how the data of data types needing more than one byte is mapped, the question I have is while creating the Ethernet frame for the sampled value what is to be serialized? Just the data or the whole Ethernet frame packet?
2. The question was on how to get the data from FB and then update the output data. I guess going through the methods in CommFB can be helpful. I will keep you updated regarding this.

Bob]]>
109904118071551807154Re: Can Xtext be used to create general-purpose programming languages? 27318752019-05-23T20:08:05-00:00
But in general the answer is yes, Xtext can be used for gpls too ]]>
109904118071541807117Can Xtext be used to create general-purpose programming languages? 272250362019-05-23T19:44:47-00:00109902518071531807072Several questions about 4diac & Forte3081438812019-05-23T19:22:55-00:00
ad 1) in general I would say no. In IEC 61499 we have service interface FBs which are programmed in Eclipse 4diac in C++ this is, if I understand you correctly, the better way to do this in Eclipse 4diac.

ad 2) Currently within 4diac IDE yes. However you can debug the resulting C++ code if you like.

ad 3) Currently service sequences are mainly used for documentation purposes. Also the Editor for service sequences in Eclipse 4diac is not very good.

ad 4) From a high level view there is not much difference. Both are systems for programming and executing real-time PLC programs. However CodeSys implements the IEC 61131-3 and Eclipse 4diac IEC 61499. Altough the latter bases on IEC 61131-3 there are significant differences (e.g., IEC 61499 features an event based execution and is for distributed control systems). For more details please have a look in the articles and books on IEC 61499 [1] and IEC 61131-3

ad 1) in the layer you can access the FB and the CommFB has helper methods to access the in and outputs of your FB. Please refer to other top layers for reference on that. Serilaisation is need to define how the data of data types needing more then one byte is mapped to the byte stream to e sent on the network.

ad 2) no idea

ad 3) I'm not sure if I understand your question, but I think the answer from 1 applies here as well.

I hope this helps,
Alois]]>
109901718071511807049Error "An Exception occurred while dispatching debug events" while executing acceleo Trans10822532019-05-23T18:48:17-00:00
https://www.eclipse.org/forums/index.php?t=thread&frm_id=24]]>
109902318071501807066XDCTools documentation8499682019-05-23T18:33:29-00:00
The main documentation page for XDCtools is http://rtsc.eclipse.org/docs-tip/Main_Page
Timers are developed within SYS/BIOS, and the SYS/BIOS documentation in CCS is in Help->Help Contents->SYS/BIOS. There is a User's Guide and the API reference.]]>
109902918071491807083How to import implicitly the namespace from importURI27318752019-05-23T17:37:54-00:00
what import uri scoping does:
- it filters all resources rejecting these that are not imported from global scope
- => the global scope is still all resource in the resourceset in standalone mode and all inside the project in eclipse
- the name part i did not understand. you may have a look what normal importscope does with aliasedeobjectdescriptions]]>
109897618071481806941Separate java application that parses a file27318752019-05-23T17:35:04-00:00

]]>
109904118071471807117Can Xtext be used to create general-purpose programming languages? 27318752019-05-23T17:33:07-00:00
is there a specific concern behind your question]]>
1099049180714602082252822019-05-23T14:48:54-00:00

The Exception:
!ENTRY org.eclipse.ui 4 0 2019-05-23 15:37:16.819
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/collections/BidiMap
at org.eclipse.jubula.client.ui.handlers.project.AbstractSelectDatabaseHandler.executeImpl(AbstractSelectDatabaseHandler.java:82)
at org.eclipse.jubula.client.ui.handlers.AbstractHandler.execute(AbstractHandler.java:79)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:320)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:497)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:490)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:403)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:379)
at org.eclipse.jubula.client.ui.utils.CommandHelper.executeCommand(CommandHelper.java:79)
at org.eclipse.jubula.client.ui.utils.CommandHelper.executeCommand(CommandHelper.java:57)
at org.eclipse.jubula.client.ui.handlers.project.AbstractProjectHandler.execute(AbstractProjectHandler.java:33)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:320)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:497)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:490)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.jubula.app.Launcher.start(Launcher.java:212)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
at org.eclipse.equinox.launcher.Main.main(Main.java:1449)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.BidiMap cannot be found by org.eclipse.jubula.client.core_7.0.2.qualifier
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 65 more
]]>
109904718071451807138How to speed execution of a system using 4DIAC3081438812019-05-23T14:27:42-00:00

35624117151038

107259818071441807135Re: Class Diagrams get messed up?1211935952019-05-23T14:19:28-00:00109896718071431807141Re: Open a properties Dialog from a custom widget2622171732019-05-23T14:10:53-00:00
Have you any error in the error log when trying to click?]]>
1099048180714201211544992019-05-23T14:00:17-00:00
I'm getting a validation error that says Quote:

An edge that has a source in an exception handler structured node must also have its target in the handler, and vice versa.

What is this telling me? I don't have any exception handler.

Thanks,
Steve]]>
109896718071411807122Re: Open a properties Dialog from a custom widget2622249452019-05-23T13:51:39-00:00
I now understand the use of custom operation & custom expression. I'm able to use the custom expression to populate the table now.

I still have issues with the custom expression. I tried different widgets after the custom operation but they do nothing.
I printed the result of

.
The selection variable is correct. I'm now using the exact same code as the one on the wiki.]]>

356237720351

109904018071401807136Re: Sirius 5->6: Unknown protocol "java" for semanticResources2622171732019-05-23T13:51:14-00:00
If for you java:/Objects/org.eclipse.emf.ecore.util.Switch has nothing to do with a semantic model you are using in your Sirius projects as it seems to me, then just remove all these "semantic resources" from the aird and try to load it.

Regards,]]>
109903318071391807129Re: firewall warning2732069272019-05-23T12:58:54-00:001099047180713803082234732019-05-23T12:27:10-00:00
I am now making a system which is dynamically categorized as a first-order system, second order system, etc in 4DIAC IDE. Which is have a time constant and require a certain amount of time to get to steady state value. Unfortunately, it makes me consumed a long time to wait until the system is at steady state value because forte running in real time.

I wonder if there is a certain technique to speed up the execution of the system in forte so with the same system, I can achieve the steady state value faster in real time, such as Simulink can do about it

Thanks,

Stefanus Yudi Irwan]]>
109347618071371787602Unable to set hierarchical project presentation by default112111092019-05-23T12:22:59-00:00
I'm facing the same issue today with a product based on Eclipse 2019-03, did you found a solution past year to solve this issue?

Thanks by advance.]]>
109904018071361807125Re: Sirius 5->6: Unknown protocol "java" for semanticResources2622144612019-05-23T12:20:19-00:00
When I open up the "Plug-in Dependencies" of the base modeling project, I do see a reference to org.eclipse.xtext.xbase.lib_2.12.0.v20170518-0757.jar]]>
107259818071351807134Re: Class Diagrams get messed up?1211017432019-05-23T11:50:28-00:00
It's probably a problem somewhere between Papyrus and GMF. I believe GMF supports scalable units, based on the DPI level, but Papyrus always uses pixels (So texts are scaled, but figures aren't, causing layout inconsistencies)

You could apply this workaround with a CSS Stylesheet containing this rule:

* {
labelHeight: 16 /* Pixels */;
}

labelWidth is also supported, but text length varies more than text height; so it's not really usable in practice (If the value is too high, scrollbars may appear; if it's too low the text will be truncated)

With this rule, the text will be truncated when necessary, instead of expanding the figure, which should result in more stable layouts across platforms/screens.

Regards,
Camile]]>
107259818071341794313Re: Class Diagrams get messed up?1211935952019-05-23T11:26:31-00:00
Many thanks for the info - in later versions of Windows setting the DPI scaling to 100% seems to make things usable again. Is the issue with Papyrus, GMF or Eclipse and do you know if a fix is planned?

Toronto limousine]]>
109903318071291807120Re: firewall warning2732253712019-05-23T09:06:41-00:00
we are using resberry -pi-2 kura binary and our target platform is renesas processor (cortex-a7) and linux(yocto) os.Attached the kura-console.log file also.]]>
109901518071281807104Re: ELK nodes2622171732019-05-23T09:05:04-00:00
If I understand well you should have a LayoutMapping as entry point of your custom layouting.

In this element you can access the graph map by using mapping.getGraphMap()
that will be of real type BiMap<ElkGraphElement, IGraphicalEditPart>.

So for each ELK element you have its associated edit part. You will have to cast it because the map is of type BiMap<ElkGraphElement, Object> when you have it.

First use the mapping to retrieve the edit part.

Then from graphical edit part you have to do the following to retrieve the semantic element behind: ((DDiagramElement)((View)editPart.getModel()).getElement()).getTarget()

Regards,]]>

3562268171

109604918071271797795How to install updated server adapters882252572019-05-23T09:00:25-00:00
2. The EXE is a self-extracting compressed file and you can double-click the EXE you downloaded to automatically install the drivers and Proset software. For manual installation, continue to step 3.
3. Use your favorite Zip software to extract the files from the installation package you downloaded (either PROWinx64.exe or PROWinx32.exe) to a temporary location. Example: C:\Temp\PROWinx64
4. Open Device Manager Right-click Start and click Device Manager OR run devmgmt.msc .
5. Right-click the connection you want to update and choose Update Driver Software. If there is no driver installed for that device it will show up with a yellow exclamation and have a generic name such as
Ethernet Controller.
6. Choose Browse my computer for driver software.
7. Click Browse and go to the folder where you extracted the driver files. Make sure that Include subfolders is checked so that it will scan the entire driver set.
8. Click Next and it will start to install the driver software. Once installation is complete, it will show in the network adapters section.
9. Continue with the same process for any other adapters you wish to update by selecting the adapter from the list.

Toronto limo]]>
109683618071261800589Re: I keep seeing this error repeated on new installation of Servoy.882252572019-05-23T08:45:31-00:00
2. Then import the git repo again.
3. I find it a bit weird that it complains about /.metadata thats a dir inside the workspace but git should not really touch it (its a configuration dir of eclipse itself).

Toronto car service]]>
109904018071251807114Sirius 5->6: Unknown protocol "java" for semanticResources2622171732019-05-23T08:43:49-00:00
Are you using Xtext with Sirius?

Chauffeur service Toronto]]>
4362018071231806121Re: Setting up security for Tomcat running locally882252572019-05-23T08:36:24-00:00Black car service Toronto]]>
109896718071221807091Re: Open a properties Dialog from a custom widget2622171732019-05-23T08:07:57-00:00
Each id variables corresponds to a custom operation with corresponding id.
So put back the on click java line with an id like "onClickExpressionId" and in your VSM use a custom operation with id "onClickExpressionId" doing the same stuff as the reference widget. Then this should work.

Regards,]]>
109904318071210802254562019-05-23T07:51:54-00:00
sorry if this question is too simple but I'm going a bit crazy trying to figure this out. I've been learning C++ at school for a while now and was thinking about trying my own projects. At school, the way we code is with a virtual machine and servers and all confusing stuff I do not understand yet (we use emacs and g++ on a linux OS I think). However, when trying to find a way to do this on my computer (Windows), I'm getting so lost in trying to find a good tool and getting lost in how to use everything. Thank you very much for the help.

]]>
109903318071201807116Re: firewall warning2732069272019-05-23T07:30:33-00:00
I believe that you installation target is not compatible with the commands used by Kura to manage the networking/firewall. Probably there is also some meaningful error in the Kura.log or Kura-console.log file in /var/log.

Maybe have a look at those files.

Is it possible to have more details on your target device and operating system?
Which Kura binary did you install?

Best regards,
Matteo
]]>
109903218071191807092displaying images not from the default directory1741524122019-05-23T07:23:12-00:00
Thanks for debugging and reporting that issue here. It seems like you have found a bug in the JSON layer of Scout. When Scout requests an icon via HTTP, the request URL looks like this:

http://localhost:8082/icon/flags/flag1.jpg

The request is handled by the class IconLoader where the following happens:

]]>
1099042180711802702254542019-05-23T06:47:58-00:00
I am trying use Mosquitto as a client to VerneMQ. Mosquitto setup as bridge for local connection on localhost and connecting to VerneMQ with parameters
```connection bridge-to-vernemq
address vernemq:1883
topic # out 2
topic # in 2 sender/receiver/ sender/receiver/

Maybe, vernemq not allow to work as mqqt bridge receiver ? Can anybody help me with this setup ?
Thanks!]]>
109904118071170272250362019-05-23T06:20:30-00:00109903318071161807097Re: firewall warning2732253712019-05-23T05:44:42-00:00
Thanks for reply,

I install kura in my device armv7hf, after installation i go to Ui part with Ethernet. whenever i click on firewall tab it's showing Warning that ( GwtNetworkService_Proxy: 500 Server Error The call failed on the server; see server log for details) and kura is monitoring the Ip of device it seems in which file i should go to fixed it. first kura is runing on Ethernet ip then i switch to wifi then it's restarted it. i am not getting the ip of wifi in my console.

Thanks,
Steve ]]>
1099038180711201061286172019-05-22T20:58:25-00:00
I have a plugin that uses a fragment for language resources. It works fine with RCP but not with RAP. The RAP application does not find bundle message files hosted int OSGI\îI10n folder (Bundle-localization is correct).

It has worked on time (I don't why) but it is the case now.

I can't find the problem

OSGI console show that the fragment is resolved]]>
107735818071111794255Re: BIRT and MongoDB 3.222254502019-05-22T18:31:24-00:00
Works with

109903618071071807106Re: Using Xtext Parser/Java Models in Server Side (Spring Boot) App27249742019-05-22T16:29:45-00:00109903618071061807105Using Xtext Parser/Java Models in Server Side (Spring Boot) App27318752019-05-22T16:15:51-00:00109903618071050271099892019-05-22T16:08:14-00:00
Is there any example of achieving this? What I seen so far that Xtext parser needs access to Eclipse osgi bundles so just trying here and see if you have any example of making that work.

If that approach is not going to work, can we use the Antlr4.g file generated by Xtext during compilation and use that file to generate models/parser that could be used in the server?

I think that the problem is due to the confirmation windows (I can close in the same way without problems another AUT that doesn't have a confirmation window) but I don't know what to do to avoid/ignore it ...

I am working on linux sles 11 [2.6.32.12-0.7-default - x86_64] and Jubula 8.1.0.

thanks]]>
109901518071041807073Re: ELK nodes2622254482019-05-22T15:59:37-00:00
Im working with Bruno
So, we are using Obeo with Sirius and we want trying to reorganize the runtime diagram using ELK. We already created the ELK algorithm and its all working well. But in order to know what node we are selecting from the main layoutGraph we need to know if its possible to do something like "if(nodeX is instance of SomeDomainModel)".
Is that possible?]]>
109897118071021807101Re: how to load EFeatureMapEntry of the referred ecore using XMI Resource load10822532019-05-22T15:52:42-00:00109897118071011806926Re: how to load EFeatureMapEntry of the referred ecore using XMI Resource load1082094092019-05-22T15:39:54-00:00
"should ensure that this factor is used to create the resources used to load and save your model instances; generally there will be a registration in the plugin.xml to use that factory, so you should ensure your file extension is unique so that your registered factory is used"

can you help me]]>
109900418070941807086Re: How to specify C++ member initialzers in Papyrus?121829802019-05-22T13:18:12-00:00
wiki page. This stereotype (as well as create/destroy) was missing in the table explaining the stereotypes of the C++ profile.]]>
109901818070931807068Re: Qualified Associations1211544992019-05-22T13:13:59-00:00
Is there some technical reason or has it just not been done in which case I can file a feature request?

Steve]]>
1099032180709201742251622019-05-22T12:57:52-00:00
I would like to add a lot of images to my application and for better clarity and order, I would like to store each group of images in an independent sub-directory.
Thus, for example: in the default directory /org/eclipse/scout/apps/myapp/client/icons in the "src/main/resources" folder of the * .client module I created a new sub-directory called flags, where I saved some of the images. To display one of them (flag1.jpg) I used this code:

I see that the Scout Platform calls above findResource method for the relativePath = "flags/flag1.jpg" parameter and finds the resource.

So where is the catch? What am I doing wrong?]]>
109896718070911807076Re: Open a properties Dialog from a custom widget2622249452019-05-22T12:40:29-00:00
I tried to place a Custom operation between my custom widget and the begin but it does nothing. I suspect I have to further modify my TableController ?
Here is the modifications I did in the TableController in case I broke or missed something. The table is showing the correct values and refresh well.
In the refresh operation I replaced these to get the table to populate since I don't have a VALUE_EXPRESSION_ID.

Also in the handleClick method, I removed this line since I don't have a ON_CLICK_EXPRESSION_ID

EvalFactory.of(this.interpreter, variables).call(onClickExpression);

I also tried to put the selected element in the variableManager but it did nothing more.

]]>
109901218070901807032Coevolution with reference outside scope2461325412019-05-22T12:18:33-00:00
You can disable the detection of out-of-scope value elements, if that is what you are looking for.

Just customize the diff policy as follows:
boolean coverOutOfScopeValue(EObject element_p, EReference reference_p) -> return false.]]>
109901018070891807025Image browser widget1742251622019-05-22T11:55:50-00:00
It would be perfect, if it would wrap the presented elements if they do not fit into one line.
With a large number of images, they are tightly packed, trimmed and still presented in one line.
Maybe, however, it is possible to force it to automatically wrap elements in several lines in such cases?]]>
109874518070881806143How to resolve terminal conflict272199642019-05-22T11:38:11-00:00109903118070871807085Which command framework should be used preferably?1211017432019-05-22T11:37:18-00:00
Specifically for Papyrus, EMF Commands and GMF Commands are now pretty much on the same level (Anything manipulating the model can use EMF Transaction or GMF Runtime Commands). The relationship between Commands Stacks (GEF, GMF and EMF) and Eclipse OperationHistory have always been a little bit chaotic, so I'd still recommend using the EditingDomain's EMF CommandStack to execute commands (So you'd have to wrap a GMF Command in EMF Commands); that's the most reliable option (Eclipse OperationHistory and GMF CommandStack are more powerful in that they can discriminate commands based on their Undo Context or Affect Resource, but in general that introduces a high risk for breaking Undo/Redo and Papyrus won't always handle that properly)

Alternatively, you can use the DiagramCommandStack to execute GMF Commands (Wrapped in GEF Command through ICommandProxy). That's mostly useful when you don't know if the Command will actually modify the model (i.e. when you don't need Undo/Redo support, e.g. when navigating a link or opening an external URL)

It also depends on the context, e.g. if you have access to a DiagramCommandStack or if you only have the EMF CommandStack. The EMF Command Stack is present as soon as the model is loaded, but the Diagram Command Stack is related to the Diagram Editor, i.e. only when the Diagram is open. But in any case, you can wrap a GMF Command in a GMFToEMFCommandWrapper and just execute that on the EMF Command Stack.

When unsure, just try both approaches and see if Undo/Redo works as expected :)

HTH,
Camille]]>
109900418070861807028Re: How to specify C++ member initialzers in Papyrus?1212089002019-05-22T11:25:27-00:00
In fact, I noticed this stereotype before, but its name led me to believe it was intended to used to specify const member initializations located in the classes' declaration.

]]>
109902718070821807078Crosscompiler error - missing path ?892007452019-05-22T10:59:18-00:00
You're cross-compiling to ARM Linux (Raspberry?), and you are using a PC as the development machine.

The arm-linux-gnueabihf code will not run on a PC, unless you have an ARM simulator on the machine. Just download the run file to the Pi and try running there.
]]>
109886618070811807001Re: How can I add an ECore Modeling Project into my CDO Repository1082253252019-05-22T10:18:50-00:00
Thanks for your help. I will follow that up.

With kind regards
telelolo]]>
1099028180708003082254382019-05-22T10:14:21-00:00
Few queries in this regard:

Which variable stores the value of the data from the FB? Why is serialization required?

When I manually create the data packet and send it over the network and try to read the data over wireshark, I lose two bytes of data every time. Any ideas on this?

How to configure data display on the FB's after data is received through and the network?

The aim is to just show the data on the FB's, there is no hardware I/O's involved.

Any help in this regard is deeply appreciated.]]>
109895418070791806878Parent container going null in SiriusCanonicalLayoutCommand class2622171732019-05-22T09:37:15-00:00
Is it your code that do the arrange on diagram element or does it happen when you save your xtext or when you refresh the diagram?

As best as I can tell it is due to missing "Cross Setting " -> Path
I have no clue WHERE is this arm-linux-gnueabihf- located , hence "Browse" does not really help.
I am not that versed using Linux to "find" the arm-linux-gnueabihf- directly without using "Browse" .

Any help with Linux will be appreciated

Thank
Crisitanohttps://www.facebook.com/chunsondz/]]>
109898218070771806968Hierarchical List as Property View2622171732019-05-22T08:58:31-00:00
I am not sure to understand your need.
From which element select do you want this component? And when you say a hierarchical list do you mean that the selected elements should show all sub elements recursively? So if a Physical asset is selected, the properties widget will show tests items and under these items sub tests items, etc?

Regards,
]]>
109896718070761807065Re: Open a properties Dialog from a custom widget2622171732019-05-22T08:49:45-00:00
Custom widget works like the other already existing widget.

If you did the basic approach you must use a custom widget in the odesign with the id that corresponds to the one of your custom widget. With the advanced approach, the widget is available with its own name.

After that you have the same operation language available whatever approach you chose. The only difference is the presence of Custom operation element before the begin with basic approach but then you can do the same as the reference widget.

Regards,
]]>
109902618070750892254462019-05-22T08:46:55-00:00
When I create a new java project this error appears on the screen:

I tried to set a new workspace and remove and install Eclipse again, but nothing worked so far.

Also...... I am totally new to java programming and not so skilled in programming in general

Thanks]]>
109898418070741807063Re: Model explorer & diagrams label colors2622171732019-05-22T08:39:14-00:00109901518070731807047ELK nodes2622171732019-05-22T08:24:23-00:00
I can't seem to understand the context of your question.
Can you be more specific? How are you using ELK with Sirius?

Regards,

]]>
1099025180707203082254432019-05-22T08:23:56-00:00
2.Can we debug ST anywhere or just by monitor& watch the output result?
3.Can you plz provide more information about service sequence
4.Can you talk about any difference between 4DIAC and CodeSys?

Thank you very much!
]]>
109350518070711789501Gradle Executions View" does not show build status at all 3092254442019-05-22T08:22:47-00:00109899118070701807060Re: Hanging on reote development for python scrips on RPI892007452019-05-22T07:40:10-00:00109901818070681807053Qualified Associations1211017432019-05-22T07:01:05-00:00
Papyrus diagrams don't support qualified associations. You'd have to edit the model manually (Via the Properties View; probably using the advanced tab) to get the correct model; but even then, diagrams would only show standard associations.

Regards,
Camille]]>
109896918070671807044Re: Eclipse/papyrus crash1211017432019-05-22T06:58:48-00:00
During zooming in/out, SVGs are re-rendered to match the new scale. There is no native SVG Rendering in Eclipse/Papyrus, so the SVGs are pre-processed to a bitmap based on the zoom level, and then displayed as bitmaps. When the zoom level changes, the bitmap has to be generated again to match the new definition.

So I can definitely imagine that zooming in and out with a lot of SVG increases the risk of crashes, since everything tends to indicate that SVG Rendering is part of the problem

Cheers,
Camille]]>
10990231807066082254412019-05-22T06:52:48-00:00
Unfortunately, the TI documentation appears to me being a mess of circular references. Is there a current user/reference guide for XDCTools/CCS somewhere available? ]]>
109896718070651806983Re: Open a properties Dialog from a custom widget2622249452019-05-22T06:40:47-00:00
Well I would like to be able to double click on an element of the custom table widget and show the properties of that element in a Properties Dialog, same comportment as the reference widget that I have attached to my message.
I guess if I could find a way to start a "begin operation" in the odesign inside my custom widget I would be able to do the same thing.
I noticed that you can have a "custom operation" inside the custom widget and then a "begin operation", is that how I should do it ?]]>
109352918070641790289Re: RTSC-pedia down82254412019-05-22T06:25:41-00:00
http://rtsc.eclipse.org/) is down again, while the IP mentioned in previous reply still works]]>
109898418070631806984Re: Model explorer & diagrams label colors2622249452019-05-22T06:25:17-00:00
https://bugs.eclipse.org/bugs/show_bug.cgi?id=547537]]>
109902118070621807061Re: SSH login2972038612019-05-22T06:18:38-00:00
Roland is right ,

in 6.5.1 we have introduced a more restrictive (and backwards incompatible) behaviour to align with the standard:

Changes implemented:
- '*' (any value or none) is no longer allowed as the matching template of 'receive', 'catch' and 'done' operations and as the return values' matching template in 'getreply' operations;
- the type of the value redirect is no longer used to determine the incoming message type (in 'receive', 'catch' and 'done' operations); the compiler must be able to determine the type from the matching template alone (if multiple message types), or an error is displayed.)
Example:
someport.receive(*) -> value var0 {} will be replaced with someport.receive(vartype:?) -> value var0 {}
(where vartype is the type of variable var0)
someport.receive(?) -> value var0 {} will be replaced with someport.receive(vartype:?) -> value var0 {}
(in case several message types can be received)
Note: someport.receive(?) -> value var0 {} remains valid if only one message type can be received (the compiler will infer the vartype)
someport.receive(*) {} will be replaced with someport.receive {}
someport.receive(?) {} will be replaced with someport.receive {}

where TYPE could be any type listed as in/inout in the port type definition of SSH_PCO.]]>
109899118070601807051Re: Hanging on reote development for python scrips on RPI892118862019-05-22T04:14:05-00:00
is this correct that I need the same Version of python on the host (PC) and the raspberry? ]]>
109900718070591807017Eclipse freezes every time after a bit of usage895812019-05-21T20:41:59-00:00
https://wiki.eclipse.org/How_to_report_a_deadlock#Getting_a_stack_trace_on_other_platforms .]]>
1099022180705801112254392019-05-21T20:39:41-00:00
for example, @Enumerated is missing a couple of features, it only allows mapping the Enum index or string(getName).

I would like to extend or create a new annotation to accept two more parameters Field and type to be able to return any field inside a specific Enum. Or give the options to start at index 1 instead of 0.

PL: java
thanks]]>
109902018070571807055create/extend custom annotation222088722019-05-21T20:36:44-00:001099021180705602972228882019-05-21T20:33:09-00:00
After cloning, the following SSH Client: https://github.com/eclipse/titan.TestPorts.SSHCLIENTasp
We came across this compiling error (Cannot determine the type of the incoming message) on these specific lines in SSHCLIENTasp_echo.ttcn and SSHCLIENTasp_functions.ttcn:

Regards - David]]>
109902018070550222254392019-05-21T20:32:11-00:00
for example, @Enumerated is missing a couple of features, it only allows mapping the Enum index or string(getName).

I would like to extend or create a new annotation to accept two more parameters Field and type to be able to return any field inside a specific Enum. Or give the options to start at index 1 instead of 0.

PL: java
thanks]]>
109901918070540892254392019-05-21T20:29:57-00:00
is it possible to create or extend a JPA annotation for mapping Enums.
for example, @Enumerated is missing a couple of features, it only allows mapping the Enum index or string(getName).

I would like to extend or create a new annotation to accept two more parameters Field and type to be able to return any field inside a specific Enum. Or give the options to start at index 1 instead of 0.

Thanks for reporting :-)]]>
109899118070511807038Re: Hanging on reote development for python scrips on RPI892007452019-05-21T19:40:12-00:00
You should also check that there is Python on the RPi.
]]>
109897418070501806937Generic Editor PDE Wizard example: no access to underlying editor widget?12765602019-05-21T19:35:00-00:001099017180704901082254372019-05-21T18:47:51-00:00
========================================================

java.lang.NullPointerException
at org.eclipse.acceleo.internal.ide.ui.debug.model.AcceleoProcess.getAttribute(AcceleoProcess.java:56)
at org.eclipse.jdt.internal.launching.LaunchingPlugin.deleteProcessTempFiles(LaunchingPlugin.java:1211)
at org.eclipse.jdt.internal.launching.LaunchingPlugin.handleDebugEvents(LaunchingPlugin.java:1203)
at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1137)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1171)
at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)]]>
1099015180704702622245142019-05-21T17:39:04-00:00
Its possible I know DNode with ElkNode and what is the first function when open/load diagram representation?

I guess that I will stick to the command line approach for now.]]>
1099014180704201212250932019-05-21T16:39:37-00:00
As my first class diagram grows, I want to split this class diagram into two and want to copy a subset of some classes within a new class diagram in model b.

However, I cannot find the appropriate option for that?

Is this possible or do I have to create all new nodes again in model 2?]]>
109899418070411807012Re: How to Test custom validation with JUnit27318752019-05-21T16:36:44-00:001099013180704002802254292019-05-21T16:20:34-00:00
I connected the mn-cse to the in-cse and created an AE in the mn in which there is a DATA container containing several CIN and I would like to subscribe to it using a monitor. I managed to create the AE for the monitor but I can't create the subscription (error code 404). Could someone help me, please?

]]>
109870918070391807036Re: Reg. GCC versions2972038612019-05-21T15:49:33-00:00
this might not be necessary;

and then add these to the appropriate login script,
then all Titan binaries will become visible.

Best regards
Elemer

]]>
109899118070381806989Re: Hanging on reote development for python scrips on RPI892118862019-05-21T14:56:51-00:00
thanks for your answer.
Yes I was able to connect to the RPI using SSH and Rmote System Explorer.
I also installed PyDev.
What IDE did you install? Was it the Eclipse Standard or any other?
I installed the pure eclipse and also java 1.8.
But when I try to open the remote shell view I get an error (see picture)
What is the next step? Do I need to install Python?
With kind regards
Kurt]]>
109896918070371807031Re: Eclipse/papyrus crash121829802019-05-21T14:56:34-00:00
* {
svgFile : "none"
}]]>

356142246053

109870918070361806882Re: Reg. GCC versions2972231412019-05-21T14:32:43-00:00
Also, we had to do an update on the ttcn3_start, for our case. That when we remote login and run the ttcn3_start on a server, it gave an error in the below area

We had to manually fill in the path to directory. What we found was, the script was running if we had to start it manually. But when we had to auotmate, via remote connected it wasn't getting the /path/to/dir for mctr_cli. This is just for your information. ]]>
109899618070351806999Code Indentation/Alignment in code snippet section3141101612019-05-21T14:16:39-00:00
Also unfortunately, there is no active development on PapyrusRT, so a fix is not coming soon. But it is an open source tool, so if this is a very big issue for you, you can always clone the git repo and try your own fix.
]]>
109900318070341807013Generating PDF-Documentation of a Papyrus-Model121726532019-05-21T13:27:56-00:00
we are working on an additional component to generate easily a documentation from a UML model. We hope it will be available for July 2019.
You can also use GenDoc https://www.eclipse.org/gendoc/index.php which comes with a Papyrus integration.

Regards,
--
Vincent Lorenzo
]]>
109900118070331807008Importing Epsilon files across distinct Eclipse projects222088722019-05-21T13:14:55-00:00
Do you have a reproduceable example to share?

Thanks,
Sina]]>
1099012180703202462094052019-05-21T13:13:50-00:00
I have differences in my coevolution then I don't change the model.

In my case,

I transform a source object A in a target object B. In the B object, i create programmatically a link who references the source object A. But when I execute a coevolution, the UI merge editor indicates a difference on the reference of the A object.

Do you have an idea ?

Thanks]]>
109896918070311806969Re: Eclipse/papyrus crash1211544992019-05-21T13:03:23-00:00
Steve]]>
109897518070301807023Re: Working with tables2082252812019-05-21T12:35:29-00:00
What I am doing is using ub_tbl_selectCell to get me to the correct cell and then ub_grc_click to click on the button. I will see if I run into issues with the other buttons. As you say writing my own action is more complex, being new to Jubula it is yet another thing to learn.
Regards
Mike]]>
109896218070291806900Formatter problems272253982019-05-21T12:17:20-00:00newLine attached (either with append or prepend) otherwise the indent commands have no effect. For me this is and "uncommented" feature.]]>
109900418070281807014How to specify C++ member initialzers in Papyrus?1212193222019-05-21T12:06:33-00:00
You can apply the stereotype "ConstInit" (of the C_Cpp profile) on your constructor (Operation which has the stereotype "Create"). In the field "initialisation" you can type your member initializer. With your example : mValue(0)

Regards.

Yoann Farré]]>
109896018070261806915Re: Resizing font icon in AbstractImageField1742251622019-05-21T11:04:23-00:001099010180702501742251622019-05-21T11:02:37-00:00
I need to use some kind of widget in my application, that would present a predefined list of images, with the option of selecting one of them (with graphical visualization of the currently selected item, e.g. with a border, other background or something similar).

I looked at the https://scout.bsi-software.com/widgets page to search for a dedicated widget for such a purpose, but I did not find one.
That's why I decided to adapt the Tile Field to this goal, using AbstractImageFieldTile. Example of code:

Is there a dedicated widget for such cases that I do not know about, or is it planned to be introduced in future versions of the Scout platform? Or do you recommend any alternative solution instead of Tile Field?

It seems that particular tiles, displayed inside the Tile Grid, always have a constant height and width, dependent on the number of columns. They do not automatically adjust to the size of their content. Thus, for example, by presenting small images in them, results in wastage of space and large margins between the content and the edge of the tile. Is it possible to reduce the size of these tiles (either permanently or automatically)?

Images presented with AbstractImageFieldTile are aligned to the left upper edge of the tile. Is it possible to align them to the center of the tile?

]]>
109897518070231806939Working with tables2081378192019-05-21T10:44:04-00:00
In this case it might help to use the selectCell(with mouse position) module, but this is more of a workaround
The best solution would be to write your own action as an extension, but this is more complicated.

best regards
Marvin Mueller]]>
109898018070221806953Re: Button Check existence2081378192019-05-21T10:23:30-00:00
best regards
Marvin Mueller]]>
109897918070211806955Re: Libraries2081378192019-05-21T10:22:47-00:00
Therefore in Jubula there is nothing really like a library. But the concept of re usability between projects.

[1] http://eclip.se/545529]]>
1099009180701901001048482019-05-21T10:15:46-00:00
I have an Eclipse RCP application under Indigo.
Actually the application run under Mac OS X 10.6.

I must migrate under a new version of MacOS X : 10.14
I can't migrate this application under a more recent version of Eclipse.

Under the mac Os X 10.14, the application crash. The version of SWT is not compatible with Os X 10.14.

Is there a SWT version that is compatible with both:
- Eclipse Indigo
- Mac OS 10.14

Thanks for help,
--
Philippe EUGENE]]>
1099008180701801001048482019-05-21T10:13:12-00:00
I have an Eclipse RCP application under Indigo.
Actually the application run under Mac OS X 10.6.

I must migrate under a new version of MacOS X : 10.14
I can't migrate this application under a more recent version of Eclipse.

Under the mac Os X 10.14, the application crash. The version of SWT is not compatible with Os X 10.14.

Is there a SWT version that is compatible with both:
- Eclipse Indigo
- Mac OS 10.14

Thanks for help,
--
Philippe EUGENE]]>
109900718070170891478322019-05-21T10:12:52-00:00
Moving to Eclipse to v.2019-03 did not improve the situation. Tried with newer JDKs, no change. My workspace is C++ / CDT. Is there any known workaround or a way to help understanding what is the reason causing this behaviour?

Yours,
Mickey]]>
1099004180701401212089002019-05-21T09:56:57-00:00
how does one specify member initializers for a class' members in Papyrus, i.e. to end up with

what does cause Foo's constructor to call the member initializer? On a similar subject, how cause generating a base class initializer?

Thanks,

Martin Friedrich]]>
109900318070130121210062019-05-21T09:45:07-00:00
Is there a way (e.g. additional plug-in) to create a documentation (e.g., in PDF-Format or .dcx) of a model described in Papyrus? So that one can find the properties of a model element and the descriptions of the models in a document?
Has this to be done manually?]]>
109899418070121806992Re: How to Test custom validation with JUnit272223722019-05-21T09:31:00-00:00
I got it, it works now. But another Problem occured.

When I test it with String..assertCompilesTo(String) it throws me error: multiple files are generated.
How can i test one of this files?
Thanks,
Markus
]]>
109888218070111806958Re: How to show subset of the Sirius-based model diagram262677972019-05-21T09:20:51-00:00
1) You should have automatically the New and Open contextual menu to open a sub-diagram so I imagine that you ask the question in the context of a tool you are adding. Depending on what you are doing it should be accessible by aql:self or var:element. If this is not the case, I will need more information.
2) It's not really the usual approach of variable filter (I mean triggering a filter and using the current selection) so I can't find a sample from the top of my head, sorry. You can define new variables on your tool but I do not think you will be able to have the selected element easily (or at all). The simplest way is probably to directly access the active editor (PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor()), access the current selection in the editor and get the semantic element.

Regards,
Steve
]]>
109900218070100242254322019-05-21T09:04:37-00:00
I'm a new Member here in the Forum. I'm currently writing my masters thesis about the development and usage of an ecore-based metamodel.
Since the developed model will be used in different projects at some point it is necessary to transform it into different representations like XML and JSON, preferred but not necessarily the latter.

I searched for days now, without finding an appropriate solution by myself, how to transform my model.ecore to model.xml/model.json.
My model does not contain any special annotations or extensions - just plain ecore.
There has to be something obvious that I'm missing. I hope that someone here could help me to set up the transformation process in my Eclipse installation since I cant do it myself.

10990011807008022868882019-05-21T08:47:40-00:00
I have a library (in that case in .eol) that I want to reuse across different Eclipse Epsilon projects. I tried with the import statement using both relative and absolute path (that is not a solution anyway) without success.

Any suggestion to manage dependencies?

br,
Luca]]>
1099000180700701112038412019-05-21T08:46:19-00:00
Strangely, when starting the app a second time *without* the -clean parameter, we get a NoPersistenceProviderFound Exception.

If I understand correctly, then the -clean parameter will tell OSGi to dismiss it's cache.

We have tried
1) embedding the eclipselink, persistence and derby jars inside our db plugin and also
2) providing them via a target platform as osgi bundles.
The result remains the same.

A .launch configuration is just a XML document that saves your Run Configuration in Eclipse.

You can select your .eol file (or any other executable file)
Right Click
Run As..
Run Configurations
Create a new Run Configuration (details depends on the file you want to execute)
Select the Common , the rightmost tab in the windows
Choose shared file option
Click Apply

The launch configuration file (.launch) will be saved

Finally, you can run all the .eol files you want using the import statement or following the java example in the git repo.
You should download and read the epsilon book and/or check the you tube videos that show Epsilon in action.
Good luck
]]>
109818618070041804407Error de autentificacion772252572019-05-21T08:38:40-00:00
Toronto car service

Toronto car service]]>
109899818070020162251242019-05-21T07:17:34-00:00
Is it possible to get the GraphicalViewer of an existing editor programmatically?

I read in the book of Bettini but don't get it.
How to test it properly? Valid Positions, greater and smaller than the range?

Thanks
Markus]]>
109899318069901806988Re: Deprecating properties27318752019-05-20T17:30:43-00:00https://blogs.itemis.com/en/xtext-usability-hovers-on-keywords]]>
109899118069891806981Hanging on reote development for python scrips on RPI892007452019-05-20T17:21:58-00:00
What was the error message, if any?
Can you connect to Pi using a SSH client on the host computer?
Please show a screen copy of the situation where it does not work.

---

I did a quick test using my 2019-03 version Eclipse on my MacBook,
and everything went so far that I saw the client files.
]]>
109899318069881806987Re: Deprecating properties272228512019-05-20T17:19:52-00:00
I know that the Parser does it, but how can we do it inside a validator?

The parser but inside a validator, I only have access to the EObjects not the tokens that the user types?]]>
109899318069871806986Deprecating keywords27318752019-05-20T17:17:15-00:00109899318069860272228512019-05-20T17:16:18-00:00
Rule:
'rule' name=ID '{',
('validProperty') |
( 'deprecatedProperty')
'}'

I can mark the rule itself with @Deprecated , but not the property 'deprecatedProperty'

I other words, how can I best deprecate a keywords, so that I can validate it in the client, as soon as the user uses the keyword?

How can I deprecate this property and how can I validate it in the client?]]>
109896818069851806920Re: missing button applying default appearance settings?1212188722019-05-20T16:32:58-00:00109898418069841806971Model explorer & diagrams label colors2622171732019-05-20T15:50:09-00:00
It seems to be a bug. You can open a ticket if you want: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius.
But it will not likely to be a priority.

Regards,
]]>
109896718069831806912Open a properties Dialog from a custom widget2622171732019-05-20T15:30:31-00:00
When you say you want the same comportment, do you mean the same widget integration in the odesign editor as other widget or the same behavior than the reference widget (it does the same thing)?

Regards,]]>
1098992180698202412252062019-05-20T14:56:34-00:00
How can i do it plz?]]>
109899118069810892118862019-05-20T14:49:43-00:00
I'm almost frustrated because I try to setup eclipse to develope python scripts on for my raspberry.
I found a good description for setting up eclipse for remote development of python scripts on RPI with Eclipse.
Please see:https://sites.google.com/site/programmersnotebook/remote-development-of-python-scripts-on-raspberry-pi-with-eclipse
But I hang on the topic "Configure Raspberry PI". It does not work.
Pleas could I get a tip how to debug the python script?
!!! >>>>Thanks for any ideas<<<<!!!
Kurt ]]>
109898918069801806977Show Content Assist in properties view text widget2622171732019-05-20T14:44:55-00:00
There is no mechanism to plug your own text assist content on widget provided by Sirius by default.
But you can create custom properties widgets where you can use it on the text fields declared.

Regards,
]]>
109892218069791806787Highlighting with multiple conditions in a cross tab22253572019-05-20T14:40:36-00:00109899018069780892254252019-05-20T14:04:04-00:00
I am trying to set up a deployment of Eclipse into a training room environment using virtualisation technology (AppV).
What I am unable to find, is a way of configuring the eclipse-workspace and all other user folders to point to the C:\Users\Public folder rather than the C:\Users\<current-user> folder. The training environment is rebuilt each time a course is completed, so there are no issues requiring data to be stored in a user-specific folder.

I have tried manually going through all configuration files in the current user profile, changing the paths to c:\users\public, and ensuring the files are present in the C:\users\public folder when eclipse (for Java Developers) is started, but somehow it still tries to default to the current user profile.
Clearly I am missing a setting somewhere, or the app cannot be hard coded to a specific user folder, so any help here would be most welcome!

Thanks
EdT]]>
109898918069770262470182019-05-20T13:50:28-00:001098988180697601212193222019-05-20T13:45:59-00:00
I would like to extend the navigate menu (at right click on a diagram element).

I'm trying to use the extension points navigationRules and navigationDecoratorRules from plugin org.eclipse.papyrus.infra.gmfdiag.navigation but cannot arrive to complete the menu like I would.

I would like to show the type of connectable element of a lifeline (if available).

I'm not sure that the extension points can do the job. It seems there are several kind of NavigableElement (defined in this plugins or in org.eclipse.papyrus.infra.services.navigation.service.NavigableElement). Can I have some advices or pointers to do that?

Thanks.
]]>
109896918069691806922Re: Eclipse/papyrus crash121829802019-05-20T11:11:17-00:00
well, while more people in the Papyurs development team use Windows, I'm a Linux user and regularly test current Papyrus versions. Concerning this error, it's apparently related to the use of SVG images. I've reported Bug 544501 - so far without resolution. I also tried to set the SWT_CAIRO environment variable, but this did not change the problem.

Best

Ansgar]]>
1098982180696802622243092019-05-20T10:24:57-00:00
i want to have a property view for the following Metamodel:

subtest
______
| |
v |
Physical Asset <----- tests ------- Test ___|

Physical Asset has several test, which can be out of several subtests. This recursive pattern can have a depth of 3. (So imperative design is possible)

I want to have or build a component, which can handle this structure: A hierarchical List in the property view.

What is the best approach for that?

Thanks,
Bushra :)]]>
109888218069581806708Re: How to show subset of the Sirius-based model diagram262718902019-05-20T03:45:22-00:00
Thank you for the response. I am now trying both approaches at the same time, and I am facing one issue.

1) In the object-centered diagram approach, I need to be able to refer to the selected model element (instance) in AQL statement (or could be Java service). Is there any way to reference the selected element(s)?

2) In the variable filter approach, I need to be able to again refer to the selected model element in AQL or Java. In the previous response message, you wrote: " you will need to call a Java service that will first find the selected element on the diagram." Is there any sample or previous thread discussing this (I could not find this)?

Above issue may come from the fact that my ecore model defines Link eClass (explicit class representing a Link), rather than defining a Link as a relationship between Nodes. Therefore, using the reference to the selected element, I need to find links that reference from (source) or reference to (target) the selected element.