Author |
Message
|
VishnuPrasadS |
Posted: Mon Oct 31, 2016 10:54 pm Post subject: mqsicreatebar doesnot include java project in bar file |
|
|
Apprentice
Joined: 22 Feb 2013 Posts: 28 Location: Pune, India
|
Broker version : IIB v9
Scenario 1 : There are two projects(1:Integration Project, 2:Java Project).
Message flow has JCN. On executing mqsicreatebar command Jar file is built and included within bar file
Code: |
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe"
-data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01
-b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar
-cleanBuild
-p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava
-o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow |
Scenario 2 : There are two projects(1:Integration Project, 2:Java Project).
Message flow has ESQL Compute Node which uses EXTERNAL Java procedure call. On executing mqsicreatebar command Jar file is NOT built and jar file is NOT included within bar file
There is no change in the command, Message flow is modified with respect to Scenario 1 where JCN is removed and ESQL compute is added.
Code: |
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe"
-data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01
-b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar
-cleanBuild
-p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava
-o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow |
Hi Folks,
Do you know of any command line arguments which I can use to include jar file for scenario 2 ?
OR
Do you see any issues in the way that Iam using the command ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 01, 2016 4:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Verify that in the second case you still have the dependency marked on the integration project for the Java Project...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
VishnuPrasadS |
Posted: Tue Nov 01, 2016 9:24 am Post subject: |
|
|
Apprentice
Joined: 22 Feb 2013 Posts: 28 Location: Pune, India
|
Yes "Integration Project" has project reference to "java project" in both cases.
I have observed this behavior (Scenario 2) in WMB v7 and IIB v9
It is easily reproducible and results are as described in my previous post each time I build bar file using command line.
Extract from .project file
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SI05_EntrprseIntgrtnPtrn</name>
<comment></comment>
<projects>
<project>SI05_EntrprseIntgrtnPtrnJava</project>
</projects>
<buildSpec>
<buildCommand>....
|
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 01, 2016 10:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
what happens if you add the java class in the -o list? or just the java project name.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
VishnuPrasadS |
Posted: Tue Nov 01, 2016 10:57 am Post subject: problem solved |
|
|
Apprentice
Joined: 22 Feb 2013 Posts: 28 Location: Pune, India
|
Thanks fjb_saper
Problem solved
Results for not providing Java project name as an argument ( -o SI05_EntrprseIntgrtnPtrnJava) and only providing it an as input for ( -p )
Jar file is NOT included in bar file
Code: |
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe" -data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01 -b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar -cleanBuild -p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava -o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow
BIP0986I Command completed successfully.
|
Results for providing Java project name as an argument ( -o SI05_EntrprseIntgrtnPtrnJava) and also providing it an as input for ( -p )
Jar file is included in bar file
Code: |
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe" -data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01 -b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar -cleanBuild -p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava -o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow SI05_EntrprseIntgrtnPtrnJava
BIP0986I Command completed successfully.
|
|
|
Back to top |
|
 |
|