Eclipse Community Forums
Forum Search:

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

Forum: Newcomers
 Topic: Eclipse Luna setup
Re: Eclipse Luna setup [message #1644598 is a reply to message #1643635] Mon, 02 March 2015 04:53
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3322
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03/01/2015 06:35 PM, Er. Arvind Bakshi wrote:
> Hello There. I have installed MinGW & setup path variable in environment
> variables.
> Now how to setup eclipse luna to use this MinGW for compilation &
> execution. I have seen a lot of videos from youtube but none seems to
> work. The guide provided with eclipse luna is even more complicated than
> the video making it useless.
> Can you provide me a video to setup eclipse luna for c programming using
> MinGW installed in C:/MinGW. using cmd,notepad & MinGW i am able to do
> programming but I want to use features of IDE like typing mistakes &
> auto-complete etc.
>
>
> Luna Service Release 1a (4.4.1)
> Build id: 20150109-0600
> OS-Windows 7(64-bit)
> MinGW version 4.9.1(64-bit)

Welcome. It sounds like you want to develop in C/C++. Please ask the
Eclipse CDT forum for help.
Forum: RCP Testing Tool
 Topic: Execution Failed when running test suite
Re: Execution Failed when running test suite [message #1644705 is a reply to message #1634510] Mon, 02 March 2015 06:07
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 101
Registered: September 2014
Senior Member

Hello,

Try to increase step mode timeout in test options (jobTreatAsSleepingTimeout) or in Window -> Preferences -> Q7 -> Advanced options -> Enable step mode for job after timeout (job in Thread.sleep, Object.wait). It seems that RCPTT waits of job time out while waiting for an external event. We consider such job to be waiting for user input.

Also, try to increase Job Hang skip timeout(ms) (it is jobHangTimeout runner argument), because, probably, there is a hanging job.

You can find more information on http://rcptt.xored.com/arguments in RCPTT Runtime options section.

Please let me know if it is helpful.


Yours sincerely,
Olga.
Forum: NatTable
 Topic: Copy the text from Non Editable Cell
Re: Copy the text from Non Editable Cell [message #1644803 is a reply to message #1637139] Mon, 02 March 2015 07:15
ambuj bhargava is currently offline ambuj bhargavaFriend
Messages: 16
Registered: July 2014
Junior Member
Thank you

The solution worked for me.


Regards
Ambuj
Re: Copy the text from Non Editable Cell [message #1644806 is a reply to message #1632708] Mon, 02 March 2015 07:16
ambuj bhargava is currently offline ambuj bhargavaFriend
Messages: 16
Registered: July 2014
Junior Member
Arye Shemesh wrote on Tue, 24 February 2015 07:37
Hi Ambuj ,

Do you mean programmatically or by user action?

Take a look at org.eclipse.nebula.widgets.nattable.copy.action.CopyDataAction:

natTable.doCommand(new CopyDataToClipboardCommand("\t", System.getProperty("line.separator"), natTable.getConfigRegistry()));


You can create a menu item with this code for user request copy.

Hope it helps,
Arye



Thanks Arye...it worked
Forum: Sapphire
 Topic: Default value recomputed but not refreshed in UI on Linux
Re: Default value recomputed but not refreshed in UI on Linux [message #1644861 is a reply to message #1639416] Mon, 02 March 2015 07:52
Ondrej Ilcik is currently offline Ondrej IlcikFriend
Messages: 14
Registered: November 2014
Junior Member
Hi, thanks, from what I understand you're right - we need to force repaint on GTK: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461169
 Topic: How to get UI part for a specific model element?
How to get UI part for a specific model element? [message #1644871] Mon, 02 March 2015 08:00
Ondrej Ilcik is currently offline Ondrej IlcikFriend
Messages: 14
Registered: November 2014
Junior Member
I encountered this when I was looking for a workaround for #461169. Is there some kind of binding between model elements and the actual SWT components I can use in runtime? I realize it's not that easy as sometimes the UI for a single model element/property consists of several UI components, but at least something like getRootCompositeFor(model_element) might be useful in some cases.

[Updated on: Mon, 02 March 2015 08:02]

Report message to a moderator

Forum: BIRT
 Topic: column height
icon9.gif  column height [message #1644518] Mon, 02 March 2015 03:57
Jazz Chan is currently offline Jazz ChanFriend
Messages: 6
Registered: February 2015
Junior Member
I'm using the following SQL and would like to fill up the space in each row, but I don't know why the report (see attached) doesn't work with this sql?

SELECT id, RPAD(desc1,200,' '), RPAD(desc2,200,' '), RPAD(desc3,200,' '), RPAD(desc4,200,' ') FROM order

[Updated on: Mon, 02 March 2015 03:57]

Report message to a moderator

icon10.gif  Re: column height [message #1644822 is a reply to message #1644518] Mon, 02 March 2015 07:28
Jazz Chan is currently offline Jazz ChanFriend
Messages: 6
Registered: February 2015
Junior Member
fixed....
 Topic: IndexOutOfBoundsException openning a report with 4.4.1 designer
Re: IndexOutOfBoundsException openning a report with 4.4.1 designer [message #1644928 is a reply to message #1635830] Mon, 02 March 2015 08:38
Matej Liszka is currently offline Matej LiszkaFriend
Messages: 13
Registered: March 2012
Junior Member
Hello Glen

You are right, I did not notice that bug before. Good news is that on last Friday (Feb 27th 2015) a new release of Eclipse Luna (SR2) and BIRT (4.4.2) appeared, where this bug is fixed (I looked also at the latest source code, the fix is even little bit better than above). So, if possible, use that 4.4.2 version instead and you needn't patch this bug anymore.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=446077

[Updated on: Mon, 02 March 2015 08:38]

Report message to a moderator

Forum: Eclipse SmartHome
 Topic: Inbox concept
Re: Inbox concept [message #1644981 is a reply to message #1643709] Mon, 02 March 2015 09:12
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 106
Registered: December 2011
Senior Member
This is a good point Chris - you are right that the current Inbox and a future "Notification-Box" have pretty similar requirements - especially as we are now also about to add a TTL or an entry removal possibility for the Inbox.
But adding general notifications to the existing inbox might involve a bit too much refactoring of the existing code. So I would tend to agree with Dennis that we probably rather introduce a separate service for this.

Regarding roadmap: This is very difficult to say. As it is never clear, which resources are available to work on topics and what their own priorities are, it is not really possible to provide something like a project plan of schedule. I tried to start a rough list of topics for a roadmap here: https://wiki.eclipse.org/EclipseSmartHome/Roadmap. Other requirements are usually managed in Bugzilla, for the notifications see e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=434010
Personally, I prefer to concentrate on finishing other things first before starting such big new topics - and at the moment we still have many questions and bugs around the things and the way how to structure bindings, so this is my priority.

Regards,
Kai
Forum: Eclipse 4
 Topic: Create a context Menu for a tree
Create a context Menu for a tree [message #1644870] Mon, 02 March 2015 07:59
Praveen Banthia is currently offline Praveen BanthiaFriend
Messages: 28
Registered: September 2014
Junior Member
Hi,
I want to create a context menu when a user right clicks on a node in tree. The context menu should recognize which on which node the popup menu was opened and then act accordingly.

I have been able to detect right click on a node for a tree using this method

tree.addListener(SWT.MenuDetect, new Listener() {
		@Override
		public void handleEvent(Event event) {


however I have not been able to figure out how to create context menu and pass details of the node to it
Re: Create a context Menu for a tree [message #1644972 is a reply to message #1644870] Mon, 02 March 2015 09:08
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 389
Registered: December 2010
Location: Germany
Senior Member
There is a lot of information available by searching for "javafx context menu example". For example this tutorial:
http://docs.oracle.com/javafx/2/ui_controls/tree-view.htm
Re: Create a context Menu for a tree [message #1644980 is a reply to message #1644972] Mon, 02 March 2015 09:11
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 389
Registered: December 2010
Location: Germany
Senior Member
Sorry ... my last reply is BS of course ... thought I was in another forum. Of course you need to search for "swt context menu tree" (or such) and you will find things like this:
http://stackoverflow.com/questions/18403137/adding-right-click-menu-to-to-treeitem-in-swt-tree
and
http://stackoverflow.com/questions/6207772/context-menu-for-treeviewer-based-on-selected-node-swt
Re: Create a context Menu for a tree [message #1644982 is a reply to message #1644972] Mon, 02 March 2015 09:12
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5574
Registered: July 2009
Senior Member
He is not talking about JavaFX. To see how to create a context menu
based upon selection look at

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet005TreeCustomMenu.java

Tom

On 02.03.15 10:08, Christoph Keimel wrote:
> There is a lot of information available by searching for "javafx context
> menu example". For example this tutorial:
> http://docs.oracle.com/javafx/2/ui_controls/tree-view.htm
>
Forum: P2
 Topic: Creating an Update Site
Re: Creating an Update Site [message #1644983 is a reply to message #1641973] Mon, 02 March 2015 09:14
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1453
Registered: July 2009
Senior Member
Hi

I wrote a tutorial some time ago

http://www.lorenzobettini.it/2013/01/building-an-eclipse-rcp-product-with-buckminster/

as I said, the alternative is Maven/Tycho...

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Forum: Papyrus
 Topic: Activity and CallOperationAction question
Re: Activity and CallOperationAction question [message #1644583 is a reply to message #1614828] Mon, 02 March 2015 04:44
Abhijit Deshpande is currently offline Abhijit DeshpandeFriend
Messages: 11
Registered: December 2014
Junior Member
Hi Joost,

You can use "ReadSelfAction" to get a handle to "this" object.

1. Create "ReadSelfAction"
2. Create "OutputPin" for "ReadSelfAction"
3. Connect this "OutputPin" to "InputPin" of your "CallOperationAction" using "ObjectFlow"

Thanks,
Abhijit
 Topic: C code generation in Papyrus
C code generation in Papyrus [message #1644620] Mon, 02 March 2015 05:07
Abhijit Deshpande is currently offline Abhijit DeshpandeFriend
Messages: 11
Registered: December 2014
Junior Member
Hi,

Is there any code generator, which can generate C code from state machine, activity, BDD and IBD?

I tried "Block -> right click -> Code generation -> Generate C++ code" (I think this is Acceleo code generator) as well as Qompass code generator. But, in both cases only C++ class declarations (empty => i.e. without any behavior) are getting generated.

So, the question is whether there is any C/C++ code generator, which can generate code for model behavior described using state machine, activity diagram etc.?

BTW, for code generation exercise, I used counter example which is available at https://wiki.eclipse.org/Papyrus/UserGuide/ModelExecution. and, even though I could execute this model using "Moka", I could not generate C code for the same.

Thanks,
Abhijit
 Topic: SysML activity diagram output pins.
Re: SysML activity diagram output pins. [message #1644991 is a reply to message #1639718] Mon, 02 March 2015 09:20
Camille Letavernier is currently online Camille LetavernierFriend
Messages: 570
Registered: February 2011
Senior Member
Hi Stephen,

The arrow is used to display the direction of the pin (InputPin and OutputPin are two different objects). When the Pin is connected to a flow, the arrow of the flow is redundant with the arrow on the pin, so the arrow of the pin is hidden. I see nothing in the UML Specification related to this, so it's probably specific to Papyrus (Or I missed it).

Also, Ports and Pins are two different concepts (Even if their notation is the same, they have different roles/semantics)

I think you shouldn't be able to connect two output pins with the same control flow. Papyrus is probably too permissive here (Especially if this doesn't result in a Validation Error).

The Activity Diagram in Papyrus is the standard UML one; it has nothing to do with SysML (I'm not sure how much SysML customizes/extends/restricts the UML Activity Diagram, but Papyrus doesn't provide any specific support for SysML Activities)

To hide the name Label for all control flows, you can use the following CSS rule:

ControlFlow > Label:name {
    visible: false;
}


If you want to hide only a few labels, you can right click on a Control Flow > Filter > Manage Connector Labels

Regards,
Camille


Camille Letavernier
Papyrus developer
Forum: scout
 Topic: Delete Row
Re: Delete Row [message #1644327 is a reply to message #1642473] Mon, 02 March 2015 01:44
Santo Mota is currently offline Santo MotaFriend
Messages: 38
Registered: July 2013
Member
That's what I need! thank you so much
 Topic: In 2016, Eclipse Scout will get a brand new HTML5 Renderer
Re: In 2016, Eclipse Scout will get a brand new HTML5 Renderer [message #1644554 is a reply to message #1636888] Mon, 02 March 2015 04:20
Marco Dorfliger is currently offline Marco DorfligerFriend
Messages: 6
Registered: January 2015
Junior Member
Some very exciting changes coming! It's really nice to see such transparent communication of this.

The decision to drop the desktop renderer comes as a surprise. As Matthias remarked, it gave Scout a certain flexibility. I also found the Swing deployment to be noticeably more responsive than RAP (mostly noticeable over slower connections), presumably due to network traffic containing 100% application data (all UI data is already on the client). A web-only release would I suppose also mean no offline mode (a great feature imo), and migration of existing desktop-based Scout projects to the 2016 release remains an open question. As a result, I imagine some adopters opting to remain with the Mars release (as you said some of your commercial projects have done). You may be inadvertently splitting the framework into two 'streams'.

Don't take the wrong message from all this though. It's really great to see BSI staying on top of the game, and I look forward to seeing how the next release manifests.
Re: In 2016, Eclipse Scout will get a brand new HTML5 Renderer [message #1645035 is a reply to message #1644554] Mon, 02 March 2015 09:49
Matthias Zimmermann is currently offline Matthias ZimmermannFriend
Messages: 92
Registered: February 2010
Member
@Marco

Marco Dorfliger wrote on Mon, 02 March 2015 04:20
... I also found the Swing deployment to be noticeably more responsive than RAP (mostly noticeable over slower connections)


This is exactly one of the focus points of the new HTML5 renderer. With the new renderer we are trying to keep as much state/processing in the browser (without breaking the Scout application model). This leads to immediate responses to user actions in many of the cases which makes the new web UI react to user input without first having to do a server round trip (over a possibly slow connection). Of course, this is not possible in cases where we need access to business rules etc. But with the new HTML5 UI we already see a much improved usability over the current web renderer.

Marco Dorfliger wrote on Mon, 02 March 2015 04:20
... A web-only release would I suppose also mean no offline mode


As of now, we think that we will be able to wait to address the offline topic. This means that we do not yet like to specify if and in which release train we will add the offline feature. So far, we were considering a hybrid desktop approach for the new HTML5 UI that would include a local web server for the client application. With this approach we would then be able to re-create the offline setup you mentioned above. This setup would also allow for integrating client side services such as CTI, bar code scanners, etc.

As we are driven by the business of our customers, Scout's answer to offline and client side intergration might come in the next month or in two years only.

Marco Dorfliger wrote on Mon, 02 March 2015 04:20
... and migration of existing desktop-based Scout projects to the 2016 release remains an open question


With the current RAP renderer, a migration of existing desktop applications to a web application is possible today. With this approach, it is straight forward to check for any features in your current application that might need to be adapted to a web based scenario.

For Scout applications that do need offline capability or other client side integration of devices/services the hybrid desktop approach mentioned above should allow for a good migration path.

For the case when the UI technology of your Scout application must remain on a desktop UI technology, the new HTML5 UI does not fit. This question seems to be simiar to the one posed by Kai Dohmann. Please see this message for our comments

Thanks for your valuable questions, Marco
Forum: Remote Application Platform (RAP)
 Topic: Capture a Picture via Webcam
Capture a Picture via Webcam [message #1645052] Mon, 02 March 2015 09:58
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 3
Registered: March 2010
Junior Member
Hello Guys,

I am not sure howto capture an Image from a webcam-device on an RAP-Application.

It should be possible that the user is able to start the camera/webcam on the browser and take a Picture.
This picture should be availible for the RAP-Application.
Following the picture should be saved on a DB.

I am looking for any solution or hint.

I found this solution, which isnt to bad.
htt ps://hacks.mozilla.org/2013/02/cross-browser-camera-capture-with-getusermediawebrtc/#ff-enabling

But how can i get the data to the application?
It should be possible via AJAX but how?

The application is an e4 RAP2.3 Application? And should work on many different browsers.

Thanks in advance!
Forum: Java Development Tools (JDT)
 Topic: Custom Project Properties Page
Custom Project Properties Page [message #1645074] Mon, 02 March 2015 10:11
cenk Mising name is currently offline cenk Mising nameFriend
Messages: 100
Registered: July 2009
Senior Member
We are developing plugin and creating custom project. The own project is included java nature.(description.setNatureIds(new String[] { JavaCore.NATURE_ID })Wink

When we open properties of created project shown some properties about Java nature("Java built path", "Java Code Style"...)

How can we prevent shown this properties. How can we make invisible this properties on our custom properties page

Thank you for your help
Forum: Jubula
 Topic: Left Click operation on a pop up menu
Re: Left Click operation on a pop up menu [message #1644221 is a reply to message #886158] Mon, 02 March 2015 00:26
Rebecca Smith is currently offline Rebecca SmithFriend
Messages: 2
Registered: February 2015
Junior Member
Hi,
I am having a similar issue. I have looked at the other threads, as well as the cheat sheet, and my test continues to die trying to select the context menu item. I am running Jubula 8.1 stand alone against an RCP application. I've received a variety of error messages back, ranging from "Timeout received before confirming the posted event" to "Context Menu not found". I am not sure why it fails to find the menu option.

I have also tried both select by textpath and select by index, hoping one would work, but no luck.

Attached is the screenshot from Jubula. It appears to be getting the context menu to display, but fails to select anything. The cursor never moves onto the menu, so nothing ever gets selected. I tried a few times to export the test results details, but the tool never output anything to the paths provided.


Any help or suggestions are appreciated!
Thanks!
Becky
 Topic: JAVAGIT plugins isn't recognized
Re: JAVAGIT plugins isn't recognized [message #1645112 is a reply to message #1622215] Mon, 02 March 2015 10:35
Dorian DE NICOLA is currently offline Dorian DE NICOLAFriend
Messages: 12
Registered: September 2014
Junior Member
Hi,
Thank for you answer.
Yes indeed, my goals is to select an item and drag it to the other tree.
My only problem is I cannot map my tree "ScriptList" even manually with:
- Start Object Mapping.
- Select the component.
- CTRL + Shift + Q.
Forum: EMF "Technology" (Ecore Tools, EMFatic, etc)
 Topic: [Teneo] Using JPA with Teneo 2.1.0 causes IncompatibleClassChangeError
Re: [Teneo] Using JPA with Teneo 2.1.0 causes IncompatibleClassChangeError [message #1644821 is a reply to message #1641004] Mon, 02 March 2015 07:26
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 46
Registered: September 2011
Location: Karlsruhe
Member
Hi Martin,

I also tried the test project and it works now. I did not have the time yet to integrate the updated Teneo/Hibernate dependencies into our main project, as the minimal example reflected exactly the same situation, I guess, it should work now. If not, I'll come back to you here next week as I am off for a couple of days from tomorrow on.

Thank you very much for your help.

Cheers
Timo
 Topic: [EMFStore][EMFForms] Commit fails with checksum errir
Re: [EMFStore][EMFForms] Commit fails with checksum errir [message #1645152 is a reply to message #1637386] Mon, 02 March 2015 11:04
Marina Knieling is currently offline Marina KnielingFriend
Messages: 83
Registered: February 2013
Member
I think, I can exclude problems with my model, now. I reduced it to only one Class with only "normal" String and int attributes with no special behaviour and I still face the exact same problems. For the moment I will abandon the server functionality and the version history and focus on the client side as I need to get my application running in a base version by the end of this week and saving on the client side seems to be working. Maybe I try to get rid of the OSGi service and get access to the store in some other way later and see if that works for the server or how does ECP gets access to the EMFStore?
Thanks for any help and hints for the moment.
Marina
Forum: Kura
 Topic: Network Admin in Kura - how does it work?
Network Admin in Kura - how does it work? [message #1645183] Mon, 02 March 2015 11:20
Alessandro Da Rugna is currently offline Alessandro Da RugnaFriend
Messages: 11
Registered: December 2014
Junior Member
I'm missing something about the whole Network configuration in Kura.
1. Where does Kura store/read network configurations?
2. How can I customize the NetworkAdminService?
3. How can I debug network issues?

1. As far as I unterstand, Kura's NetworkConfigurationService implements SelfConfiguringComponent, so it reads its configuration from the system. But the starting "status" is provided by org.eclipse.kura.net.admin.NetworkConfigurationService configuration in the snapshots. Am I right?
Then the actual status is read from /etc/network/interfaces and sometimes from /tmp/.kura/coninfo-$IFACE. Kura installs hooks to system ifup/ifdown to create and delete such file (deletion doesn't work btw - is it intendend behaviour?)
What is the role of kura/data/kuranet.conf? I've stepped through code but it's not very clear to me what is each file's purpose.

2. I'm trying Kura on a different linux machine than raspberry/beaglebone where I'd like to control the network interfaces. I modified some files to call the right command for my system. (e.g., the ones containing OS_VERSION = System.getProperty("kura.os.version"); (A)) but Kura goes crazy and the $IFACEMonitorThreads continue to bring each interface up and down without stopping. I think I'm missing some step somewhere.

I disabled the administration of WiFi from snapshot configuration file
<esf:property name="net.interfaces" array="false" encrypted="false" type="String">
    <esf:value>lo,eth0</esf:value>
</esf:property>

Is this the right place? I also tried disabling it or removing it from kuranet.conf but no luck.

3. I can switch the eth0 from WAN to LAN and enable the dhcp server. When I switch it back to WAN, it gets the address but Kura (and all system) cannot connect to the network anymore. Strangely enough, I can access the machine via SSH or Kura's Web interface but cannot ping it. ifdown says the interfaces is already down, and ifup cannot restore the connectivity correctly.
How do you approach such problems?


(A)
project org.eclipse.kura.linux.net
LinuxNamed.java
LinuxFirewall.java
KuraConstants.java
LinuxNetworkUtil.java

project org.eclipse.kura.net.admin
IfcfgConfigReader.java
IfcfgConfigWriter.java


OSX Yosemite 10.10.1
Eclipse Kepler Service Release 2 - Build id: 20140224-0627
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Forum: OM2M
 Topic: Connecting Multiple System
Re: Connecting Multiple System [message #1644830 is a reply to message #1641035] Mon, 02 March 2015 07:31
Ravi Teja is currently offline Ravi TejaFriend
Messages: 7
Registered: February 2015
Junior Member
Hi Mahdi

I have three ip addresses..(10.138.97.142,10.138.97.216,10.138.97.197).I want to take one as server and the other two as gateways.I installed Om2m packages in three systems so that now i have nscl and gscl in three systems.Now how to make this one network and two gateway connections.
Re: Connecting Multiple System [message #1645013 is a reply to message #1644830] Mon, 02 March 2015 09:34
Ravi Teja is currently offline Ravi TejaFriend
Messages: 7
Registered: February 2015
Junior Member
Hi Mahdi
two gscls( gscl1 and gscl2) are authenticated in tree,but when i am accessing each gscl iam getting internal server error(500).What is this error and how to solve this
Re: Connecting Multiple System [message #1645044 is a reply to message #1645013] Mon, 02 March 2015 09:54
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 68
Registered: November 2013
Member
Hello Ravi,

Could you send me the config.ini file that you are using for gscl1 ?
Re: Connecting Multiple System [message #1645104 is a reply to message #1645044] Mon, 02 March 2015 10:35
Ravi Teja is currently offline Ravi TejaFriend
Messages: 7
Registered: February 2015
Junior Member
config.ini for gscl1
org.eclipse.om2m.sclBaseAddress=10.138.97.216
org.eclipse.equinox.http.jetty.http.port=8181
org.eclipse.om2m.remoteNsclId=nscl
org.eclipse.om2m.globalContext=
org.eclipse.om2m.sclType=GSCL
eclipse.p2.profile=DefaultProfile
org.eclipse.om2m.dbFile=gscl.db4o
osgi.framework.extensions=
org.eclipse.om2m.webInterfaceContext=/
osgi.bundles.defaultStartLevel=4
org.eclipse.om2m.reset=true
org.eclipse.om2m.sclBaseId=gscl1
org.eclipse.om2m.maxNrOfInstances=100
osgi.framework=file\:plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar
org.eclipse.om2m.remoteNsclPort=8080
org.eclipse.om2m.guestRequestingEntity=guest\:guest
org.eclipse.om2m.dbDefragmentPeriod=-1
org.eclipse.om2m.remoteNsclContext=/om2m
org.eclipse.om2m.adminRequestingEntity=admin\:admin
org.eclipse.om2m.remoteNsclAddress=10.138.97.216
eclipse.p2.data.area=@config.dir/../p2
org.eclipse.om2m.sclBaseContext=/om2m
org.eclipse.om2m.sclBaseProtocol.default=http



Re: Connecting Multiple System [message #1645113 is a reply to message #1645104] Mon, 02 March 2015 10:39
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 68
Registered: November 2013
Member
In this parameter "org.eclipse.om2m.sclBaseAddress" you must set the IP of the gscl1 (not the nscl).

[Updated on: Mon, 02 March 2015 10:40]

Report message to a moderator

Re: Connecting Multiple System [message #1645129 is a reply to message #1645113] Mon, 02 March 2015 10:48
Mahdi Ben Alaya is currently offline Mahdi Ben AlayaFriend
Messages: 68
Registered: November 2013
Member
For the sake of clarity, I updated the configuration explained in my first response for a real distributed machines as follows:
- Server IP: 192.168.0.2
- Gateway1 IP: 192.168.0.3
- Gateway2 IP: 192.168.0.4
You can check it now.

I added a new section called "multiple gateways configuration" in our OM2M configuration tutorial as well:http://wiki.eclipse.org/OM2M/Configuration



[Updated on: Mon, 02 March 2015 11:09]

Report message to a moderator

Re: Connecting Multiple System [message #1645206 is a reply to message #1645129] Mon, 02 March 2015 11:36
Ravi Teja is currently offline Ravi TejaFriend
Messages: 7
Registered: February 2015
Junior Member
Thanks Mahdi

It's cool....now i could connect to different gateways....

[Updated on: Mon, 02 March 2015 11:37]

Report message to a moderator

Forum: Sirius
 Topic: Auto-completion not working for semantic candidates expression property
Re: Auto-completion not working for semantic candidates expression property [message #1644853 is a reply to message #1643620] Mon, 02 March 2015 07:47
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 164
Registered: July 2009
Senior Member
Le 01/03/2015 18:29, Elvis Dowson a écrit :
> Hi Maxime,
>
> I did as you asked, and the auto-completion feature works.
>
>
>
> I have one question though, when I press ctrl+space in a [|/] expression, and select
> books:Books [0..*] and press enter, the expression gets filled as
> [books/]
>
> I do not understand the syntax and how to use it.

The syntax is Accleo 3, which is an implementation of the MTL standard
that itself extends OCL. So basically an OCL variant within [../]
delimiters.

The details of OCL and Acceleo are out of the scope of this forum,
please refer to their documentation, for example at:
-
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.acceleo.doc%2Fpages%2Findex.html
- https://wiki.eclipse.org/Acceleo/Acceleo_Operations_Reference
- https://wiki.eclipse.org/Acceleo/OCL_Operations_Reference

--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
 Topic: The last item of Combobox in Properties View is blank
The last item of Combobox in Properties View is blank [message #1645160] Mon, 02 March 2015 11:08
Sann Tran is currently offline Sann TranFriend
Messages: 5
Registered: November 2014
Junior Member
Hi,
In Properties View of runtime (or even the Properties View of .odesign file), when I click to a combobox to open items list, I found that the last item is blank (you can see in the attached image)

So how can I remove this unnecessary blank item?

Thanks.
 Topic: Element-Based Edges
Element-Based Edges [message #1645207] Mon, 02 March 2015 11:39
Studs Terkel is currently offline Studs TerkelFriend
Messages: 20
Registered: July 2011
Junior Member
Hi,

in my model I have objects, that represents a relation, that I want to display as edge in my diagram. The object that represents the realtion (ActivityInputMapping) have a reference to certain eObjects: source and target.

https://dl.dropboxusercontent.com/u/4062763/elementBasedEdgeDef.png

By using the Source Finder Expression, i can identify the related semantic object: [self.input/]. The problem now: This semantic object has mulitple graphical representaions in the diagram. So, in the diagram, I get an edge (dashed) for all these graphical representations...

https://dl.dropboxusercontent.com/u/4062763/elementBasedEdgeOutcome.png

The two red nodes have the same semantic object, but only one node should really be the source of an edge. Is there a possiblity to limit/filter the graphical representations of a semantic object?
Forum: e(fx)clipse
 Topic: Missing dependencies for p2 updates
Re: Missing dependencies for p2 updates [message #1645128 is a reply to message #1639399] Mon, 02 March 2015 10:47
Christian Ora is currently offline Christian OraFriend
Messages: 10
Registered: May 2014
Junior Member
I found a similar Problem on the Equinox Forums. Maybe this might help you : https://www.eclipse.org/forums/index.php/t/809201/
Re: Missing dependencies for p2 updates [message #1645151 is a reply to message #1645128] Mon, 02 March 2015 11:01
Christian Ora is currently offline Christian OraFriend
Messages: 10
Registered: May 2014
Junior Member
Actually, i had the same Stacktrace, when i tried to install an IU and it solved my Problem.
Pages (2): [1  2    »]


Current Time: Mon Mar 02 12:48:33 GMT 2015

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

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