ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsicreatebar status update

Post new topic  Reply to topic Goto page 1, 2  Next
 mqsicreatebar status update « View previous topic :: View next topic » 
Author Message
lancelotlinc
PostPosted: Fri Jun 24, 2011 8:10 am    Post subject: mqsicreatebar status update Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

I'm building new functionality at a new client, and client requirement is for headless builds.

Reading up on the previous threads, and having experienced the pain myself, I'd like to get a status update on mqsicreatebar running headless builds without depending on starting the IDE first:

http://www.mqseries.net/phpBB/viewtopic.php?p=132820&sid=fe52a4b753a582c1c3bd96c38c431b1b

Can someone provide the current status, and what is the expected release date of a more mature mqsicreatebar executable?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jun 24, 2011 8:27 am    Post subject: Re: mqsicreatebar status update Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 24, 2011 8:29 am    Post subject: Re: mqsicreatebar status update Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jun 24, 2011 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Jun 24, 2011 8:56 am    Post subject: Re: mqsicreatebar status update Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jun 24, 2011 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jun 24, 2011 9:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Jun 24, 2011 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jun 24, 2011 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jun 24, 2011 9:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 24, 2011 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 24, 2011 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Jun 24, 2011 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Jun 24, 2011 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Jun 24, 2011 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsicreatebar status update
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.