Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [SOLVED] Startup trigger not executed
[SOLVED] Startup trigger not executed [message #1696553] Wed, 27 May 2015 08:48 Go to next message
Dieter Scholz is currently offline Dieter ScholzFriend
Messages: 15
Registered: May 2015
Junior Member
Hi,

I created a setup profile at home and it worked as expected.

Now I tried to use the same profile on my company PC and - whatever I try - after the successful setup and the automatic launch of the IDE the startup task of the Oomph install is not executed. If I trigger it manually (perform setup task), the dialog lists no tasks. And in the list of profiles only the predefined ones are listed (User, Workspace, Installation). My setup profile is missing.

Can you give me a hint on how to solve this problem?

Thanks in advance.

Dieter

[Updated on: Thu, 28 May 2015 14:57]

Report message to a moderator

Re: Startup trigger not executed [message #1696559 is a reply to message #1696553] Wed, 27 May 2015 09:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dieter,

Comments below.

On 27/05/2015 10:48 AM, Dieter Scholz wrote:
> Hi,
>
> I created a setup profile at home and it worked as expected.
By profile you mean you have a project setup?
>
> Now I tried to use the same profile on my company PC and - whatever I try
Where is the setup stored? In your git repository? You're adding it to
one of the project catalogs?
> - after the successful setup and the automatic launch of the IDE the
> startup task of the Oomph install is not executed.
In this use case, you've chosen your project on the projects page? And
in the confirmation page you see evidence that the p2 task is installing
additional things (if there are any).
> If I trigger it manually (perform setup task), the dialog lists no tasks.
If you ask it to show all tasks, including the ones that don't need to
perform, is there still no evidence of your project there?
> And in the list of profiles only the predefined ones are listed (User,
> Workspace, Installation). My setup profile is missing.
If you open the workspace setup, doe it show your project as one of the
stream for the workspace's properties?
>
> Can you give me a hint on how to solve this problem?
Not yet. It's not clear what you've done... I'll need to understand
what your Workspace setup looks like. Your project should be referenced
there...
>
> Thanks in advance.
>
> Dieter


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Startup trigger not executed [message #1696564 is a reply to message #1696559] Wed, 27 May 2015 09:45 Go to previous messageGo to next message
Dieter Scholz is currently offline Dieter ScholzFriend
Messages: 15
Registered: May 2015
Junior Member
Ed,

I'm sorry, but I do not understand your answer (all my fault because probably I do not completely overlook how the Oomph installer works).

Ok. I created a setup file (p2 and some changed preferences - see attached file). Then I use this file with the installer. At home - after the installer finished and the IDE is started - the icon for the startup task appears. That's not the case when I execute the same file in my company environment.

I don't understand what that has to do with my workspace and a project I should reference. Can you please explain that to me? Thanks.

I attached the setup log, too.

Dieter
Re: Startup trigger not executed [message #1696577 is a reply to message #1696564] Wed, 27 May 2015 10:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dieter,

Comments below.

On 27/05/2015 11:45 AM, Dieter Scholz wrote:
> Ed,
>
> I'm sorry, but I do not understand your answer (all my fault because probably I do not completely overlook how the Oomph installer works).
>
> Ok. I created a setup file (p2 and some changed preferences - see attached file). Then I use this file with the installer.
So you added it to the project catalog on the project page so that you
could use it with the install?
> At home - after the installer finished and the IDE is started - the icon for the startup task appears. That's not the case when I execute the same file in my company environment.
When you perform manually on the Confirmation page, and you choose "Show
all triggered tasks", are the tasks you're expecting really not listed
there?
>
> I don't understand what that has to do with my workspace and a project I should reference. Can you please explain that to me? Thanks.
>
> I attached the setup log, too.
It looks like it installed all the extra things you've specified.
Perhaps the state of your workspace already matches all these
preferences and there really is nothing to do. In that case you won't
see any startup tasks performed.
>
> Dieter


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Startup trigger not executed [message #1696593 is a reply to message #1696577] Wed, 27 May 2015 12:18 Go to previous messageGo to next message
Dieter Scholz is currently offline Dieter ScholzFriend
Messages: 15
Registered: May 2015
Junior Member
Ed,

Comments below.

>> I'm sorry, but I do not understand your answer (all my fault because probably I do not completely overlook how the Oomph installer works).
>>
>> Ok. I created a setup file (p2 and some changed preferences - see attached file). Then I use this file with the installer.
>So you added it to the project catalog on the project page so that you
>could use it with the install?

Correct. I dropped it into the product selection page.

>> At home - after the installer finished and the IDE is started - the icon for the startup task appears. That's not the case when I execute the same file in my company environment.
>When you perform manually on the Confirmation page, and you choose "Show
>all triggered tasks", are the tasks you're expecting really not listed
>there?

I've added three screenshots (summary of installer, toolbar of installed IDE & 'Perform setup task dialog' of installed IDE).

>> I don't understand what that has to do with my workspace and a project I should reference. Can you please explain that to me? Thanks.
>>
>> I attached the setup log, too.
>It looks like it installed all the extra things you've specified.
>Perhaps the state of your workspace already matches all these
>preferences and there really is nothing to do. In that case you won't
>see any startup tasks performed.

The plugins are available but all my preference settings are not applied.

Dieter
  • Attachment: oomph1.png
    (Size: 51.59KB, Downloaded 148 times)
  • Attachment: oomph2.png
    (Size: 3.92KB, Downloaded 137 times)
  • Attachment: oomph3.png
    (Size: 38.50KB, Downloaded 151 times)
Re: Startup trigger not executed [message #1696617 is a reply to message #1696593] Wed, 27 May 2015 13:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dieter,

Comments below.

On 27/05/2015 2:18 PM, Dieter Scholz wrote:
> Ed,
>
> Comments below.
>
>>> I'm sorry, but I do not understand your answer (all my fault because probably I do not completely overlook how the Oomph installer works).
>>>
>>> Ok. I created a setup file (p2 and some changed preferences - see attached file). Then I use this file with the installer.
>> So you added it to the project catalog on the project page so that you
>> could use it with the install?
> Correct. I dropped it into the product selection page.
You mean Project page? The product page isn't extensible via drag and
drop. Which Project catalog did you add it to? Then you double
clicked on it and it appeared in the bottom stream table at the bottom
of the Project page?
>
>>> At home - after the installer finished and the IDE is started - the icon for the startup task appears. That's not the case when I execute the same file in my company environment.
>> When you perform manually on the Confirmation page, and you choose "Show
>> all triggered tasks", are the tasks you're expecting really not listed
>> there?
> I've added three screenshots (summary of installer, toolbar of installed IDE & 'Perform setup task dialog' of installed IDE).
It certainly looks like this installation's workspace is not aware of
you having added any setup projects to it. Can use the menu you
showed to Open Workspace to open the workspace setup. You can use the
context menu to "Open in Text Editor" and paste what you see textually.
There should be at least one element at the end like this:

<stream
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='oomph']/@streams[name='master']"/>

I.e., the workspace setup should reference the stream of your setup project.
>
>
>>> I don't understand what that has to do with my workspace and a project I should reference. Can you please explain that to me? Thanks.
>>>
>>> I attached the setup log, too.
>> It looks like it installed all the extra things you've specified.
>> Perhaps the state of your workspace already matches all these
>> preferences and there really is nothing to do. In that case you won't
>> see any startup tasks performed.
> The plugins are available but all my preference settings are not applied.
No, and from what you show, the workspace's setup doesn't appear to be
aware of your project...
>
> Dieter
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Startup trigger not executed [message #1696709 is a reply to message #1696617] Thu, 28 May 2015 07:20 Go to previous messageGo to next message
Dieter Scholz is currently offline Dieter ScholzFriend
Messages: 15
Registered: May 2015
Junior Member
Ed,

of course it was to the project page I dropped the setup file.

After opening the workspace setup file an error message is displayed:

The feature 'streams' of ' Workspace file:/D:/Entwicklung/projekte/eclipse/nagvis/' contains an unresolved proxy ' index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='user.project']/@projects[name='rudolf.eclipse.setup']/@streams[name='master']'


The content of the setup file is:

<?xml version="1.0" encoding="UTF-8"?>
<setup:Workspace
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="workspace">
  <stream href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='user.project']/@projects[name='rudolf.eclipse.setup']/@streams[name='master']"/>
</setup:Workspace>


Could this be the cause for the not working startup trigger? There are no errors in the user and installation files.

Thanks,

Dieter

Re: Startup trigger not executed [message #1696731 is a reply to message #1696709] Thu, 28 May 2015 09:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dieter,

Comments below.

On 28/05/2015 9:20 AM, Dieter Scholz wrote:
> Ed,
>
> of course it was to the project page I dropped the setup file.
>
> After opening the workspace setup file an error message is displayed:
>
>
> The feature 'streams' of ' Workspace
> file:/D:/Entwicklung/projekte/eclipse/nagvis/' contains an unresolved
> proxy '
> index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='user.project']/@projects[name='rudolf.eclipse.setup']/@streams[name='master']'

Okay that explains why nothing is working in the IDE. What are the
contents of your
~/.eclipse/org.eclipse.oomph.setup/setups/org.eclipse.projects.setup
file? This should contain a reference to your project setup resource.

<project href="{URI-of-your-project-setup}#/"/>

It should have been added and saved by the installer when you did the
drag and drop thing...
>
>
> The content of the setup file is:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:Workspace
> xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> name="workspace">
> <stream
> href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='user.project']/@projects[name='rudolf.eclipse.setup']/@streams[name='master']"/>
> </setup:Workspace>
>
>
> Could this be the cause for the not working startup trigger? There are
> no errors in the user and installation files.
>
> Thanks,
>
> Dieter
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Startup trigger not executed [message #1696796 is a reply to message #1696731] Thu, 28 May 2015 15:03 Go to previous messageGo to next message
Dieter Scholz is currently offline Dieter ScholzFriend
Messages: 15
Registered: May 2015
Junior Member
Ed,

thanks for your help and patience.

In the end it was a Windows problem. We use roaming profiles in our company. Because of reasons I do not understand there are two .eclipse folders. One on a network share and a local one. And the content of these folders was different.

I copied one into the other and - voila - it works.

So again thank you.

Dieter
Re: Startup trigger not executed [message #1696798 is a reply to message #1696796] Thu, 28 May 2015 15:13 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dieter,

I'm glad to hear it's resolved. Sorry it took so many cycles...


On 28/05/2015 5:03 PM, Dieter Scholz wrote:
> Ed,
>
> thanks for your help and patience.
>
> In the end it was a Windows problem. We use roaming profiles in our
> company. Because of reasons I do not understand there are two .eclipse
> folders. One on a network share and a local one. And the content of
> these folders was different.
>
> I copied one into the other and - voila - it works.
>
> So again thank you.
>
> Dieter


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to import a non eclipse project?
Next Topic:proper value for "Logical Project Container" for internal projects
Goto Forum:
  


Current Time: Thu Apr 18 22:44:36 GMT 2024

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

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

Back to the top