Author |
Message
|
goffinf |
Posted: Tue Sep 25, 2012 7:24 am Post subject: MBv8 Applications slimming down the BAR |
|
|
Chevalier
Joined: 05 Nov 2005 Posts: 401
|
As far as I can tell (both from the InfoCentre and experimenting) when you create a BAR from an Application, it is NOT possible in the toolkit to remove any of the resources that are included (i.e. the checkbox for each resource is 'greyed out')
Is that correct ?
I *could* manually edit the BAR itself to remove stuff I don't want to deploy. Is that likely to cause any problem ?
The reason I'm asking is that as part of our approach to TDD we create at least one ESQL 'hosting flow' and also reference other projects (which also reference JARs and such like). I don't want all of the unit test stuff to be deployed into production.
I had thought that I could move this stuff out into its own separate Application (or Message Flow Project), but then I realized that I would need a reference to the App containing the production code (particularly ESQL) and you can't reference an Application from other projects and access their resources.
I *could* just NOT use Applications at all but this seems such a central feature to v8 I am reluctant to go that way (at least until I know more about what I would lose by doing so).
Any ideas ?
Fraser. |
|
Back to top |
|
 |
WMBrocken |
Posted: Wed Aug 07, 2013 7:34 am Post subject: |
|
|
Newbie
Joined: 07 Aug 2013 Posts: 1
|
I have the same problem. I want to remove a resource from a bar-file in the Broker Archive Editor, but it is not possible.
Is that a bug or a feature?
If it is a bug, is a PMR already opened? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 07, 2013 7:58 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Applications and Libraries are packaged completely and fully. You can't add or remove pieces individually.
If this is including resources that you don't to include, then you can restructure your project layouts in Toolkit such that the resources you don't want to include are in separate independent projects.
You also can't redeploy only PART of an application or library. You always have to redeploy the WHOLE THING.
Welcome to IIB v8/v9. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Aug 07, 2013 8:16 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
This is a known problem , and Level 3 is working on a patch. I opened a PMR and three RFEs (per Level 3's direction).
Both mqsipackagebar and mqsicreatebar include EVERY file in your directory structure whether your application needs it or not. Not very intelligent or efficient.
If you want the APAR before it hits the fixpack, open a PMR. The last word I got from Level 3 is that it will be in a fixpack after 9.0.0.1 and probably not 9.0.0.2. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
NealM |
Posted: Wed Aug 07, 2013 8:37 am Post subject: |
|
|
 Master
Joined: 22 Feb 2011 Posts: 230 Location: NC or Utah (depends)
|
Lancelot, post your RFE links and I'll be sure to add my vote.
We currently are not using Applications at all in MB8002 due to their restrictions and the fact that we have a bunch of "common" subflows that are used across many broker projects. Using Applications would be very inefficient, so we chose to put our common stuff in Libraries, and leave our individual broker projects as Broker Projects. And then delete the libraries from the BP barfiles. We could leave them in, but why go through the overhead of redeploying a library 30+ times per EG?
Of course we have a whole bunch of APARs involved in order to make it work as advertised in FP2, all of which will be in FP3. Dunno which MB9 fixpack will include them. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Aug 07, 2013 8:45 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
NealM |
Posted: Wed Aug 07, 2013 8:59 am Post subject: |
|
|
 Master
Joined: 22 Feb 2011 Posts: 230 Location: NC or Utah (depends)
|
Voted.
I suggest others do likewise and vote, IBM does give some weight to RFE's that show broader interest than just the submitter. |
|
Back to top |
|
 |
dogorsy |
Posted: Wed Aug 07, 2013 11:08 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
|
Back to top |
|
 |
|