Matteo Giacometti wrote:

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



From your previous output, ant was startting a "cmd.exe" process, requesting a cd into an UNC path.
cd into an UNC path is not supported.


Cheers,

Antoine

-----Messaggio originale-----
Da: Matteo Giacometti [mailto:[EMAIL PROTECTED] 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






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to