Eclipse Community Forums
Forum Search:

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

Forum: Eclipse Platform
 Topic: Lock file in use
Lock file in use [message #1744438] Tue, 27 September 2016 02:26
Andrew Stearns is currently offline Andrew StearnsFriend
Messages: 4
Registered: August 2016
Junior Member
I have encountered a problem where when I start Eclipse, I receive a message saying that the workspace is either in use or unable to be created. I looked at this online and found out to delete the .lock file in the .metadata folder. However, even with all applications closed, I am unable to do so because it is being used by another process. What is the easiest way to delete it?

P.S. My workspace is on a network drive
Forum: Rich Client Platform (RCP)
 Topic: How to add workspace launcher to RCP program?
How to add workspace launcher to RCP program? [message #1744440] Tue, 27 September 2016 05:20
Justin Huang is currently offline Justin HuangFriend
Messages: 2
Registered: July 2014
Junior Member
1st question: How do I add workspace launcher to my RCP?

2nd question:

In my ApplicationWorkbenchAdvisor.java, if I have:
@Override
public IAdaptable getDefaultPageInput() {
return ResourcesPlugin.getWorkspace().getRoot();

}

Will it be able to pick the workspace location specified in workspace launcher?
Forum: e(fx)clipse
 Topic: Getting KeyCode for NUMPAD_ENTER in JavaFX
Re: Getting KeyCode for NUMPAD_ENTER in JavaFX [message #1744443 is a reply to message #1744430] Tue, 27 September 2016 06:28
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 25
Registered: January 2013
Junior Member
Hy Tom,

thanks for your fast reply =).

Listening for onKeyTyped() works! =)
Then we are checking the character like this: "\r".equals(event.getCharacter());




Forum: Eclipse SmartHome
 Topic: Upnp Discovery issue
Upnp Discovery issue [message #1744444] Tue, 27 September 2016 06:28
Korbinian Kram is currently offline Korbinian KramFriend
Messages: 1
Registered: September 2016
Junior Member
Hi everybody,
I'm implementing a binding, which should use the Upnp as discovery mechanism. Therefore I read the tutorial at:
https://www.eclipse.org/smarthome/documentation/development/bindings/discovery-services.html#upnp-discovery
and implemented it according to that. Additional I activated my binding in the run configuration properties. Also I created a BindingNameDiscovery.xml in the OSGI-INF folder and edit it like the one in the hue binding. In the Manifest.MF, in the Dependencies section, in Required plug-ins, I added org.eclipse.smarthome.config.discovery and org.jupnp. If I now start the the eclipse runtime over run configuration, I don't see that my Upnp code will be executed. I can verify that my binding is started, because I see the output of my Handler.initialize() function.

I had also a closer look at the UpnpIOServiceImpl, so I should probably see something like Starting UPnP IO service... in the output?

I also activated the hue binding, but also here, there is no Upnp output.

Did i miss some configuration?

Thanks for your help.
Forum: scout
 Topic: Empty row in smartfield
Empty row in smartfield [message #1744448] Tue, 27 September 2016 07:35
Luka Cavic is currently offline Luka CavicFriend
Messages: 21
Registered: August 2014
Junior Member
in eclipse scout mars:

how to add empty row in smart field, so user can select nothing and he is not forced to select some value in smart field.

In sql if I add SELECT 0, '' UNION SELECT id, name FROM users...is working ok, empty row is show, but in modify value is not populated.

Thanks.
Forum: C / C++ IDE (CDT)
 Topic: BOP Define descovery gives empty values
Re: BOP Define descovery gives empty values [message #1744437 is a reply to message #1744404] Tue, 27 September 2016 01:04
David Vavra is currently offline David VavraFriend
Messages: 384
Registered: October 2012
Senior Member
It doesn't have a value because the definition being used doesn't have a value.
-DDEBUG means define it with no defined value (actually it's probably zero).


You'll have to use -DDEBUG=v if you want Eclipse to see the value.

I've never tried it but you can give a macro file to Eclipse. Maybe you just need to have a file with your configuration macro definitions set as needed.

Maybe you should submit a bug report.

EDIT:

I've been doing some playing around. I have some test code where the macro is defined in the preprocessor entries dialog but Eclipse acts as though it isn't there. If I define it in a CDT parser block in the code it does see it. However not all macros need this.

It is defined as DEBUGX=1 in both Preprocessor... and Paths and Symbols.
It's not consistent.

index.php/fa/27223/0/
index.php/fa/27222/0/




[Updated on: Tue, 27 September 2016 10:42]

Report message to a moderator

 Topic: How to generate one output file including all include files and the source file
Re: How to generate one output file including all include files and the source file [message #1744441 is a reply to message #1744393] Tue, 27 September 2016 06:10
Søren Bonefeld is currently offline Søren BonefeldFriend
Messages: 3
Registered: September 2016
Junior Member
I am using the Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 2
Build id: 20140212-2123

How do I save the preprocesser output to a file?
Do I have to download a utility or is it a setting in the IDE?

Re: How to generate one output file including all include files and the source file [message #1744442 is a reply to message #1744441] Tue, 27 September 2016 06:14
Søren Bonefeld is currently offline Søren BonefeldFriend
Messages: 3
Registered: September 2016
Junior Member
Thank you for your help David. It is much appreciated.

Re: How to generate one output file including all include files and the source file [message #1744453 is a reply to message #1744442] Tue, 27 September 2016 07:52
David Vavra is currently offline David VavraFriend
Messages: 384
Registered: October 2012
Senior Member
Saving it depends on the compiler.
GCC for example writes the output to stdout so it must be captured.
GCC command: gcc -E somefile.cpp > somefile.txt
Or you could use: gcc -E somefile.cpp -o somefile.txt

It's easier if you do this outside of Eclipse if it's for only one file.
But, if Eclipse is building the makefile, you can change the compiler command in Build Settings then rebuild.

Here are the GCC preprocessor options. You'll have to google for other compilers.
I have used Microsoft cl as a front end preprocessor but don't remember the details.
https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html

Edit: forgot that -o is a general option for GCC

[Updated on: Tue, 27 September 2016 09:34]

Report message to a moderator

Forum: EGit / JGit
 Topic: How to get content of files with JGIT
Re: How to get content of files with JGIT [message #1744446 is a reply to message #1744426] Tue, 27 September 2016 07:14
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 216
Registered: July 2009
Senior Member
look at the example code I provided. You create one treewalk and add three AbstractTreeIterators to this walk. The first iterator for the commit, the second for the index and the third for the workingtree. When you say walk.next() you move to the next available path, e.g. "src/a.txt". Treewalk takes care to advance every iterator so that every iterator looks now at "src/a.txt". With walk.getObjectID(0) you get the objectid for "src/a.txt" for the first Iterator (that one looking at the commit). And walk.getObjectID(1) returns the objectid for "src/a.txt" for the second Iterator (that one looking at the index). The example should clarify that.
Re: How to get content of files with JGIT [message #1744455 is a reply to message #1744446] Tue, 27 September 2016 08:04
Yossi Balan is currently offline Yossi BalanFriend
Messages: 4
Registered: September 2016
Junior Member
Thanks for the help
Forum: NatTable
 Topic: Find Text while setting the Scope to Selection, Removing Application Modal
Re: Find Text while setting the Scope to Selection, Removing Application Modal [message #1744458 is a reply to message #1744389] Tue, 27 September 2016 08:23
Naveen Sabapathy is currently offline Naveen SabapathyFriend
Messages: 16
Registered: July 2016
Junior Member
While using the Search functionality in actual system. Switching between the eclipse views I'm facing the Widget disposed error at line no- 113.
 && this.natTable.getShell().equals(dialog.getNatTable().getShell())
where the dialog.getNatTable() is disposed.
Forum: WindowBuilder
 Topic: Eclipse Neon Freezes when adding components in windowBuilder design window
Eclipse Neon Freezes when adding components in windowBuilder design window [message #1744465] Tue, 27 September 2016 10:28
David Yair is currently offline David YairFriend
Messages: 2
Registered: September 2016
Junior Member
Hello,

I am encountering a problem in eclipse window builder and it's whenever I try to add new components to the window in the window design mode the eclipse suddenly freezes for 2 minutes. The scroller bar on the right starts jumping up and down and I can't press anything.

This happens only when I move my mouse to the window of application area, after I have selected which component to add. If I just stay on the selection of components area it doesn't occur only when I move my mouse to try and add the chosen component.


Please help I don't know what to do.

David
Forum: Jubula
 Topic: Migration to new "execute external command" step
Re: Migration to new "execute external command" step [message #1744447 is a reply to message #1743852] Tue, 27 September 2016 07:23
Kevin Barbe is currently offline Kevin BarbeFriend
Messages: 12
Registered: July 2016
Junior Member
It looks like you entered the path with quotation marks and this might cause the problem.

I just tried the following configuration:
index.php/fa/27218/0/

and this is the test result:
index.php/fa/27217/0/

So that works perfectly fine for me. One other thing you can try is to run Jubula as Administrator. Maybe Jubula does not have the permission to access some of the files.

If that is not working, please upload the Jubula log files in a zip. You can find them by default at %USERPROFILE%/.jubula/logs.
Re: Migration to new "execute external command" step [message #1744467 is a reply to message #1744447] Tue, 27 September 2016 10:41
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 86
Registered: June 2013
Member
thanks for your help, Kevin. i tried your configuration and it's working now. the problem was the environment....

if i try to run the same configuration in environment of AUT its not working. with ITE its working...

thanks for your help
Forum: Eclipse Titan
 Topic: Octetstring Manipulation
Re: Octetstring Manipulation [message #1744450 is a reply to message #1744396] Tue, 27 September 2016 07:36
Johannes Bro is currently offline Johannes BroFriend
Messages: 44
Registered: June 2015
Member
One test case is failing for me because the expected octetstring is
payload:=''O
and the received is
payload:=omit
.
Is there really a difference between omit and a empty octetstring ? How to deal with it ?
Re: Octetstring Manipulation [message #1744454 is a reply to message #1744450] Tue, 27 September 2016 07:56
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 373
Registered: January 2015
Senior Member
Hi Johannes,

yes there is; omit should be considered as a special value.

In receiving templates, you can use wildcards: '?' has the significance of any value (including the zero length value -empty string- in case of strings) and "*" represents any value or omit.

In structures, only optional fields can be given a value of omit.


I hope this makes it clearer

BR
Elemer
 Topic: TTCN Titan Testport for socketCAN
Re: TTCN Titan Testport for socketCAN [message #1744471 is a reply to message #1744357] Tue, 27 September 2016 10:46
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 373
Registered: January 2015
Senior Member
Hi Michael,

I have committed the test port to

http://git.eclipse.org/c/
titan.TestPorts.SocketCANasp.git


you can clone anonymously with:

git clone http://git.eclipse.org/gitroot/titan/titan.TestPorts.SocketCANasp


or
git clone git://git.eclipse.org/gitroot/titan/titan.TestPorts.SocketCANasp


I have also added a revision R1A to track changes.

Best regards
Elemer





Forum: EMF "Technology" (Ecore Tools, EMFatic, etc)
 Topic: [ECP] Two Implementations Avoids IllegalArgumentException: The class ... is not a valid classifier
Re: [ECP] Two Implementations Avoids IllegalArgumentException: The class ... is not a valid classifi [message #1744474 is a reply to message #1744335] Tue, 27 September 2016 11:00
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 80
Registered: May 2015
Member
Hi Jon,
this is definitively a Bug. Could you please open a Bug for this.
If there is only one Instance of an interface or abstract class it should simply take this and do nothing. This seems to be broken.

In the mean time you will need to provide your own ReferenceService implementation (as an OSGi service).

Thank you for the report.

Cheers,
Eugen
Forum: EMF
 Topic: [EMF + ATL] Running ATL transformation on UML2 model: org.eclipse.emf.ecore.xmi.IllegalValueExceptio
[EMF + ATL] Running ATL transformation on UML2 model: org.eclipse.emf.ecore.xmi.IllegalValueExceptio [message #1744476] Tue, 27 September 2016 11:10
Michele Guerriero is currently online Michele GuerrieroFriend
Messages: 2
Registered: June 2016
Junior Member
Hi all,

I'm using papyrus to define an UML profile which extends some concepts from the UML Deployment Diagrams (mainly the Node and Dvice elements). I'm able to create an UML model which uses the defined stereotypes.
What I'm trying to do now is to create an ATL transformation which takes as input profiled UML models and generate an output model which conforms to a metamodel I already defined in Ecore. I imported the UML2 ecore metamodel to be used by my ATL transformation. When I try to run the transformation on an example input UML model I get the following exception:

org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'RootElement' is not legal. (platform:/resource/dicer-core/models-uml/test.uml, 3, 66)

Currently my UML profile just defines a single stereotype called "VM" which extends the Device metaclass. Then in the ATL transformation I have the following rule:

rule TestRule{
from
s: UML!Device(s.getAppliedStereotypes() -> exists(stereotype | stereotype.name = 'VM'))
to
t : OUTPUT!NodeElement(
element_name <- s.name
)
}

I tried changing the name or reinstalling UML into Eclipse but anything works. What am I doing wrong?

Thanks a lot in advance for any suggestion.

[Updated on: Tue, 27 September 2016 11:58]

Report message to a moderator

Forum: BIRT
 Topic: BIRT Dynamically hide option
BIRT Dynamically hide option [message #1744477] Tue, 27 September 2016 11:23
Imran Khan is currently offline Imran KhanFriend
Messages: 6
Registered: May 2013
Junior Member
Hi all,
I am trying to create a report in BIRT 4.3.1 and i am using with Maximo. My requirementt is to dynamically hide terms and conditions based on the type of value that i am getting in my dataset. I am creating a po print report and depeding upon service type that can be service or goods or both. Requirement is when line type is service that it should display text(a) and when line type is goods then it should display text(b) or in thrid case if both line type is both service and goods then it should display text(c). Problem is column name is LINETYPE and it value can be SERVICE, GOODS or both because there can be multiple lines. What is best and eaiset way to display and hide on BIRT report. Thanks

 Topic: BIRT Dynamically hide option
BIRT Dynamically hide option [message #1744478] Tue, 27 September 2016 11:24
Imran Khan is currently offline Imran KhanFriend
Messages: 6
Registered: May 2013
Junior Member
Hi all,
I am trying to create a report in BIRT 4.3.1 and i am using with Maximo. My requirementt is to dynamically hide terms and conditions based on the type of value that i am getting in my dataset. I am creating a po print report and depeding upon service type that can be service or goods or both. Requirement is when line type is service that it should display text(a) and when line type is goods then it should display text(b) or in thrid case if both line type is both service and goods then it should display text(c). Problem is column name is LINETYPE and it value can be SERVICE, GOODS or both because there can be multiple lines. What is best and eaiset way to display and hide on BIRT report. Thanks

Forum: OCL
 Topic: Is Collection(T) covariant on T?
Is Collection(T) covariant on T? [message #1744472] Tue, 27 September 2016 10:51
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 153
Registered: August 2013
Senior Member
Hi!

According to the Section 11.7.5 of the OCL Specification 2.4 Sequence type has the following operation:
including(object : T) : Sequence(T)


I expect that the following expression will return invalid value.
Sequence{1, 2, 3}->including('string')

Because operation including(String) is not defined for Sequence(Integer). I expect that type T of the argument must conform to the type T of the source Sequence(T). Also the resulting and source collections will have the same Sequence(T) type.

But the result of the expression is the Sequence{1,2,3,'string'} with a Sequence(OclAny) type.

Even the following expression has the same result:
let coll : Sequence(Integer) = Sequence{1,2,3} in coll->including('string')


Is it true that OCL Sequence(T) is covariant on T? Integer is a subtype of OclAny. So Sequence(Integer) is a subtype of Sequence(OclAny). And so the operation including(OclAny) is defined for Sequence(Integer)?

[Updated on: Tue, 27 September 2016 10:52]

Report message to a moderator

Re: Is Collection(T) covariant on T? [message #1744473 is a reply to message #1744472] Tue, 27 September 2016 10:57
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 153
Registered: August 2013
Senior Member
No, I didn't expect that it will return invalid value. I expected that OCL implementation will rise a design time error.
Re: Is Collection(T) covariant on T? [message #1744475 is a reply to message #1744473] Tue, 27 September 2016 11:07
Ed Willink is currently online Ed WillinkFriend
Messages: 4905
Registered: July 2009
Senior Member
Hi

It is intuitive to get confused with Java libraries where collections are mutable so the resulting collection obviously has the same type as the source collection. However in OCL, Collections are immutable and so the result is a brand new collection which can have a brand new type. It is therefore a language design decision whether the declaration of "Sequence(T)::including(T) : Sequence(T)" is allowed full freedom to find a T that satisfies the usage, or whether T must be precisely bound to the actual source collection. Full freedom seems more declarative and sensible and so that is how Eclipse OCL has evolved in its prototype of this ambiguity. In practice Sequence(Integer) evolving into a Sequence(OclAny) is 'correct' but surprising. However it should not be dangerous since downstream something should complain that your Sequence(Integer) has got polluted.

Regards

Ed Willink
Re: Is Collection(T) covariant on T? [message #1744479 is a reply to message #1744475] Tue, 27 September 2016 11:32
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 153
Registered: August 2013
Senior Member
Thanks for answer! It seems that this situation isn't described in the specification, so another implementation may has a different behaviour?

Here is a related example:
let realCollection : Sequence(Real) = Sequence{1.0, 2,0, 3,0} in
let intCollection : Sequence(Integer) = realCollection in
intCollection->including(1)

let intCollection : Sequence(Integer) = Sequence{1, 2, 3} in
let realCollection : Sequence(Real) = intCollection in
realCollection->including(1)


The first expression has a Sequence(Integer) type. And the second one - Sequence(Real). I think that the first expression must be incorrect, because Sequence(Real) can not be casted to Sequence(Integer)...
Forum: Oomph
 Topic: Modify config.ini
Modify config.ini [message #1744460] Tue, 27 September 2016 09:27
Jan Rosczak is currently offline Jan RosczakFriend
Messages: 52
Registered: July 2009
Location: Hamburg, Germany
Member
In my own setup file I am looking for a way to add a configuration property to the config.ini file.

Is this possible and how can this be done?
Re: Modify config.ini [message #1744464 is a reply to message #1744460] Tue, 27 September 2016 10:21
Ed Merks is currently offline Ed MerksFriend
Messages: 27856
Registered: July 2009
Senior Member
Jan, there's no specialized task for that but a Text Modify Task likely can do the trick. Here's an example from CDO Server:
<?xml version="1.0" encoding="UTF-8"?>
<setup:TextModifyTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    url="${installation.location|uri}/${installation.relativeProductFolder}/configuration/config.ini"
    encoding="ISO-8859-1">
  <modification
      pattern="eclipse\.application=([^\r\n]*)">
    <substitution>org.eclipse.emf.cdo.server.app</substitution>
  </modification>
  <modification
      pattern="(osgi\.splashPath=)">
    <substitution>XXXosgi.splashPath=</substitution>
  </modification>
</setup:TextModifyTask>

Note that for each substitution there must be a corresponding capture-group in the pattern.
Re: Modify config.ini [message #1744480 is a reply to message #1744464] Tue, 27 September 2016 11:39
Jan Rosczak is currently offline Jan RosczakFriend
Messages: 52
Registered: July 2009
Location: Hamburg, Germany
Member
I thought so at first, but there is no pattern to match in the config.ini. All I want to do is add a line to config.ini, not modify an existing line.

The Text Modify Task does not help with that or does it?
 Topic: [Solved] Strange things in p2task collected repositories
Re: Strange things in p2task collected repositories [message #1744463 is a reply to message #1744417] Tue, 27 September 2016 10:15
Ed Merks is currently offline Ed MerksFriend
Messages: 27856
Registered: July 2009
Senior Member
Do your tasks get installed into the installer (so they can perform at bootstrap time) or do they only perform in the running installation that's produced? Is it possible that your user.setup might have variables or p2 tasks that use the old site and that these are contributing to what the installer does?
Re: Strange things in p2task collected repositories [message #1744468 is a reply to message #1744463] Tue, 27 September 2016 10:44
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 35
Registered: January 2016
Member

Thank you for your response Smile

They get installed into the installer and the repos they get installed from are correct. I also checked the used setup and removed all cached data from the installer.
Re: Strange things in p2task collected repositories [message #1744481 is a reply to message #1744468] Tue, 27 September 2016 11:41
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 35
Registered: January 2016
Member

Found it.

The classes

  • XyTask.java
  • xyPackageImpl.java
  • xyPackage

mentioned the old repo in their source code. Haven't looked there but assumed the repo location is found in the xml files of the plugin

Thanks nevertheless Smile
Forum: Remote Application Platform (RAP)
 Topic: Focus, Composite and Popup Menu
Focus, Composite and Popup Menu [message #1744485] Tue, 27 September 2016 12:02
Gunnar Adams is currently offline Gunnar AdamsFriend
Messages: 6
Registered: May 2016
Junior Member
Hi,

My application is made up of a Shell containing a Composite on which a number of input fields are located. Focus traversal between those input fields works fine (both using keyboard traversal and mouse clicks).

Within the application it is possible to show (different) context menus on both the containing Composite and each individual input field.
Problem:
The keyboard focus is in a input field. When I show the context menu for the Composite (by pressing the right mouse button while over the Composite), the focus is removed from the current focus field.

Display.getFocusControl() returns the Composite.

Because a Composite by itself should not be able to get the keyboard focus, I find this irritating and suspect an error. I expect the keyboard focus to remain in the input field instead.

Questions:
1. can you confirm that this is the intended behavior?
2. can this behavior be prevented or worked around (preferrably on the server side)?

Kind regards,
Gunnar





Forum: Sirius
 Topic: Sub Node vs. Bordered Node
Re: Sub Node vs. Bordered Node [message #1744451 is a reply to message #1744400] Tue, 27 September 2016 07:48
Pierre-Charles David is currently online Pierre-Charles DavidFriend
Messages: 282
Registered: July 2009
Senior Member
It's not a "bad habit", it really all depends on what you want your graphical representation to look like. Sirius does not care about the containment structure of your semantic model. Indeed, one of the selling points of Sirius is its complete flexibility in this area; it's the whole point of the computed semanticCandidateExpressions. You can have any number of ways to represent the same underlying model, depending on the purpose of each diagram/representation. Some will have a graphical structure which closely matches the actual "physical" structure of the model; some will show completely different points of view (projections, if you want) of the same data. So don't worry about "misusing" this power Smile Design your diagrams according to their purpose from their target user's point of view, not necessarily according to the technical details of how the data model was implemented.

Regards,
Pierre-Charles
 Topic: Cannot find the class file for org.eclipse.sirius.ui.business.api.dialect.DialectEditor
Re: Cannot find the class file for org.eclipse.sirius.ui.business.api.dialect.DialectEditor [message #1744452 is a reply to message #1744434] Tue, 27 September 2016 07:52
Laurent Redor is currently offline Laurent RedorFriend
Messages: 167
Registered: July 2009
Senior Member
Hi,
I think you must increase the "-Xmx" jvm parameter. By default, it is set to 3000m in eclipse.ini of Capella.
Regards,

--
Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Cannot find the class file for org.eclipse.sirius.ui.business.api.dialect.DialectEditor [message #1744456 is a reply to message #1744452] Tue, 27 September 2016 08:09
Truong Ho-Quang is currently offline Truong Ho-QuangFriend
Messages: 3
Registered: September 2016
Junior Member
Hi Laurent,

Increasing it does not help me - The problem remained.
Can you have a look on Capella settings on my computer (MAC 64b, Java 1.7u80):

-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120913-144807
-showsplash
org.polarsys.capella.core.platform.sirius.ui.perspective
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms1024m
-Xmx15360m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts


I had problem getting Capella running at first and used the tips given in this discussion

Regards,
Truong
Re: Cannot find the class file for org.eclipse.sirius.ui.business.api.dialect.DialectEditor [message #1744459 is a reply to message #1744456] Tue, 27 September 2016 08:51
Laurent Redor is currently offline Laurent RedorFriend
Messages: 167
Registered: July 2009
Senior Member
-Xmx15360m is maybe ignored by the jvm. I don't know exactly the limit.

Do you try -Xmx3000m ?

Furthermore, I think you launch a runtime and the parameter must be set in the launch configuration in "Arguments" tab. The runtime does not reuse the parameters defined in the eclipse.ini file.
 Topic: Sirius Resource Strategy and Resource.unload()
Sirius Resource Strategy and Resource.unload() [message #1744486] Tue, 27 September 2016 12:06
Felix Dorner is currently offline Felix DornerFriend
Messages: 137
Registered: December 2015
Senior Member
Hi,

I just got aware of http://cedric.brun.io/eclipse/eclipse-4.6.0M6/ where Cedric describes that you no longer call Resource.unload() when closing a session Surprised

Could you give me a reference to the bugzilla that introduced this new behavior?

Is this behavior somehow revertible/configurable to go back to the old behavior? Maybe by using the provided extension point?

I am in need of fixing https://bugs.polarsys.org/show_bug.cgi?id=1199 and I feel the pattern (clean references when elements are detected to be proxies) might be applied in quite a few places in the capella codebase, so the one fix for all would probably be to have sirius call Resource.close again. Is there a way I can force the old behavior at least temporarily until I analysed the codebase?

Thanks,
Felix
Forum: Papyrus
 Topic: Export Papyrus as standalone product
Re: Export Papyrus as standalone product [message #1744457 is a reply to message #1744399] Tue, 27 September 2016 08:11
Laurent Le Moux is currently offline Laurent Le MouxFriend
Messages: 44
Registered: June 2015
Member
Hi Vetle,

Sorry but I can't help. I could not find my way in Papyrus internals.
Good luck,

Laurent
 Topic: Missing plugin eclipse.papyrus.codegen in Neon
Re: Missing plugin eclipse.papyrus.codegen in Neon [message #1744482 is a reply to message #1744021] Tue, 27 September 2016 11:46
Hans Huckebein is currently online Hans HuckebeinFriend
Messages: 13
Registered: January 2015
Junior Member
Thank you for the hint, indeed there is a codegen component in "Designer". But as far as I see, it is not compatible with the old one :-/ need to have a closer look at that.
 Topic: Missing Hyperlinks in Diagrams
Missing Hyperlinks in Diagrams [message #1744483] Tue, 27 September 2016 11:53
Hans Huckebein is currently online Hans HuckebeinFriend
Messages: 13
Registered: January 2015
Junior Member
Hi,
after updating to papyrus / neon from mars I am missing the hyperlink functionality of diagrams. In Mars, I was able to decorate any diagram entities with hyperlinks and with a default hyperlink, that allowed me to navigate to refined diagrams, code or whatever (I also used it for providing external things like animations and word documents). Is that feature gone?

Best regards
Hans
Re: Missing Hyperlinks in Diagrams [message #1744487 is a reply to message #1744483] Tue, 27 September 2016 12:11
Thomas Wiman is currently offline Thomas WimanFriend
Messages: 20
Registered: June 2012
Location: Stockholm , Sweden
Junior Member

If you press ALT when hovering over an element in Papyrus 2.0, you will see the hyperlink functionality.

Regards,
Thomas
Forum: Eclipse Process Manager (Stardust)
 Topic: How to handle Exception in SQL invocation call application
Re: How to handle Exception in SQL invocation call application [message #1744488 is a reply to message #1743623] Tue, 27 September 2016 12:11
Dev Khatri is currently online Dev KhatriFriend
Messages: 2
Registered: September 2016
Junior Member
I found solution for retrieve single row data from database in SQL invocation.
Can anybody suggest me how can I retrieve multiple rows

[Updated on: Tue, 27 September 2016 12:16]

Report message to a moderator




Current Time: Tue Sep 27 12:20:04 GMT 2016

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

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