Author |
Message
|
lancelotlinc |
Posted: Fri Jun 24, 2011 8:10 am Post subject: mqsicreatebar status update |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 24, 2011 8:27 am Post subject: Re: mqsicreatebar status update |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
I'd like to get a status update on mqsicreatebar running headless builds without depending on starting the IDE first |
It works.
lancelotlinc wrote: |
what is the expected release date of a more mature mqsicreatebar executable? |
There'll be a new mqsicreatebar in the next release. How much more "mature" it is depends on your definition of mature.
Certainly you can reliably use it (the thread you link to was started in 2006) and I've used it both in Ant and (as you yourself suggest in the thread) as part of a Hudson installation.
It has quirks, like any headless Eclipse. That's an issue with Eclipse. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 24, 2011 8:29 am Post subject: Re: mqsicreatebar status update |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
I'm building new functionality at a new client |
Off topic, but if your old site was a utopia of automation
a) Why move?
b) Why not use the technology (including the automated build process) you had there? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 8:53 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
I was thinking maybe we could have an mqsicreatebar that is independent of Eclipse. I always stumble around for a few weeks getting the right combination of parameters and just the right mixture of .metadata info. It's not very friendly to have to manually setup a metadata info through the IDE. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 8:56 am Post subject: Re: mqsicreatebar status update |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
lancelotlinc wrote: |
I'm building new functionality at a new client |
Off topic, but if your old site was a utopia of automation
a) Why move?
b) Why not use the technology (including the automated build process) you had there? |
The new client is perm (vs. contract) and is wholesale IBM tooling on the WMB team. It's a brand new installation, no previous WMB functionality to speak of. Lots of opportunity here.
Also, on a personal note, I am traveling often to the Philippines these days, and rather have vaca time to burn vs. taking it in the shorts the other way. The new location cost of living is superior, with a great team of people to work with. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 24, 2011 8:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
I was thinking maybe we could have an mqsicreatebar that is independent of Eclipse. |
It would certainly be lighter, but could you trust it to be consistent with the Toolkit builds?
lancelotlinc wrote: |
I always stumble around for a few weeks getting the right combination of parameters and just the right mixture of .metadata info. It's not very friendly to have to manually setup a metadata info through the IDE. |
What parameters & metadata? What happens when you just point it at the code and get it to do a clean build? Mine tends to be a bar file when I do that. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 9:03 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
lancelotlinc wrote: |
I was thinking maybe we could have an mqsicreatebar that is independent of Eclipse. |
It would certainly be lighter, but could you trust it to be consistent with the Toolkit builds?
lancelotlinc wrote: |
I always stumble around for a few weeks getting the right combination of parameters and just the right mixture of .metadata info. It's not very friendly to have to manually setup a metadata info through the IDE. |
What parameters & metadata? What happens when you just point it at the code and get it to do a clean build? Mine tends to be a bar file when I do that. |
Yes, I would trust a bar built by the command line. Since this is the bar that will be regression tested.
ATM, I am getting an error because even though the project (-p parameter) is present in the workspace directory, it is not getting built into the .metadata. I use -cleanBuild (if I dont the bar file bloats). _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 24, 2011 9:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
lancelotlinc wrote: |
Vitor wrote: |
lancelotlinc wrote: |
I was thinking maybe we could have an mqsicreatebar that is independent of Eclipse. |
It would certainly be lighter, but could you trust it to be consistent with the Toolkit builds? |
Yes, I would trust a bar built by the command line. Since this is the bar that will be regression tested. |
That wasn't the point. The point of Vitor's question was "Suppose they wrote entirely separate code that did not depend on Eclipse to compile and build bar files. Would you trust *that* code to be *consistent* with the same builds from the Toolkit?"
In general, writing two sets of code to do the same task is not a good idea. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 9:09 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
mqjeff wrote: |
lancelotlinc wrote: |
Vitor wrote: |
lancelotlinc wrote: |
I was thinking maybe we could have an mqsicreatebar that is independent of Eclipse. |
It would certainly be lighter, but could you trust it to be consistent with the Toolkit builds? |
Yes, I would trust a bar built by the command line. Since this is the bar that will be regression tested. |
That wasn't the point. The point of Vitor's question was "Suppose they wrote entirely separate code that did not depend on Eclipse to compile and build bar files. Would you trust *that* code to be *consistent* with the same builds from the Toolkit?"
In general, writing two sets of code to do the same task is not a good idea. |
The only set of code that would count for me is that set generated by the command line. This is the code that is deployed and regression tested. Bars created interactively here are not accepted. Only bars created by checking out ClearCase streams and building on the command line are accepted. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 24, 2011 9:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
ATM, I am getting an error because even though the project (-p parameter) is present in the workspace directory, it is not getting built into the .metadata. |
Now you've been here long enough to do better than that. "I am getting an error" - what, a line of text saying "you are getting an error"? Is there a message number, some descriptive text, any clues?
lancelotlinc wrote: |
I use -cleanBuild (if I dont the bar file bloats). |
Didn't we have a discussion going in here recently on bloated bar files? Because the contents of .metadata kept growing? And the only solution the poster had found was a clean build? Did anything else come out of that?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 24, 2011 9:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Bars created interactively here are not accepted. |
Again, we don't all work on your site. And if you can't get mqsicreatebar to work, you might have to use interactive methods....
My point (as has been correctly laid out) is if you have 2 distinct methods of producing a bar file as a minimum IBM have to maintain 2 distinct code bases which by their nature don't work the same way. Likewise if you have a site where developers build using the Toolkit while developing (and yes, I can hear you groaning) but use Ant / Hudson to promote the code to test you could get inconsistent results. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 24, 2011 9:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
lancelotlinc wrote: |
Bars created interactively here are not accepted. Only bars created by checking out ClearCase streams and building on the command line are accepted. |
And would that be because your bar files are not getting checked into version control (ClearCase) ?
What would happen at your site if the source tag and the bar tag had to match?
Instead of having them refuse interactively build bar files, have them refuse bar files that are have not been moved to a tag in your version control system...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 10:09 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
I advocated checking in a bar to the source control system; however, the direction is that the bar must be built from scratch from source in ClearCase. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 10:14 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
The errors I am getting now are:
Code: |
!ENTRY com.ibm.datatools.core 1 0 2011-06-24 13:00:35.639
!MESSAGE Current Version is DTP_2010_03
!ENTRY org.eclipse.osgi 2 1 2011-06-24 13:00:41.530
!MESSAGE NLS missing message: WSDL_GatewayNonGatewayString in: com.ibm.etools.mft.ibmnodes.plugin.ibmnodesresources
!ENTRY org.eclipse.osgi 2 1 2011-06-24 13:00:41.530
!MESSAGE NLS missing message: tooltipFTETransferMode in: com.ibm.etools.mft.ibmnodes.plugin.ibmnodesresources
!ENTRY org.eclipse.osgi 2 1 2011-06-24 13:00:41.530
!MESSAGE NLS missing message: CICS_GROUP_HEADER_Node_ConnectionDetails in: com.ibm.etools.mft.ibmnodes.plugin.ibmnodesresources
!ENTRY org.eclipse.osgi 2 1 2011-06-24 13:00:41.530
!MESSAGE NLS missing message: CICS_GROUP_HEADER_Broker_ConnectionDetails in: com.ibm.etools.mft.ibmnodes.plugin.ibmnodesresources
!ENTRY org.eclipse.osgi 2 1 2011-06-24 13:01:04.217
!MESSAGE NLS missing message: Messages_EnumValue_BlockFinal_empty in: com.ibm.etools.msg.coremodel.utilities.messages
|
Command line is simple:
Code: |
mqsicreatebar -data C:\TEMP\messagebroker\workspace -b C:\TEMP\messagebroker\workspace\myBar.bar -p myProject -o myProject\myFlow.msgflow
|
I have opened the IDE and clean build, can create the bar from the IDE. Cannot create the bar from the command line, using the above command line.
The command line responds with:
Code: |
BIP0965E Error compiling files in mqsicreatebar.
The message is:
Workspace has errors on it after the build. In order to create bar there should be no errors on the workspace.
|
_________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Jun 24, 2011 11:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Here is what I did to resolve:
1. Remove three WTX components.
2. Reboot.
3. Start WMB Toolkit with -clean option
4. Rebuilt workspace
5. Ran command.
Bar file created, no errors. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|