You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2003/12/30 11:44:03 UTC

antcall Win -> Unix ?

Hi,

first of all -> Happy new year :)

Question :

Is it possible with <antcall> to call another antscript, that
resides on unix, within an antscript that is started from 
Win2000 ?

How ?

(Ant 1.5.4 installed on Win2000 and Unix [AIX] )


Regards,
        Gilbert

 

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


Re: antcall Win -> Unix ?

Posted by RADEMAKERS Tanguy <ta...@swift.com>.
Hello Gilbert,

<antcall> invokes ant on the current buildfile. If you want to call a 
target in another build.xml file, use the <ant> task with the antfile 
attribute. You could do this across win/unix by mounting the unix 
directory onto your windows system, but don't forget that it's the 
windows copy of the ant executable that will run in the windows 
environment, not the unix copy (if any) in the unix environment.

/t

Rebhan, Gilbert wrote:

>Hi,
>
>first of all -> Happy new year :)
>
>Question :
>
>Is it possible with <antcall> to call another antscript, that
>resides on unix, within an antscript that is started from 
>Win2000 ?
>
>How ?
>
>(Ant 1.5.4 installed on Win2000 and Unix [AIX] )
>
>
>Regards,
>        Gilbert
>
> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


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