I have a main class which I want to run using an ant script.
(I have attached the project, which includes this main class:
WebsocketLocalClient; and the ant script I'm referring to)
This main class executes fully, when I'm running it through the command
But when I run it using the ant script, it executes upto,
*System.out.println("Starting Websocket-local publisher");*
but does not execute beyond the line:
*client.connectToServer(new WebsocketLocalEndpoint(), cec, new
Ant output is given in attachment-1.
It does not execute anything after printing the log '[java] Starting
It seems that,
ant does not return after
calling org.glassfish.tyrus.client.ClientManager.connectToServer() method.
Any clues as to why this is happening?
Appreciate any help.
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[copy] Copying 1 file to
[echo] Configure -Durl=xxxx -Dtopic=xxxx and (-DfilePath=xxxx and/or
[java] Starting Websocket-local publisher