You need to sign in to do that
Don't have an account?
SFDC coder
The filename, directo ry name, or volume label syntax is incorrect error
Hello All,
Am getting an error while retreiving the package from salesforce using the ANT tool as:
C:\Program Files\sample\build.xml:26: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
This is the line no.26 of my build.xml
<target name="retrieveUnpackaged">
<mkdir dir="retrieveUnpackaged"/>
<!-- Retrieve the contents into another directory -->
Line26-- <sf:retrieve username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" line 26-- retrieveTarget="retrieveUnpackaged" unpackaged="C:\Program Files\sample\unpackaged\package.xml"/>
</target>
What could be the issue?
Please help as soon as possible.
Thanks in advance
Am getting an error while retreiving the package from salesforce using the ANT tool as:
C:\Program Files\sample\build.xml:26: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
This is the line no.26 of my build.xml
<target name="retrieveUnpackaged">
<mkdir dir="retrieveUnpackaged"/>
<!-- Retrieve the contents into another directory -->
Line26-- <sf:retrieve username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" maxPoll="${sf.maxPoll}" line 26-- retrieveTarget="retrieveUnpackaged" unpackaged="C:\Program Files\sample\unpackaged\package.xml"/>
</target>
What could be the issue?
Please help as soon as possible.
Thanks in advance
James Loghry
Looks like it doesn't like your file path. Check that the path is correct. Also, it may not like spaces in the file path. Either move package.xml to a more simple directory without spaces, or try C:\Program/ Files\sample\unpackaged\package.xml (note the forward slash before Files)