function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Steve_Test_Non_MultiSteve_Test_Non_Multi 

Apache Ant Org Migration - Java.IO error

I am facing a very strange issue.  I am trying to do an extract from my org and I keep getting a Java.IO error in ant.  Saying the filename, directory, or syntax are incorrect.

 

When I do an extract from a different org...no issues.  Build Successful.

 

I can't see how the org would have any bearing on this 

 

Any ideas?

AmitSahuAmitSahu

Both the orgs are of same type ? Sanbox/Production ?

Steve_Test_Non_MultiSteve_Test_Non_Multi

Both are demo orgs that I am trying to extract from.  One works fine, other failes with IO issues.

kevindotcarkevindotcar

 

Just to cover the bases;  Are you using the same make/build script or command? For instance, mine looks like:

 

    java -classpath c:\ant\wsc-20.jar;c:\ant\tools.jar com.sforce.ws.tools.wsdlc c:\ant\enterprise.wsdl.xml output.jar

 

ie;  all your supporting jars are the same?

 

If using eclipse this can get buried sometimes....

 

 

AmitSahuAmitSahu
Can you tell us what objects you are trying to deploy?
Steve_Test_Non_MultiSteve_Test_Non_Multi

I wasn't experiencing the issue during deployment, it was during the process of retrieving.  The error doesn't indicate where exactly it ran into the issue.