|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
executing mqsicreatebar from ANT with -trace but no trace |
« View previous topic :: View next topic » |
Author |
Message
|
inMo |
Posted: Fri Mar 18, 2022 5:08 am Post subject: executing mqsicreatebar from ANT with -trace but no trace |
|
|
Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
Friends - when executing mqsicreatebar with -trace option from command line everything works as expected and valuable trace information provided. When executing from within ANT task, trace seems to be suppressed. Even using -trace -v build.log does not route data to log file. Has anyone dealt with this before? |
|
Back to top |
|
|
inMo |
Posted: Fri Mar 18, 2022 5:38 am Post subject: |
|
|
Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
Found a clue in this post: http://www.mqseries.net/phpBB/viewtopic.php?t=48671&sid=d11422db73b0bf0afbb7a7de844db53c
A reply highlighted vmlauncher="false" as a property on an existing exec task for mqsicreatebar.
vmlauncher: Run command using the JVM's execution facilities where available. If set to false the underlying OS's shell, either directly or through the antRun scripts, will be used. Under some operating systems, this gives access to facilities not normally available through JVM including, under Windows, being able to execute scripts, rather than their associated interpreter.
Running on windows, looks like explicitly setting vmlauncher=false causes the desired output.
If anyone has any thoughts on best practices I'm all ears. Thanks you! |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|