i try to implement a Java Application to sync down sandboxes.
Command cmd = new Command( Command.SI, "createsandbox" );
cmd.addOption( new Option( "recurse" ) );
cmd.addOption( new Option( "nopopulate" ) );
cmd.addOption( new Option( "project", ptcProject ) );
cmd.addOption( new Option( "cwd", sandboxDir ) );
api.runCommand( cmd );
With this part of sourcecode I got this Exception.
Sandboxes cannot be created or imported directly on the Integrity Server.
as Input i use for Project
Project: #p=e:/MKSProjects/<unknown>/<unknown>.pj#<subproject>/project.pj
cwd: C:\\Temp\\<notexistingfolder>
What is wrong here? My MKSAPI.jar Version is 4.15