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 » Build IIB Bar files using ANT script

Post new topic  Reply to topic
 Build IIB Bar files using ANT script « View previous topic :: View next topic » 
Author Message
prabhu_s1177
PostPosted: Sun Sep 28, 2014 11:24 pm    Post subject: Build IIB Bar files using ANT script Reply with quote

Apprentice

Joined: 26 Nov 2007
Posts: 34

Hi,

Am trying to build bar files with mqsicreatebar command in the ant scripts.

When I create bar files using ANT scripts few referenced libraries(especially Schemas libraries) are not added in bar files by itself though I gave them as parameters.

however if I ran the same command in the IIB console those all libraries are added in the bar files without any issue.

Please can any one let me why it so. Will it create problems..
[/b]
Back to top
View user's profile Send private message
vicentius
PostPosted: Sun Sep 28, 2014 11:50 pm    Post subject: Reply with quote

Apprentice

Joined: 01 Mar 2013
Posts: 28

Please share with us the ANT target code (obscure whatever info you should not share).
Back to top
View user's profile Send private message
prabhu_s1177
PostPosted: Mon Sep 29, 2014 1:05 am    Post subject: Reply with quote

Apprentice

Joined: 26 Nov 2007
Posts: 34

Ok. I'm trying to create bar with Integration Projects. Am using below code for creating bar.


<exec spawn="false" executable="${TOOLKIT.HOME}mqsicreatebar.exe" failonerror="true">
<arg value="-cleanBuild"/>
<arg value="-data"/>
<arg value="${WORKSPACE.DIR}"/>
<arg value="-b"/>
<arg value="${ANT.BARS.DIR}${IntegrationProjectName}_${bar.time}.bar" />
<arg value="-p"/>
<arg line="${IntegrationProjectName}"/>
<arg value="-o "/>
<arg line="${IntegrationProjectName}\${IntegrationProjectName}_MF.msgflow"/>
<arg value="-l"/>
<arg line="${IntegrationProjectLibraries}" />
</exec>
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Sep 29, 2014 4:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You are talking about Integration Projects, so you are talking about Broker v8 or IIB v9.

The Bar File Editor in Toolkit at v8 and later includes a small section at the bottom of one of the panes that *shows you* the complete mqsicreatebar/mqsipackagebar command required to build the bar file you're working on.

Did you confirm that your ant script is building the same command as shown in this pane?

Did you confirm that the workspace you're building from using mqsicreatebar has no errors in it, in any projects that exist in the workspace?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Build IIB Bar files using ANT script
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.