ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Access server via alias ?!
Date Fri, 21 Sep 2007 10:13:02 GMT

Hi, 

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Friday, September 21, 2007 11:30 AM
To: user@ant.apache.org
Subject: AW: Access server via alias ?!
*/
hmmm - that works for me. I tested with //computername/c$
Is there a net share "deploy"? Could you access this UNC via Windows Explorer?


Jan
*/

it works with //computername but not with //aliasname !

for now i'll go with =

<script language="ruby">
<![CDATA[
getserver=`nslookup cvsprod`
$project.setProperty "cvsprod", "//#{getserver.scan(/Name:\s+(\w+)\./)}"
]]>
</script>

Regards, Gilbert

>-----Urspr√ľngliche Nachricht-----
>Von: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
>Gesendet: Freitag, 21. September 2007 10:34
>An: user@ant.apache.org
>Betreff: Access server via alias ?!
>
>
>Hi,
>
>i need to access a server via his aliasname, but
>the following snippet doesn't work =
>
><target name="depends">
>  <fileset dir="//cvsprod/deploy" includes="*.txt" id="bla"/>
>  <echo>Files == ${toString:bla}</echo>      
></target>
>
>BUILD FAILED
>... \\cvsprod\deploy not found.
>
>Running Ant 1.6.5 on Win 2000 / 2003, jdk 1.4.2_08
>
>Is there any cmd line tool for windows available ?
>Any ideas ?
>
>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


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


Mime
View raw message