ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: problem with the java task...
Date Thu, 04 Sep 2003 11:12:18 GMT

 I was running it in verbose mode, it didn't give any error but dispalying all paths and stuff
exactly correct. It still goes into that non-stoppable mode forcing me to terminate the processes
through Windows task manager.

 I was trying to debug the target by brutal-force approach like giving a non-existing path
in the arg part of the run target like 
            <arg value="-pdd ..\xxx\conf\oclient_pdd_vc.xml"/>  a non-valid path

I think it should then report that "oclient_pdd_vc.xml" not found or the path is invalid ..

but instead it's still going into that non-stoppable mode.

So how can I really debug it or some means to find where the fault is ??
Is there any way to use jvmarg without fork ??

-----Original Message-----
From: ext Tim Gordon []
Sent: 03 September, 2003 19:26
To: Ant Users List
Subject: RE: problem with the java task...

It sounds like it's crashed with no output but the forked JVM hasn't
terminated - ANT will wait to join up with any forked JVM. Don't be fooled
into thinking that ANT will spawn another long-lived JVM and then the ANT
JVM will exit.

Have you tried running in verbose and then executing the command that output
directly, just to ensure the the command line is OK - that way you can
determine whether ANT is the problem or the launched app is.

And finally, the line

value="-Djava.naming.provider.url=t3:// -Xmaxf0.10 -Xms32m

will set the system property java.naming.provider.url to be
"t3:// -Xmaxf0.10 -Xms32m -Xmx256m", which may be what's
going wrong.

Either split each jvmarg up or use:

line="-Djava.naming.provider.url=t3:// -Xmaxf0.10 -Xms32m 



-----Original Message-----
From: []
Sent: 03 September 2003 16:00
Subject: problem with the java task...

Hi friends,

 <target name="run" description="runs the application">
          <java classname=""
                <arg value="-pdd ..\conf\oclient_pdd_vc.xml"/>
                <jvmarg value="-Dplatypus.trampoline=false"/>
                <jvmarg value="-Duser.region=GB"/>
                <jvmarg value="-Duser.language=en"/>
value="-Djava.naming.provider.url=t3:// -Xmaxf0.10 -Xms32m
                <jvmarg value="-DPlatformHost.IP=localhost"/>
                <jvmarg value="-Dflexlm.licensefile=..\conf\lmdlicmx.dat"/>

When I run the above target, it goes into executing mode saying "executing
task "run" " and never returns and even sometimes I couldn't cancel it
though I can work with other applications. I am unable to point out what's
the problem is ??. I am just transferring my IDEA environment to a ant build
script file. Though I am running it in verbous mode .. At least I want to
know what's wrong ? How can I debug this situation ?? or is something wrong
with this target ??

Thanks in advance..


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message