Eclipse Community Forums
Forum Search:

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

Forum: RCP Testing Tool
 Topic: How to make if statement if window exists?
Re: How to make if statement if window exists? [message #1456368 is a reply to message #1456354] Thu, 30 October 2014 09:30
Ulyana Skorokhodova is currently offline Ulyana Skorokhodova
Messages: 7
Registered: July 2014
Junior Member
Hi Dominik,

Could you please try the following way:


proc "windowExists" [val window] {
try {
get-window $window
bool true // return true
} -catch {
bool false // return false
}
}


if [windowExists "Authentifikation"]{

log "Window Exists"

}-else {log "Window does NOT exist"}

Please, let us know if it was helpful.

Yours sincerely,
Ulyana.
Re: How to make if statement if window exists? [message #1456376 is a reply to message #1456368] Thu, 30 October 2014 09:42
Dominik Gabriel is currently offline Dominik Gabriel
Messages: 37
Registered: June 2013
Member
Hi Ulyana,

thank you it worked very well. it just seems a little strange to me that a screenshot is taken. and i dont really understand why my solution isnt working Confused

sincerely Dominik
 Topic: [SOLVED]How add my custom ecl command to rcptt?
Re: [SOLVED]How add my custom ecl command to rcptt? [message #1456578 is a reply to message #1452516] Thu, 30 October 2014 13:56
Antonio SantaCruz is currently offline Antonio SantaCruz
Messages: 1
Registered: October 2014
Junior Member
Hi.
I cannot achieve the same results as Francis Embarrassed .

Trying to execute the mvn install over ecl-plugins I get the next error:

Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.20.0:build-qualifier (default-build-qualifier) on project org.eclipse.rcptt.ecl.core: No git repository found searching upwards from C:\WorkSpaces\Rcp\ecl\plugins\org.eclipse.rcptt.ecl.core

Please, can you explain what I´m doing wrong ??
Re: [SOLVED]How add my custom ecl command to rcptt? [message #1456677 is a reply to message #1456578] Thu, 30 October 2014 16:01
Francis BACQUET is currently offline Francis BACQUET
Messages: 36
Registered: September 2014
Member
Hello Antonio,

To generate rcptt's jars.
I used File -> Export -> Plug-in Development/Deployable plug-ins and fragments on each rcptt's projects.
I am not used to using maven, I am powerless if you have to use it, sorry.
Forum: Sirius
 Topic: Combining parts of Edges into one.
Re: Combining parts of Edges into one. [message #1456430 is a reply to message #1455497] Thu, 30 October 2014 10:59
Steve Monnier is currently offline Steve Monnier
Messages: 66
Registered: May 2011
Member
Hello,

Indeed, this feature request of tree layout, where it can be specified
if the children are displayed horizontally or vertically, has been
identified in the past, but it has not been implemented yet. It was
asked (way) before Sirius was contributed to Eclipse, and no bugzilla
(feature request) has been reported yet.

Regards,
Steve

Le 29/10/2014 13:43, Koen Staal a écrit :
> Is it possible to combine edges to one edge if they have the same target?
>
> I uploaded an image below to show what i mean.
>
>
>
> I know there is a "tree" option for edges, but this option combines the vertical lines only. Is there a way to combine horizontal lines aswell? or is there maybe another way to achive the result shown in the image.
>
> The image inhttp://www.eclipse.org/sirius/images/gallery/intelhome-1.png seems to manage it, but it could also be multiple lines drawn over each other.
>
> Any help would be appreciated.
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Combining parts of Edges into one. [message #1456495 is a reply to message #1456430] Thu, 30 October 2014 12:26
Koen Staal is currently offline Koen Staal
Messages: 3
Registered: October 2014
Junior Member
Steve Monnier wrote on Thu, 30 October 2014 10:59
Hello,

Indeed, this feature request of tree layout, where it can be specified
if the children are displayed horizontally or vertically, has been
identified in the past, but it has not been implemented yet. It was
asked (way) before Sirius was contributed to Eclipse, and no bugzilla
(feature request) has been reported yet.

Regards,
Steve


Thanks for your reply. The result i want is indeed very similar to a tree layout, but im not making a tree perse. If i could enabling both a horizontal and vertical tree layout of the edge in one diagram, not only one, i would be very much on my way. The tree layout however limits the line architecture somewhat.

What it basicly comes down to is; if both lines come from the same point on the diagram and go to the same target it should be only one line.

Am i able to make a feature request myself?

Maybe there is some other way, for example splitting the target up in two representations. connect both edges to one of the representation and connect both representations with a different edge. this could be an option because the target in my situation is just a channel. But it seems not possible to make multiple representations of the same object?
for example:
index.php/fa/19714/0/

all idea's are welcome

[Updated on: Thu, 30 October 2014 12:29]

Report message to a moderator

Re: Combining parts of Edges into one. [message #1456584 is a reply to message #1456495] Thu, 30 October 2014 14:01
Steve Monnier is currently offline Steve Monnier
Messages: 66
Registered: May 2011
Member
Le 30/10/2014 13:26, Koen Staal a écrit :
> Thanks for your reply. The result i want is indeed very similar to a tree layout, but im not making a tree perse. If i could enabling both a horizontal and vertical tree layout of the edge in one diagram, not only one, i would be very much on my way. The tree layout however limits the line architecture somewhat.
>
> What it basicly comes down to is; if both lines come from the same point on the diagram and go to the same target it can be only one line.
>
> Am i able to make a feature request myself?
What you can try is use a Ordered Tree Layout or Composite Layout (there
is a left to right option), that can be added under the Diagram
description in your VSM. This way your edges pointing the same parent
will appear as fused. Then you can define a custom layout, using an
extension point, to choose how the element are placed in the diagram .
You can check this previous post
https://www.eclipse.org/forums/index.php/mv/msg/639946/1234795/#msg_1234795
for more information on custom layout. You may not be able to define
exactly the configuration you presented, but something close.

>
> Maybe there is some other way, for example splitting the target up in two representations. connect both edges to one of the representation and connect both representations with a different edge. this could be an option because the target in my situation is just a channel. But it seems not possible to make multiple representations of the same object?
You can define as many Node/Container/Edge mapping as you want for the
same metaclass. The semantic element will be represented multiple time.
More generally, the way you define your mappings doesn't have to reflect
the structure of the metamodel.

Regards,
Steve

> for example:
>
>
> all idea's are welcome
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
 Topic: graphical problems..
Re: graphical problems.. [message #1456630 is a reply to message #1448856] Thu, 30 October 2014 15:04
Pierre-Charles David is currently offline Pierre-Charles David
Messages: 138
Registered: July 2009
Senior Member
Le 20/10/2014 16:39, Nassim Jibai a écrit :
> Now we are trying to migrate our editor from obeo 6.2.

Side-note: you probably mean "Obeo Designer". Obeo is the name of the
company.

> to sirius 1.0 and
> link it to the latest uml designer which is 4.0.1. I was able to make
> our designer compile on sirius 1.0 after configuring all the necessary
> dependencies and method modification.
>
> My problem now is that I do not see the UML Interfaces on my diagram in
> Siriuse and I do not see the edge between class A and UML Interface.
> Do you have any idea of what might be the reason?

Sorry for the late answer.

From what you describe, I suppose your own VSMs define "Diagram
Extension Description" which references the "viewpoint:" URI of the base
diagram description in UML Designer. I believe between version 2 and
4.0.1 UML Designer has reorganised and renamed its representations and
viewpoints. This means the URIs in your VSM may need to be updated to
correctly refer to the current version's diagrams.


--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
 Topic: Getting container across different resources
Re: Getting container across different resources [message #1456398 is a reply to message #1454694] Thu, 30 October 2014 10:12
Steve Monnier is currently offline Steve Monnier
Messages: 66
Registered: May 2011
Member
Hello,

I have read and reply at your previous post too quickly. For your
"change context" task, I think you should use the edge creation tool
variable "source" and use the eContainer reference (opposite of the
wrappers reference): [source.eContainer()/]. This way, you find the
parent "Composition" of the "Wrappers" you are connecting and create a
"Connection" in this parent "Composition". Then you will need to set the
"Connection" reference "sourceWrapper" and "targetWrapper" using
respectivly the edge creation tool variables "source" and "target".

Regards,
Steve

Le 28/10/2014 18:14, Jim S. a écrit :
> Hi,
>
> in my model uses different resources: one for basic components which are then assembled in another model (illustrated by the packages):
>
>
> I want to create an editor for the assembly-model. In this editor I currently try to write a creation Tool for the connection. I added a change-context-tool with this expression "[self.eContainer().eContainer()/] but instead of getting the correct "Composition" instance I get "Repository".
> How can I get the correct context in this scenario?
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Getting container across different resources [message #1456662 is a reply to message #1455426] Thu, 30 October 2014 15:42
Pierre-Charles David is currently offline Pierre-Charles David
Messages: 138
Registered: July 2009
Senior Member
Le 29/10/2014 12:06, Jim S. a écrit :
> When I do
> [sourceView.getParentDiagram().oclAsType(DSemanticDecorator).target/] I
> get a "unknow Variable DSemanticDecorator" error.

Maybe with oclAsType(viewpoint::DSemanticDecorator) to remove the ambiguity?


--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
 Topic: Saving style changes
Saving style changes [message #1456694] Thu, 30 October 2014 16:28
Koen Staal is currently offline Koen Staal
Messages: 3
Registered: October 2014
Junior Member
When double clicking on a bordered node i want to "highlight" connected edges by changing the color and width. However it doesnt get saved. Everytime i double click the node the property red of strokelayout is 0 again.
Any suggestions?


private void showEdgeConnections(DNodeSpec nodeSpec){		
         System.out.println(nodeSpec.getIncomingEdges().get(0).getOwnedStyle().getStrokeColor().getRed());		

	for (DEdge dEdge : nodeSpec.getIncomingEdges()) {					
			DEdge d = changeColor(dEdge);			
		}
		for (DEdge dEdge : nodeSpec.getOutgoingEdges()) {			
			changeColor(dEdge);	
		}		System.out.println(nodeSpec.getIncomingEdges().get(0).getOwnedStyle().getStrokeColor().getRed());		
}

private void changeColor(DEdge dEdge) {		
		EdgeStyle style = dEdge.getOwnedStyle();
		style.setSize(5);			
		RGBValues lineColor = style.getStrokeColor();
		lineColor.setRed(255);
		lineColor.setBlue(0);
		lineColor.setGreen(0);
		style.setStrokeColor(lineColor);						
		dEdge.setOwnedStyle(style);				
}

[Updated on: Thu, 30 October 2014 16:29]

Report message to a moderator

Forum: EMF
 Topic: [CDO] Persistance Strategy for Java Objects
[CDO] Persistance Strategy for Java Objects [message #1456380] Thu, 30 October 2014 09:48
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 520
Registered: June 2011
Senior Member
I have been working with a RCP application. I have been using Java Serialization for persisting java objects in files. In my application, i am generating in memory ecore but i have my own data model (java classes) and i serialize that to be saved in file.

What can be best Strategy for me to make my objects persistable using CDO? I have a big code base and i need to trasform them in EMF.... I have multiple ideas for it but i need to adopt the best recommended appraoch for this.

So should i create an ecore visually (representing my own data model) and then generate code from that and then try to copy functionality related code to newly generated code from my own old data model?

Should i annotate my own data model using annotation so EMF can understand it?

Do i really need to EMFy my own data model? Can i use CDO without EMF?


Cheers,


 Topic: [CDO] uri of repository resource
[CDO] uri of repository resource [message #1456611] Thu, 30 October 2014 14:36
Ba sti is currently offline Ba sti
Messages: 18
Registered: February 2013
Junior Member
Hi,

I have set up a simple cdo server and created a papyrus model in the cdorepository to check out whats possible with cdo.
The structure of the repository is simple:
I´ve got a repository named "repo1", in this repository i have a model repository named "test" and in this i have a folder "folder1" which contains my model "model.uml".
We make a great use of qvt-transformations and so i´m trying to do a transformation of a model thats in the cdo repository using the following uri to address this model:
cdo.net4j.tcp://localhost:2036/repo1/test/folder1/model.uml

When trying to launch the transformation i get the error:
Invalid source URI ' cdo.net4j.tcp://localhost:2036/repo1/test/folder1/model.uml'

Any ideas what to change in this path to resolve the model?

regards,
Sebastian
Re: [CDO] uri of repository resource [message #1456626 is a reply to message #1456611] Thu, 30 October 2014 14:56
Steve Monnier is currently offline Steve Monnier
Messages: 66
Registered: May 2011
Member
Hello,
I think you should look into the connection-aware URI support (https://bugs.eclipse.org/bugs/show_bug.cgi?id=329786). Otherwise, can't you open a CDO Session/Transaction and load the resource using its path in the repository (test/folder1/model.uml' ) or your usage of qvt-transformations prevents it?

Regards,
Steve
 Topic: Xcore 100 EClassifier limit?
Re: Xcore 100 EClassifier limit? [message #1456565 is a reply to message #1455787] Thu, 30 October 2014 13:44
Ed Merks is currently offline Ed Merks
Messages: 26152
Registered: July 2009
Senior Member
Erick,

Please open a bugzilla with an Xcore instance that reproduces the
problem so I can have a look. Also have a look in the Error Log; likely
there's a clue there about what's gone wrong. I suspect it's a bug
that's been fixed in the in the pre-SR2 maintenance stream, so please
first try updating from
http://download.eclipse.org/modeling/emf/emf/updates/2.10.x to pick up
that fix. Alternatively, try setting "Initialize by Loading" to fast in
the properties view when you have the package declaration of the *.xcore
selected; hopefully that doesn't generate class files that have too much
byte code, but also should avoid this problem, if my theory is correct.


On 29/10/2014 8:08 PM, Erick Hagstrom wrote:
> Ok, there doesn't seem to be a 100 EClassifier limit. It's a 500
> ENamedElement limit.
>
> I just created several test .xcore files. One, with 500 class entries.
> All generates well. Add the 501st class and generation of Factory,
> Package, and .util fails. But don't add the 501st class. Stick with
> 500 classes and add a single attribute to any one of them. Gen fails
> again.
>
> Another, with 100 class entries, each of which has 4 attributes. All
> generates well. Add the 101st class (an empty one) and gen fails.
> Leave it in and comment out one of the attributes on one of the other
> classes and gen works again.
>
> So are there any suggestions on how I can proceed with my excessively
> large .xcore file for my doesn't-seem-so-large project?
>
> Thanks
Re: Xcore 100 EClassifier limit? [message #1456648 is a reply to message #1456565] Thu, 30 October 2014 15:25
Erick Hagstrom is currently offline Erick Hagstrom
Messages: 5
Registered: April 2014
Location: USA
Junior Member
Thanks Ed, always a pleasure to hear from you.

I opened bugzilla #449370 for this.

You are correct, the update fixes the problem.

Prior to updating, Initialize by Loading -> false also fixed the problem.

The error log reveals a NPE in GenPackageGeneratorAdapter.java. More specifically,

*** Begin Error Log ***
!ENTRY org.eclipse.emf.codegen.ecore 2 0 2014-10-30 10:54:06.609
!MESSAGE
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.codegen.ecore.genmodel.generator.GenPackageGeneratorAdapter$3.redirect(GenPackageGeneratorAdapter.java:483)
at org.eclipse.emf.codegen.ecore.genmodel.generator.GenPackageGeneratorAdapter$3.setBaseURI(GenPackageGeneratorAdapter.java:534)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:401)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfChangedWithMemoryBuffer(ResourceImpl.java:1144)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:985)
at org.eclipse.emf.codegen.ecore.genmodel.generator.GenPackageGeneratorAdapter.generatePackageSerialization(GenPackageGeneratorAdapter.java:544)
at org.eclipse.emf.codegen.ecore.genmodel.generator.GenPackageGeneratorAdapter.generateModel(GenPackageGeneratorAdapter.java:213)
at org.eclipse.emf.codegen.ecore.genmodel.generator.GenBaseGeneratorAdapter.doGenerate(GenBaseGeneratorAdapter.java:215)
at org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapter.generate(AbstractGeneratorAdapter.java:317)
at org.eclipse.emf.codegen.ecore.generator.Generator.generate(Generator.java:708)
at org.eclipse.emf.codegen.ecore.generator.Generator.generate(Generator.java:619)
at org.eclipse.emf.ecore.xcore.generator.XcoreGenerator.generateGenModel(XcoreGenerator.java:279)
at org.eclipse.emf.ecore.xcore.generator.XcoreGenerator.doGenerate(XcoreGenerator.java:227)
at org.eclipse.xtext.builder.BuilderParticipant.handleChangedContents(BuilderParticipant.java:515)
at org.eclipse.emf.ecore.xcore.ui.builder.XcoreBuildParticipant.handleChangedContents(XcoreBuildParticipant.java:135)
at org.eclipse.xtext.builder.BuilderParticipant.handleChangedContents(BuilderParticipant.java:505)
at org.eclipse.xtext.builder.BuilderParticipant.doGenerate(BuilderParticipant.java:490)
at org.eclipse.xtext.builder.BuilderParticipant.doBuild(BuilderParticipant.java:259)
at org.eclipse.xtext.builder.BuilderParticipant.build(BuilderParticipant.java:217)
at org.eclipse.emf.ecore.xcore.ui.builder.XcoreBuildParticipant.build(XcoreBuildParticipant.java:48)
at org.eclipse.xtext.builder.impl.RegistryBuilderParticipant$DeferredBuilderParticipant.build(RegistryBuilderParticipant.java:158)
at org.eclipse.xtext.builder.impl.RegistryBuilderParticipant.build(RegistryBuilderParticipant.java:68)
at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:196)
at org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:171)
at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:99)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
*** End Error Log ***

Sounds like you have a good handle on this issue, so I'll consider it closed. Thanks!
 Topic: EMF Object and discrepancy tolerance
EMF Object and discrepancy tolerance [message #1456657] Thu, 30 October 2014 15:37
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 520
Registered: June 2011
Senior Member
I have been using java serialization for persisting my POJOs in files but now i need to store my POJOs in database and needs collaboration in my application so i have decided to use CDO.

If i have saved an EMF model (either in File or in DB using CDO) and i have to do alterations in my model like add/delete/rename attributes then will i able to retirve saved models properly from saved resources?

So to be concerete let's suppose i have an ecore model and i have many saved models in db using CDO

1 - if i add a new attribute to my ecore model and regenerate model then will i be able to retrieve old models properly?

2 - if i delete an attribute to my ecore model and regenerate model then will i be able to retrieve old models properly?

3 - if i rename an attribute to my ecore model and regenerate model then will i be able to retrieve old models properly?

thanks for helping....

Cheers,

[Updated on: Thu, 30 October 2014 15:37]

Report message to a moderator

Re: EMF Object and discrepancy tolerance [message #1456695 is a reply to message #1456657] Thu, 30 October 2014 16:28
Ed Merks is currently offline Ed Merks
Messages: 26152
Registered: July 2009
Senior Member
Comments below

On 30/10/2014 4:37 PM, ModelGeek Mising name wrote:
> I have been using java serialization for persisting my POJOs in files
> but now i need to store my POJOs in database and needs collaboration
> in my application so i have decided to use CDO.
>
> If i have saved an EMF model (either in File or in DB using CDO) and i
> have to do alterations in my model like add/delete/rename attributes
> then will i able to retirve saved models properly from saved resources?
No, the model itself is saved in the data base and affects the data base
layout; it can't be altered.
>
> So to be concerete let's suppose i have an ecore model and i have many
> saved models in db using CDO
>
> 1 - if i add a new attribute to my ecore model and regenerate model
> then will i be able to retrieve old models properly?
No.
>
> 2 - if i delete an attribute to my ecore model and regenerate model
> then will i be able to retrieve old models properly?
No.
>
> 2 - if i rename an attribute to my ecore model and regenerate model
> then will i be able to retrieve old models properly?
No.
>
> thanks for helping....
This is the issue of model migration and is one of the few remaining
large features for CDO that's mostly unaddressed.
>
> Cheers,
Forum: Proposals
 Topic: New Proposals: Eclipse SCADA
Re: New Proposals: Eclipse SCADA [message #1456174 is a reply to message #1455091] Thu, 30 October 2014 04:52
Tam nk is currently offline Tam nk
Messages: 3
Registered: October 2014
Junior Member
Hello every body, after one day hard working. I setup Eclipse Scada on the Windowns successful. But when i install on the Ubuntu, i can't see Eclipse Scada Function like in Windows (I really don't want to use Microsoft Windowns and giving up it) . When I use Siemens Scada Software, i can get many support Video. I think Eclipse same that. But I am new one, anyone can show me how to do?Thanks so much
Re: New Proposals: Eclipse SCADA [message #1456301 is a reply to message #1456174] Thu, 30 October 2014 08:05
Jürgen Rose is currently offline Jürgen Rose
Messages: 3
Registered: June 2013
Junior Member
Hi,

thanks for your message. Unfortunately this is the forum for new Eclipse projects, and this topic is the topic for the project proposal of Eclipse SCADA. It is not a support forum/thread.

The detailed and up to date information how to communicate with the project can be found in the project information page [1]. The e-mail to the mailling list is [2]. Or you can check the dedicated forum [3].

In order to help you, it is important for us to understand what you did and what went wrong. What you expected to happen or what you are missing in detail.

Thanks

Jens


[1] https://projects.eclipse.org/projects/technology.eclipsescada
[2] scada-dev@eclipse.org
[3] https://www.eclipse.org/forums/index.php/f/266/
Re: New Proposals: Eclipse SCADA [message #1456699 is a reply to message #1456301] Thu, 30 October 2014 16:34
Tam nk is currently offline Tam nk
Messages: 3
Registered: October 2014
Junior Member
Thanks Rose. I will study.
Forum: Java Development Tools (JDT)
 Topic: [RESOLVED]Unable to stop at breakpoint during remote debug session
Re: Unable to stop at breakpoint during remote debug session [message #1456166 is a reply to message #1455231] Thu, 30 October 2014 04:44
Jim Anderson is currently offline Jim Anderson
Messages: 51
Registered: October 2014
Member

Sarika,

That did it! Thank you so much. I have put a lot of time trying to get this to work and now I am there. I had seen the documentation about setting the value of the JVM options to:

Quote:
JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"


but I had not seen the part:

Quote:
catalina.sh jpda start


With these changes, I can not hit my break points in Eclipse.

Best regards,
Jim
 Topic: Eclipse crash with RHEL 2.6.32-504.el6.i686
Re: Eclipse crash with RHEL 2.6.32-504.el6.i686 [message #1456300 is a reply to message #1448997] Thu, 30 October 2014 08:02
Christoph Mayer is currently offline Christoph Mayer
Messages: 1
Registered: October 2014
Junior Member
Hi -:)
I also upgraded my System to CentOS 6.6 and I'm using Kepler. I have the still problem but found not much stuff on google.
I tried Luna and it worked everything without any problems. Smile

Is there also a fix for Kepler available? I can't upgrade to Luna because my University is still using a SVN 1.6 Server Sad

Best Regards and thank you for your help
Christoph
Re: Eclipse crash with RHEL 2.6.32-504.el6.i686 [message #1456529 is a reply to message #1456300] Thu, 30 October 2014 13:01
Eric Rizzo is currently offline Eric Rizzo
Messages: 2327
Registered: July 2009
Senior Member
It's theoretically possible to install Subversive with 1.6 connectors into Luna. See https://www.eclipse.org/forums/index.php/t/826574/

[Updated on: Thu, 30 October 2014 13:01]

Report message to a moderator

Re: Eclipse crash with RHEL 2.6.32-504.el6.i686 [message #1456569 is a reply to message #1448997] Thu, 30 October 2014 13:46
Riley Brown is currently offline Riley Brown
Messages: 2
Registered: October 2014
Junior Member
Guys,
One of my users found a workaround via adding "-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false" to eclipse.ini.
 Topic: Need Help
Need Help [message #1456557] Thu, 30 October 2014 13:32
Hou Zhipeng is currently offline Hou Zhipeng
Messages: 3
Registered: October 2014
Junior Member
I'm a new java developer .I want to develop windows visually in Eclipse Luna SE.Because writing codes by myself to develop windows is too slowly and too much for me. But I don't know which plug-in should I download from the Eclisp.org . I have searched in Internet before. Many people suggest me install VE .But I can't find it from Eclipse.org .
So if you know how to do it ,could you please give me a reply.I will really appreciate that if you can teach me how to do it step by step or give me the links.
Thank you very much! Very Happy

[Updated on: Thu, 30 October 2014 13:34]

Report message to a moderator

Re: Need Help [message #1456700 is a reply to message #1456557] Thu, 30 October 2014 16:33
Ed Merks is currently offline Ed Merks
Messages: 26152
Registered: July 2009
Senior Member
This isn't a question appropriate for the JDT forum. Better you ask on
newcomers if in doubt.

In any case, it sounds like you should look at
http://www.eclipse.org/windowbuilder/


On 30/10/2014 2:32 PM, Hou Zhipeng wrote:
> I'm a new java developer .I want to develop windows visually in
> Eclipse Luna SE.Because writing codes by myself to develop windows is
> too slowly and too much for me. But I don't know which plug-in should
> I download from the Eclisp.org . I have searched in Internet before.
> Many people suggest me install VE .But I can't find it from Eclipse.org .
> So if you know how to do it ,could you please give me a reply.I
> will really appreciate that if you can teach me how to do it step by
> step or give me the links.
> Thank you very much! :d
Forum: NatTable
 Topic: Nullpointexception in SizeConfig
Re: Nullpointexception in SizeConfig [message #1456135 is a reply to message #1455171] Thu, 30 October 2014 03:59
neal zhang is currently offline neal zhang
Messages: 30
Registered: July 2012
Member
Tested latest codes. it fixed. thanks.
 Topic: Can we public SizeConfig from DataLayer
Re: Can we public SizeConfig from DataLayer [message #1456142 is a reply to message #1453611] Thu, 30 October 2014 04:05
neal zhang is currently offline neal zhang
Messages: 30
Registered: July 2012
Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448934,
Hi dirk, i resolved it, i hope it is ok, i just modified the private to protected.
 Topic: Create a huge columns for nattable, still working paint function.
Re: Create a huge columns for nattable, still working paint function. [message #1456284 is a reply to message #1455375] Thu, 30 October 2014 07:44
Dirk Fauth is currently offline Dirk Fauth
Messages: 1347
Registered: July 2012
Senior Member
I don't have an idea on that. The paint function is called on painting. So it seems the paint operation is executed that often, Might be caused by your usage of NatTable.
 Topic: NaTable Validation
NaTable Validation [message #1456687] Thu, 30 October 2014 16:17
Amruta Sardeshmukh is currently offline Amruta Sardeshmukh
Messages: 3
Registered: September 2014
Junior Member
Based on particaluar value entered in column ,the NatTabel row needs to made non editable or editable.
How can this validation check implemented in effectively NatTable
 Topic: NatTabel comboBox dynamically changing values
NatTabel comboBox dynamically changing values [message #1456704] Thu, 30 October 2014 16:36
Amruta Sardeshmukh is currently offline Amruta Sardeshmukh
Messages: 3
Registered: September 2014
Junior Member
Based on certain validation checks needs to change (add/remove) values dynamically from the comBox list.
Forum: C / C++ IDE (CDT)
 Topic: CDT Successfully installed, but UI not visible
Re: CDT Successfully installed, but UI not visible [message #1456173 is a reply to message #1445557] Thu, 30 October 2014 04:52
Noah Goldsmith is currently offline Noah Goldsmith
Messages: 1
Registered: October 2014
Junior Member
I am having this same issue. Anyone have any suggestions?
 Topic: Inconsistent compiler results
Inconsistent compiler results [message #1456652] Thu, 30 October 2014 15:32
Dan Miller is currently offline Dan Miller
Messages: 3
Registered: October 2014
Junior Member
I am trying to build our ARM9 project in Eclipse. I included all the related files, and specified all required include directories.

I have one .C file, which includes a header file lowseg.h. This header file includes the following declaration:
typedef enum
{ Bit_RESET = 0,
Bit_SET
}BitAction;

This file has always compiled fine with the Yagarto toolchain that I use for building the project. When I try to build the project in Eclipse, I get:

Description Resource Path Location Type
Symbol 'Bit_RESET' could not be resolved startup.c /OduArm9/arm_lib line 305 Semantic Error
Symbol 'Bit_RESET' could not be resolved startup.c /OduArm9/arm_lib line 314 Semantic Error
Symbol 'Bit_RESET' could not be resolved startup.c /OduArm9/arm_lib line 323 Semantic Error
Symbol 'Bit_SET' could not be resolved startup.c /OduArm9/arm_lib line 41 Semantic Error
Symbol 'Bit_SET' could not be resolved startup.c /OduArm9/arm_lib line 303 Semantic Error
Symbol 'Bit_SET' could not be resolved startup.c /OduArm9/arm_lib line 312 Semantic Error
Symbol 'Bit_SET' could not be resolved startup.c /OduArm9/arm_lib line 321 Semantic Error

However, If I make a copy of this enum within the .C file, I then get:
Description Resource Path Location Type
conflicting types for 'BitAction' startup.c /OduArm9/arm_lib line 19 C/C++ Problem
make: *** [arm_lib/startup.o] Error 1 OduArm9 C/C++ Problem
previous declaration of 'BitAction' was here lowseg.h /OduArm9/arm_lib line 19 C/C++ Problem
previous definition of 'Bit_RESET' was here lowseg.h /OduArm9/arm_lib line 17 C/C++ Problem
previous definition of 'Bit_SET' was here lowseg.h /OduArm9/arm_lib line 19 C/C++ Problem
redeclaration of enumerator 'Bit_RESET' startup.c /OduArm9/arm_lib line 17 C/C++ Problem
redeclaration of enumerator 'Bit_SET' startup.c /OduArm9/arm_lib line 19 C/C++ Problem

So apparently Eclipse can see the header file contents, but it can't see them?? I don't understand what is wrong here...
Re: Inconsistent compiler results [message #1456712 is a reply to message #1456652] Thu, 30 October 2014 16:47
Tauno Voipio is currently online Tauno Voipio
Messages: 34
Registered: August 2014
Member
It seems that the compiler does see your header file, but the CDT editor parser does not.

Check that the directory of the header file is seen in the 'includes' section of the project explorer on left. If it is not, use the Project Properties menu to add it in.


--

Tauno Voipio
Forum: Eclipse 4
 Topic: KeyBindings & KeysPreferencePage
KeyBindings & KeysPreferencePage [message #1456071] Thu, 30 October 2014 02:16
swrd lgc is currently offline swrd lgc
Messages: 2
Registered: December 2013
Junior Member
When I move my project from e3 to e4, I got some problems about KeyBinding:
A. I failed to use EContextService.‍activateContext or ‍deactivateContext to Use or Abandon KeyBindings.It just has no effect
B. I failed to open KeysPreferencePage because ituses e3's IWorkbench‍to init KeyController.‍
 Topic: Menu Item Handler Execute() Results in IllegalStateException: Workbench has not been created yet
Re: Menu Item Handler Execute() Results in IllegalStateException: Workbench has not been created yet [message #1456713 is a reply to message #1455934] Thu, 30 October 2014 16:49
Patty Eilers is currently offline Patty Eilers
Messages: 2
Registered: October 2014
Junior Member
After further investigation it appears that the problem has to do with the fact that I am developing an e4 (Eclipse 4.x) RCP application that requires 3rd party components developed for Eclipse 3.x.

For the benefit of others running into this same problem, I believe a good resource to help work around this may be Jonas Helming's tutorial on "soft migration" from Eclipse 3.x to 4.x.
Pages (3): [ «    1  2  3]


Current Time: Thu Oct 30 16:55:52 GMT 2014

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

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