Author |
Message
|
bprasana |
Posted: Thu Feb 09, 2012 9:15 am Post subject: Has anybody used barprocessor? |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 09, 2012 9:17 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 09, 2012 9:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Yes, there are significantly better tools for creating and altering the runtime properties of bar files.
They ship with the product.
mqsicreatebar
mqsiapplybaroverride
And, of course, one can indeed use ant to script these, and yes, Ant is a reasonably popular tool for doing it. |
|
Back to top |
|
 |
bprasana |
Posted: Thu Feb 09, 2012 12:43 pm Post subject: THanks |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
So nobody has attempted to created generic tool (ant based or otherwise)? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 09, 2012 12:46 pm Post subject: Re: THanks |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bprasana wrote: |
So nobody has attempted to created generic tool (ant based or otherwise)? |
Ant scripts are generic is that they can build anything.
Ant scripts within a project / development / WMB environment are generic in that they can build everything (i.e. you don't have a separate script for each flow).
Unless I've misunderstood you. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 09, 2012 12:52 pm Post subject: Re: THanks |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
bprasana wrote: |
So nobody has attempted to created generic tool (ant based or otherwise)? |
We have one Ant script that builds ten bar files from within one project. We have a second Ant script that overrides these bar files for various environments.
BuildForge automation provides Continuous Integration using these Ant scripts.
http://en.wikipedia.org/wiki/Continuous_integration
Pretty neat, huh? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
bprasana |
Posted: Thu Feb 09, 2012 1:02 pm Post subject: |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
@Vitor:
I dont want to write the ant script again, if someone has already written it and shared it somewhere like a developer works link I had in my original post.
Exactly like the one lancelotlinc has written for his own company. Like the second Ant script which looks pretty generic!! |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Feb 09, 2012 1:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 09, 2012 1:05 pm Post subject: Re: THanks |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bprasana wrote: |
So nobody has attempted to created generic tool (ant based or otherwise)? |
You can not possibly compile Message Broker artifacts without using the Broker Toolkit. Even mqsicreatebar uses the Toolkit.
Trying to compile Message Broker artifacts without using the Toolkit is like trying to compile C code without a c-compiler or Java without using javac.
So you can not possibly create a generic tool that will create a bar file from scratch.
A bar file is otherwise just a zip file, and it's a relatively simple task to write "generic" code that will unzip a bar file and update the broker.xml file - in the way that the lublinsky program does. I've got a nifty tool lying around that does some fun things that way.
But there's very little value in writing something like this, when it is a license-free event to install and use Toolkit and Toolkit provides all of the capabilities you need and you can open a PMR if something goes wrong.
You're trying to be too clever. |
|
Back to top |
|
 |
bprasana |
Posted: Thu Feb 09, 2012 1:09 pm Post subject: |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
Quote: |
You're trying to be too clever. |
Quote: |
I posted some Ant source code in this forum a while back. Use google. |
Thank you Sir! |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 09, 2012 1:22 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bprasana wrote: |
Quote: |
I posted some Ant source code in this forum a while back. Use google. |
Thank you Sir! |
google will probably find you Dave Spriet's devworks article, which is a much better source than the lublinsky article.
and I think it's possible I may have babbled about ant recently too, in connection with mqsicreatebar.... |
|
Back to top |
|
 |
|