But none of these options are working fine and getting errors which convey that profile is not set.
(error:
[exec] Error: Could not find or load main class com.ibm.broker.config.util.
ApplyBarOverride
)
It works fine when I try running the mqsiprofile.cmd in command prompt and then try the ant script.Any pointers on how we can setup mqsiprofile and then run the mqsiapplybaroverride in the same <exec> of the ant script???
The only option I could think of is to have a new .bat file created(setup the mqsiprofile and then run the mqsiapplybaroverride) and run it from ant.
This approach is working fine but I don't want to have a custom .bat/script created and want to understand how we can set the profile from ant <exec> itself.
But none of these options are working fine and getting errors which convey that profile is not set.
(error:
[exec] Error: Could not find or load main class com.ibm.broker.config.util.
ApplyBarOverride
)
It works fine when I try running the mqsiprofile.cmd in command prompt and then try the ant script.Any pointers on how we can setup mqsiprofile and then run the mqsiapplybaroverride in the same <exec> of the ant script???
The only option I could think of is to have a new .bat file created(setup the mqsiprofile and then run the mqsiapplybaroverride) and run it from ant.
This approach is working fine but I don't want to have a custom .bat/script created and want to understand how we can set the profile from ant <exec> itself.
Appreciate any pointers on this
Below snippet in Ant Script worked for me. I had the same problem as you and I was looking for answers and found your question unanswered. So I thought I can share my findings.
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