Author |
Message
|
jamesyu |
Posted: Tue Jul 20, 2010 7:32 am Post subject: How to check bar overrides with an automated process? |
|
|
Acolyte
Joined: 31 Jan 2007 Posts: 70
|
Hi All,
We build bars and we override bars wtih different properties using Ant. After bars were overriden, we want to be able to have another automated process to ensure the bars are overriden correctly.
Any tools can do this?
Thanks,
James |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Jul 20, 2010 7:46 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
you are making your life so complicated....
why do you need a process on top of another process.....
you can write the same logic in ANT and verify it, _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 20, 2010 7:50 am Post subject: Re: How to check bar overrides with an automated process? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jamesyu wrote: |
After bars were overriden, we want to be able to have another automated process to ensure the bars are overriden correctly. |
So which automated process don't you trust? ANT or the apply overrides command? If you fear that automated process don't work how will you trust the automated process that checks the automated processes?
If your ant script works when you test it, be assured the magic won't disappear unexpectedly. Especially if you have proper error handling. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jamesyu |
Posted: Tue Jul 20, 2010 7:56 am Post subject: Re: How to check bar overrides with an automated process? |
|
|
Acolyte
Joined: 31 Jan 2007 Posts: 70
|
We want to be able to do this as there are two teams involved. The dev team sends out a package of bars after overrides to another support team in another country. The support team wants to verify the bars.
Anyway, we want to be able to do it as this is part of the requirements. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 20, 2010 8:01 am Post subject: Re: How to check bar overrides with an automated process? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jamesyu wrote: |
Anyway, we want to be able to do it as this is part of the requirements. |
That's not a reason. That's saying you want to do it because someone's decided you want to do it.
Once you've verified this, how do you know that the support team won't apply a different set of overrides? Presumably because you trust the support team not to do this. Likewise the support team should trust the dev team to run the ant script properly, or run the overrides themselves if they don't.
I'm not aware of any tools that do this because it's an odd thing to want to do. You should be able to write something to decontruct the bar file & obtain the details you want. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jul 20, 2010 8:19 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Why doesn't mqsireadbar do the trick? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 20, 2010 8:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Why doesn't mqsireadbar do the trick? |
It might. I thought that just showed the original settings, but given what mqsiapplyoverrides must be doing it ought to show the current settings shouldn't it?
It's a bad day.
Using mqsireadbar still doesn't verify that the correct settings have been applied to the bar file; just that the settings given to the ant file have been applied. If the support team don't trust the dev team then even this doesn't address the basic issue... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jamesyu |
Posted: Tue Jul 20, 2010 8:42 am Post subject: |
|
|
Acolyte
Joined: 31 Jan 2007 Posts: 70
|
[quote="Vitor"]
mqjeff wrote: |
Why doesn't mqsireadbar do the trick? |
mqsireadbar may e able to do the work, together with some help from ant scripts or even Java code. I will look into it. Thanks a lot! |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Jul 20, 2010 9:05 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
jamesyu |
Posted: Tue Jul 20, 2010 9:12 am Post subject: |
|
|
Acolyte
Joined: 31 Jan 2007 Posts: 70
|
Thanks a lot for your reminder! Great API's. That will save lots of coding. I will use them. |
|
Back to top |
|
 |
|