Home » Eclipse Projects » Eclipse Scout » renaming/deleting services in scout view(old service remains in plugin.xml preventing new creation with same name and gets errors on startup)
| | |
Re: renaming/deleting services in scout view [message #1018383 is a reply to message #1018364] |
Wed, 13 March 2013 18:33 |
Jeremie Bresson Messages: 1252 Registered: October 2011 |
Senior Member |
|
|
Andreas Engler wrote on Wed, 13 March 2013 18:30
Renaming issue is not covered this way.
That is correct; we need to have a look at both your scenario. Someone needs to take time in order to reproduce it.
You are allowed to open bugs. If you do so, please cross reference the URL of the forum post and of the bug. It is easier to find it.
Andreas Engler wrote on Wed, 13 March 2013 18:30
Question ist where to post my watching (following next). Create a new topic, answer in the thread or in the bug section?
My personal opinion (I am not sure there is a guideline for that) is to put the content that belongs together together. I do not mind an old forum thread being brought back by someone sharing it experience on the topic.
If you open a new topic you somehow need to cross reference all the stuff together (N forum threads and the bug). If you discuss this problem in an other forum thread (this thread or a new one) that is not referenced in the bug, the person that will fix the bug 387625 will not see it and will miss your feedback.
I create a new topic when I want to discuss something new. For example you could have created a new topic "general questions on using the forum."
As for the question Bugzilla vs Forum:
Since the Bug and the Forum are cross referenced, I think It does not matter if you choose to post in Bugzilla Bug 387625 or in the forum post. Use the tool you want.
Andreas Engler wrote on Wed, 13 March 2013 18:30
In my case the search form disapears on every second page. (Usind SWT, swing is ok for that but does not give the possibility to hide the search form, thats why i get back to SWT)
That means i have a hierarchie of tablepages with search forms. Navigating through the pages in series gets following behavior (SF for search form)
I have seen the problem you have described myself. It is a very big problem of Scout Runtime with an Eclipse Runtime > 4.x. (If you want SWT I recommend you to use a 3.x runtime for the moment).
[Updated on: Thu, 14 March 2013 07:57] Report message to a moderator
|
|
|
Re: renaming/deleting services in scout view [message #1018598 is a reply to message #1018364] |
Thu, 14 March 2013 06:57 |
Urs Beeli Messages: 573 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Andreas Engler wrote on Wed, 13 March 2013 18:30In my case the search form disapears on every second page. (Usind SWT, swing is ok for that but does not give the possibility to hide the search form, thats why i get back to SWT)
That means i have a hierarchie of tablepages with search forms. Navigating through the pages in series gets following behavior (SF for search form)
Page1 SF shown
Page2 SF not shown
Page3 SF shown
Page4 SF not shown
Page5 SF shown
Page1 SF not shown
Page2 SF shown
and so on
I had the same Problem with the Tables on the pages, but this was in a state where i only had 2 Pages so i can't see "the every second page" behavior. I did go on with swing and come back now to SWT. It seems to me, that the problem of disapearing Table is now replaced by disapearing Search Form. At the moment i can't figure out if the above is true for tablepages without search form.
I use eclipse juno with scout package, i think 4.2 eclipse and 3.8.1 scout.
I've had the same problem. Setting the upcoming Kepler release of scout as target solved this issue for me.
Create a new project in your workspace and add a "target definition file" to it. Open it in the text or xml editor and paste the following code in there:
<?xml version="1.0" encoding="UTF-8"?><?pde version="3.8"?><target name="minicrm" sequenceNumber="29">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.scout.rt.source.feature.group" version="3.9.0.20130206-1155"/>
<unit id="org.eclipse.scout.rt.testing.source.feature.group" version="3.9.0.20130206-1155"/>
<repository location="http://download.eclipse.org/releases/kepler/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.platform.ide" version="3.8.1.M20120914-1540"/>
<unit id="org.eclipse.rcp.feature.group" version="3.8.1.v20120814-105048-92BmGJlFw3Ez0WZ9TxCqgcSVAE"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.8.0.v20120522-1841-7M7fA78g5_y-eQjtHxcd47Zm7mDQ"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.8"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="com.bsiag.scout.rt.ui.swing.laf.rayo.feature.feature.group" version="3.8.1.201209051219"/>
<repository location="http://tools.bsiag.com/marketplace/rayo"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rap.runtime.requirements.feature.group" version="1.5.1.20120917-1130"/>
<unit id="org.eclipse.rap.runtime.feature.group" version="1.5.1.20120917-1130"/>
<unit id="org.eclipse.scout.rt.rap.feature.feature.group" version="3.8.1.201209171521"/>
<repository location="http://download.eclipse.org/releases/juno/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rap.incubator.supplemental.fileupload.feature.feature.group" version="1.5.0.20120220-1720"/>
<repository location="http://download.eclipse.org/rt/rap/1.5/incubator"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.scout.rt.ui.rap.incubator.filechooser.feature.feature.group" version="3.8.1.201209171521"/>
<repository location="http://download.eclipse.org/scout/releases/3.8"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.w3c.dom.svg" version="1.1.0.v201011041433"/>
<unit id="org.w3c.css.sac" version="1.3.1.v200903091627"/>
<unit id="org.w3c.dom.events" version="3.0.0.draft20060413_v201105210656"/>
<unit id="org.w3c.dom.smil" version="1.0.1.v200903091627"/>
<unit id="javax.servlet" version="2.5.0.v201103041518"/>
<unit id="org.apache.batik.css" version="1.6.0.v201011041432"/>
<unit id="org.apache.batik.util.gui" version="1.6.0.v201011041432"/>
<unit id="org.apache.batik.util" version="1.6.0.v201011041432"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository"/>
</location>
</locations>
</target>
Then save and close it and re-open it in the "target editor", wait until all packages are resolved, then click on the "Set as target platform" link in the upper right corner.
This will use Scout 3.9.0 M5 (Milestone 5 of the Kepler release) which fixed all of the problems described above (but which in turn broke menu support, see Bug 396981 which also describes a workaround; upgrading to M6 on march 22nd should fix this issue as well).
|
|
|
Re: renaming/deleting services in scout view [message #1018819 is a reply to message #1018230] |
Thu, 14 March 2013 14:27 |
Andreas Engler Messages: 10 Registered: January 2013 |
Junior Member |
|
|
hi again,
@Jeremie
Quote:That is correct; we need to have a look at both your scenario. Someone needs to take time in order to reproduce it.
Yes of course, it is not critical.
@Urs
sorry i'm totally new to the eclipse, RCP and PDE stuff. As i searched correctly, you mean File>New>Other>PDE>Target Definition.
Untill now i thought the RAP Target is RAP related and does not effect the hole project.
Am i correct, that your target definition is P2 update side based?
Do i have to put it in every plugin, so in client, share, server, swt, swing and rap?
Just had a try. It seems one position in one project is enough to affect all projects in workspace. But i get errors that *filechooser.feature* and *filechooser.feature.source* were not found, so the hole process stopped and no target seems to be set anymore.
How do i get my existing project using the new target? Just copy it over and do the set as target for every plugin?
As above stated one location in workspace works for all projects in workspace. Right?
Can i share my project via SVN this way? Even if the eclipse install location ist different on the team machines? I read something about team setup with new 3.9 kepler version and local RAP target. But the P2-update side variant should work for older version and team setup to, right?
As if the RAP target location is not the hole story for team setup, then could you point me to how to set up a Team develop environment? I would expect, that using SVN for the Project files do the job, but not without .metadata and some path fixing in there at the moment. Perhaps all that is gone away with target over p2 update side?
Is there somewhere a how to for setting up all needed update sides for a scout project?
Sorry for the newbie questions, but i am...
|
|
|
Re: renaming/deleting services in scout view [message #1020437 is a reply to message #1018819] |
Mon, 18 March 2013 07:04 |
Urs Beeli Messages: 573 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Andreas
I'm not much further ahead of you (about 4 months) and still consider myself a newbie in these matters
"File->New->Other->Plug-in Development->Target Definition" is exactly what I meant. This target definition is indeed P2 update site based. As far as I understood things, having one target definition in your workspace is enough for all projects, in fact, I don't even know if it would be possible to use different targets for different projects (at least not when building in eclipse; doing so using maven/tycho is possible by defining the individual target files). To make your existing projects use the target definition, it is enough to click on the "Set as Target Platform" link.
We are sharing our target definition using SVN, your co-workers can just check out the file, open it, wait for all entries to be resolved and then click "Set as Target Platform".
I can't help you with the error about the "filechooser" errors, the XML I pasted in my post above works exactly like this (and still does, I just checks that it still resolves on my machine).
I'm not aware of a how to for setting up the update sites. We've had someone here to help us with that who's had previous experience. It seems like a fiddly process that involves a lot of trial and error and prone to break when you add a new component...
I don't know if this helps you, but unfortunately it's about as much as I can tell you about all this.
[Updated on: Mon, 18 March 2013 07:04] Report message to a moderator
|
|
|
Re: renaming/deleting services in scout view [message #1023720 is a reply to message #1020437] |
Mon, 25 March 2013 01:59 |
Andreas Engler Messages: 10 Registered: January 2013 |
Junior Member |
|
|
Thank you Urs,
i tried it with setting up a new rap target and choosing the download option. It seems to be a p2 updatesite target. But unfortunatly this way the pgsql and mysql Drivers are not regognised any more. I posted that in thread "SVN and Eclipse Scout [message #1021128]" too.
But this target is loading the 3.8 Version... I'll try to point some portions to the sites in your xml.
[Updated on: Wed, 27 March 2013 02:11] Report message to a moderator
|
|
| | | |
Goto Forum:
Current Time: Thu Mar 28 20:47:31 GMT 2024
Powered by FUDForum. Page generated in 0.06244 seconds
|