|
|
|
Re: Testing setup profiles - Do I need to restart the installer [message #1819243 is a reply to message #1819218] |
Fri, 10 January 2020 12:18 |
|
> If you already have the installer open the resources will already be loaded. Removing and adding the same resource will not reload it.
Is this a bug? If I remove it and add it again, why should the new content now used?
> Note that it's easiest to test the project setup in the IDE where you are editing it.
Several steps seem behave differently if I run the setup task from the IDE. For example:
I added a Git clone task with an additional repository. Selecting Help -> Perform Setup Tasks did not clone it
> Also note that you can disable a task rather than delete it so that you can more easily recover it later. (Use the context menu "Disabled" for that.)
Nice, thanks.
|
|
|
Re: Testing setup profiles - Do I need to restart the installer [message #1819247 is a reply to message #1819243] |
Fri, 10 January 2020 13:18 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
> Is this a bug? If I remove it and add it again, why should the new content now used?
Yes and no. Generally all the resources are loaded in parallel long before you get to the project page because there are on the order of 180 resource involved currently. If all you want is a refresh, better there be such an operation; but you only want a refresh on the one resource, not all 180 of them. Removing a project could unload the resource, if this were actually a common operation/need, i.e., if it were common to edit the setups already opened in the installer; that doesn't seem like a common activity to me though.
> Several steps seem behave differently if I run the setup task from the IDE.
When you open the setup, are you using Navigate -> Open Setup -> <your project's stream>? This is the one the IDE is using. If the redirection Ini has kicked in correctly, this will also be the one in the clone and it will be editable. If it is not editable, then something isn't quite right. I will test whether the IDE is properly refreshing after performing the initial tasks such that the remote setup really is properly redirected to the clone immediately after performing. If this is not working for you currently, a restart of the IDE should work. If that doesn't work, then the redirection in the eclipse.ini is likely wrong.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: Testing setup profiles - Do I need to restart the installer [message #1819249 is a reply to message #1819248] |
Fri, 10 January 2020 13:45 |
|
Works for me too, if I open the editor in the target. If I change the setup file in the original place without opening the editor in the created target IDE, it did not work.
Example:
IDE A -> Create setup file
Start Installer and do the DnD thing
Run installer and receive a new target IDE B
Change setup file in IDE A
Select Perform setup task in IDE B -> did not update for me
|
|
|
|
Re: Testing setup profiles - Do I need to restart the installer [message #1819274 is a reply to message #1819250] |
Sat, 11 January 2020 07:13 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
> Works for me too, if I open the editor in the target. If I change the setup file in the original place without opening the editor in the created target IDE, it did not work.
This is like a brain teaser sentence. I have no idea how many copies/versions of the resource are involved, nor which version is actually being used by any of the IDEs.
> Example:
I did already explain that using Navigate -> Open Setup -> <your project's-stream> to open the editor opens the version/copy the IDE is actually using when Performing. So what does that action actually open for IDE B? It's also useful to click the "Show all resources" button; this will show you the URI of each resource, including that of the primary resource that you opened for editing. Moreover, in the Properties view (double click the Resource object), it shows the Resolved URI for that resource. This will tell you which final location is actually being used. In your Example, is that a file: URI? Is it the one you think you are editing? Note that with this approach you can edit in IDE B.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04500 seconds