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 14:37:44 GMT
Hi.
I've found out that if I map myserver with a letter (ie J) and I execute
"ant j:\blablabla\build.xml", the vssget task works!
Is it normal?
Many thanks
Matteo

> -----Messaggio originale-----
> Da: Matteo Giacometti [mailto:MatteoGiacometti@luxottica.com] 
> Inviato: venerdì 27 agosto 2004 11.47
> A: 'Ant Users List'
> Oggetto: R: Ant 1.6.2 UNC paths are not supported
> 
> 
> 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
> > 
> >

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


Mime
View raw message