Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] PTFw: two tool XML questions

Yes, if you extend the xml file the new components will show up and
use the default values in existing configurations.  Any values already
saved in existing configurations will keep their saved values.

-Wyatt

On Fri, Aug 1, 2008 at 1:45 PM, Beth Tibbitts <tibbitts@xxxxxxxxxx> wrote:
> Ah, that makes sense actually. You don't want to "restore defaults" and
> reread xml default values all the time, that would lose the user input.
> If there are new parameters in the XML will it pick up those, with new
> default values?
> Perhaps we need a "restore defaults" button which *would* reread the xml and
> reset everything.
>
>
> ...Beth
>
> Beth Tibbitts (859) 243-4981 (TL 545-4981)
> High Productivity Tools / Parallel Tools http://eclipse.org/ptp
> IBM T.J.Watson Research Center
> Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
> wspear <wspear@xxxxxxxxxxxxxx>
>
>
> wspear <wspear@xxxxxxxxxxxxxx>
> Sent by: ptp-dev-bounces@xxxxxxxxxxx
>
> 08/01/08 04:35 PM
>
> Please respond to
> Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
>
> To
> "Parallel Tools Platform general developers" <ptp-dev@xxxxxxxxxxx>
> cc
>
> Subject
> Re: [ptp-dev] PTFw: two tool XML questions
> It's actually not a bug (It's a feature, yay!).  Once you make a new
> configuration and apply or close that configuration its values will be
> saved.  The values in the saved configuration will stay the same until
> they are manually changed, so long as they map to values specified in
> the xml file.  So the configuration with the checked option wasn't
> loading it from an old version of the xml, it was loading a state it
> had saved earlier.  The defaults in the xml file only apply when the
> configuration is first created.
>
> -Wyatt
>
> On Fri, Aug 1, 2008 at 12:24 PM, Max Billingsley III
> <billingsley@xxxxxxxxxxx> wrote:
>>
>> That's interesting, as I had already realized the potential for a "refresh
>> problem."  I did try actually copying the XML into a new file, and
>> selecting
>> that file in the "Performance Tool Configuration" interface.
>>
>> However it looks like things may not truly get refreshed unless one makes
>> a
>> new launch configuration - unless, as you say, we are missing a step.
>>
>> Either way, this clears things up for now.
>>
>> -Max
>>
>> Beth Tibbitts wrote:
>>>
>>> Yes it's a refresh problem. I made a new launch config with a copy of the
>>> xml file and it picked up the xml changes. I probably didn't need both.
>>> Maybe Wyatt can remind us how to force a refresh on the same one, or
>>> perhaps this is a bug.
>>>
>>>
>>> ...Beth
>>>
>>> Beth Tibbitts (859) 243-4981 (TL 545-4981)
>>> High Productivity Tools / Parallel Tools http://eclipse.org/ptp
>>> IBM T.J.Watson Research Center
>>> Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> ptp-dev mailing list
>>> ptp-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>>
>> _______________________________________________
>> ptp-dev mailing list
>> ptp-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>>
>>
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>
>
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>
>


Back to the top