Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Getting path to the profile dir

Greetings,

The problem was that the 'confvalue' field used by the 'argument' tag provides only the string value associated with the configuration id you provide.  The 'fieldrequired' logic only applies to the optvalue where the option is initially specified.  I have added a fieldrequired field to the argument tag which will prevent the argument from being used if the confvalue is empty.  So your argument tags in your example script should look like:

<argument flag="--Acounters" confvalue="MPITrace.performance.options.configuration_id_VALUES_A_ARGUMENT_SAVED" separator=" " fieldrequired="true"/>

This is up in cvs now.  I can send you the built plugins if you prefer.

Regards,
Wyatt

On Fri, Feb 26, 2010 at 4:59 PM, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:
> Thanks very much Xavier.  I'm seeing the problematic behavior in this
> example.  I'm still tracking down the source but I should be able to
> fix it next week.
>
> Regards,
> Wyatt
>
> 2010/2/26 Xavier Pegenaute <xavier.pegenaute@xxxxxx>:
>> Ok,
>>
>> find attached a little sample of the xml. And the script to call.
>>
>> Once you have installed the xml in Performance Analysis, if you only put
>> values on "Set of values 2" and execute. The script generates a file
>> /tmp/out.txt with the command line arguments of the call. In my execution this
>> is:
>> "--Acounters --Bcounters B1,B2,B3"
>>
>> So here it is the problem, "--Bcounters" becomes the argument of "--
>> Acounters", I would like to avoid "--Acounters" if there are not valid values.
>>
>> Thanks & Regards.
>> Xavi.
>> On Tuesday 16 February 2010 01:48:33 am Wyatt Spear wrote:
>>> Greetings,
>>> I'm still not able to recreate this problem over here.  Could I look at the
>>> full xml document that is not working properly?  I noted that the example
>>> you sent earlier had two consecutive options with the same optid.  It would
>>> probably be better to avoid that usage.
>>>
>>> Regards,
>>> Wyatt
>>>
>>> 2010/2/11 Xavier Pegenaute <xavier.pegenaute@xxxxxx>
>>>
>>> > Hi,
>>> >
>>> > I am really sorry the answer for my problem was the next parameter of the
>>> > process method.
>>> >
>>> > So now it's working correctly.
>>> >
>>> > Another question, do you remember the problem related to the empty
>>> > values?, etfw still passes the related parameter without value. Could be
>>> > fixed this "bug"? This bug is related to the mail from 21 Dec 2009 with
>>> > subject "PTP/ETFw
>>> > envvarname".
>>> >
>>> > My ptp version is 3.0.1.201001181554.
>>> >
>>> > Thanks & Regards,
>>> > Xavi.
>>> >
>>> > On Tuesday 09 February 2010 08:34:26 pm Wyatt Spear wrote:
>>> > >  as a plugin, as with the TAU ETFw plugin).  Could you give me a little
>>> > >  more information on what you're trying to do and where in the
>>> > >  build/run/analyze order you're trying to do it?
>>> >
>>> > _______________________________________________
>>> > ptp-user mailing list
>>> > ptp-user@xxxxxxxxxxx
>>> > https://dev.eclipse.org/mailman/listinfo/ptp-user
>>>
>>
>> _______________________________________________
>> ptp-user mailing list
>> ptp-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>>
>>
>


Back to the top