Author |
Message
|
muthu121521 |
Posted: Wed May 03, 2017 10:14 am Post subject: mqsicreate bar command throwing error but toolkit runs fine |
|
|
Apprentice
Joined: 31 Aug 2015 Posts: 36
|
Hi,
I am using ant script build xml to create bar files using mqsicreate bar command , it is throwing error when we try to build a bar file that the reference to wsdl file cannot be resolved.
But the workspace contains the library project which contains the wsdl file along with schema's , when i imported the project in the toolkit , it doesnt show any error and i was able to build a bar file , can any one let me know if you guys have faced similar issues like this and resolution?
I am using the below command
mqsicreatebar -cleanbuild -data D:/TiffanyIIBBuild/IIBBuildWorkspace/TVE -b D:/TiffanyIIBBuild/IIBBuildWorkspace/out/tve/AppName_V1.1.bar -version V1.1 -a AppName |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 03, 2017 10:36 am Post subject: Re: mqsicreate bar command throwing error but toolkit runs f |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
muthu121521 wrote: |
I am using the below command
mqsicreatebar -cleanbuild -data D:/TiffanyIIBBuild/IIBBuildWorkspace/TVE -b D:/TiffanyIIBBuild/IIBBuildWorkspace/out/tve/AppName_V1.1.bar -version V1.1 -a AppName |
My eye was caught by the lack of a -p parameter; as described here:
Quote: |
you should use -p, together with a new workspace, in a build environment |
Add one and see what happens. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
muthu121521 |
Posted: Wed May 03, 2017 11:08 am Post subject: mqsicreate bar command throwing error but toolkit runs fine |
|
|
Apprentice
Joined: 31 Aug 2015 Posts: 36
|
So Far i was able to build a bar file just using the parameter '-a' with the application name
the issue with parameter p which i see is i also need to provide the 'm' parameters of message flows as well as 'o' relative path as well in the command.
Adding just 'a' parameter eliminated the need of adding other parameters such as 'm','o' etc.. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 03, 2017 11:46 am Post subject: Re: mqsicreate bar command throwing error but toolkit runs f |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
muthu121521 wrote: |
which i see is i also need to provide the 'm' parameters of message flows as well as 'o' relative path as well in the command. |
Where do you see that? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
DeadPool |
Posted: Thu May 04, 2017 1:42 am Post subject: |
|
|
Apprentice
Joined: 27 May 2016 Posts: 30
|
As Vitor says where
>>-mqsicreatebar-- -data--WorkSpace--+--------------+----------->
'- -b -BarName-'
>--+--------------+--+--------------------------+--------------->
'- -cleanBuild-' '- -version -VersionString-'
>--+----------+--+--------------------------+------------------->
'- -Esql21-' | .-----------------. |
| V | |
'- -p -----ProjectName---+-'
>--+----------------------+--+------------------+--------------->
'- -a -ApplicationName-' '- -deployAsSource-'
>--+---------------+--+------------------+---------------------->
'- -compileOnly-' '- -l -LibraryName-'
>--+----------------------------+--+---------------+------------>
'- -d -ApplicationDomainName-' '- -o -FilePath-'
>--+--------------------+--+-----------------------------+-----><
'- -skipWSErrorCheck ' '- -trace - -v -traceFilePath-' |
|
Back to top |
|
 |
|