ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Giacometti <MatteoGiacome...@luxottica.com>
Subject R: Ant 1.6.2 UNC paths are not supported
Date Fri, 27 Aug 2004 09:47:24 GMT
Hi.
Maybe this can help you in suggest me the solution:
I use this to launch Ant:
Z:\>ant -f \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javasrc.xml mytask

And this is the debug output:
Execute:CommandLauncher: Executing 'cmd' with arguments:
'/c'
'cd'
'/d'
'\\myserver\JavaApps\jluxdev\JavaDeploy\cfg'
'&&'
'J:\JavaVSS\javalib\win32\ss'
'Get'
'$/JBuilder/lib/luxdev'
''
'-I-N'
''
'-R'
'-V'
''
'-Yguest,********'
''
''

The ' characters around the executable and arguments are
not part of the command.
   [vssget] '\\myserver\JavaApps\jluxdev\JavaDeploy\cfg' is an invalid
current di
ectory path.  UNC paths are not supported.
  [antcall] Exiting \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml.
      [ant] Exiting \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml.

BUILD FAILED
\\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javasrc.xml:66: The following
error oc
urred while executing this line:
\\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml:120: The following
error o
curred while executing this line:
\\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml:141: Failed
executing: J:\
avaVSS\javalib\win32\ss Get $/JBuilder/lib/luxdev  -I-N  -R -V
-Yguest,*****
With a return code of 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Proje
tHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


Thank you
Matteo

> -----Messaggio originale-----
> Da: Matteo Giacometti [mailto:MatteoGiacometti@luxottica.com] 
> Inviato: venerdì 27 agosto 2004 11.22
> A: 'user@ant.apache.org'
> Oggetto: Ant 1.6.2 UNC paths are not supported
> 
> 
> 
> Hello everybody, this is my first post :)
> I'm tryng to use vssget task on a windows 2000 terminal 
> server with Ant 1.6.2 This task works fine on an old WinNt 
> server with Ant 1.5 This is the task def: <vssget 
> login="${login}" vsspath="${repository.lib.luxdev}"
> serverPath="J:\JavaVSS\javalib"
>      recursive="true" version="${version}" 
> ssdir="J:\JavaVSS\javalib\win32"
>      autoresponse="N"/>  
> 
> Where J maps \\myserver\share (under Nt I use 
> \\myserver\javavss.... And it works fine)
> 
> This is the error 
> Ant prints:
>    [vssget] '\\myserver\JavaApps\jluxdev\JavaDeploy\cfg' is 
> an invalid current dir ectory path.  UNC paths are not supported.
> 
> BUILD FAILED
> \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javasrc.xml:66: 
> The following error occ urred while executing this line:
> \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml:120: 
> The following error oc curred while executing this line:
> \\myserver\JavaApps\jluxdev\JavaDeploy\cfg\javalux.xml:141: Failed
> executing: J:\J
> avaVSS\javalib\win32\ss Get $/JBuilder/lib/luxdev  -I-N  -R -V
> -Yguest,*****
> With a return code of 1
> 
> I obtain "  UNC paths are not supported." message also if I 
> try to use the exec task.
> 
> Does anyone have similar problem?
> 
> Could you help me please?
> 
> Thanks in advance
> Matteo
> 
> ---------------------------------------------------------------------
> 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