You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chris <ch...@branaghgroup.com> on 2004/07/29 22:34:53 UTC

Java task spawn problem

Hey all I'm trying to execute my application using the java task along 
with "spawn=true" but it doesn't seem to be working.  It seems like alot 
of people have problems with the java task so i was wondering if anyone 
had any ideas what i may be doing wrong?

<java classname="${class.run}" fork="true" spawn="true" 
classpathref="class.path">
                      <arg value="verbose:jni"/>
</java>

Thanks!
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Java task spawn problem

Posted by Matt Benson <gu...@yahoo.com>.
Have you watched it in the Task Manager to see if a
new java process pops up?

-Matt

--- Chris <ch...@branaghgroup.com> wrote:

> I'm on XP with ant 1.6.2.  On verbose mode it even
> says "spawned process 
> java.lang.Win32Process@13adc56" and yet still
> nothing happens.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Java task spawn problem

Posted by Chris <ch...@branaghgroup.com>.
I'm on XP with ant 1.6.2.  On verbose mode it even says "spawned process 
java.lang.Win32Process@13adc56" and yet still nothing happens.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Java task spawn problem

Posted by Matt Benson <gu...@yahoo.com>.
--- Chris <ch...@branaghgroup.com> wrote:

> It just says "Build Successful" but doesn't spawn
> anything new.  I'm 
> running with both verbose and debug modes.  Is it
> possible i'm getting 
> errors that are preventing the spawned process but
> the messages aren't 
> getting shown in my original window?

Anything's possible.  :)  What OS are you running on?

-Matt


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Java task spawn problem

Posted by Chris <ch...@branaghgroup.com>.
It just says "Build Successful" but doesn't spawn anything new.  I'm 
running with both verbose and debug modes.  Is it possible i'm getting 
errors that are preventing the spawned process but the messages aren't 
getting shown in my original window?

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Java task spawn problem

Posted by Matt Benson <gu...@yahoo.com>.
What is or is not happening?  Try executing ant in
verbose and/or debug modes, -v and -d respectively.

-Matt

--- Chris <ch...@branaghgroup.com> wrote:

> Hey all I'm trying to execute my application using
> the java task along 
> with "spawn=true" but it doesn't seem to be working.
>  It seems like alot 
> of people have problems with the java task so i was
> wondering if anyone 
> had any ideas what i may be doing wrong?
> 
> <java classname="${class.run}" fork="true"
> spawn="true" 
> classpathref="class.path">
>                       <arg value="verbose:jni"/>
> </java>
> 
> Thanks!
> Chris
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org