Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Exit code 10 from command line without profile

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
Brian Robison
Guest





PostPosted: Fri Mar 27, 2009 3:41 pm    Post subject: Exit code 10 from command line without profile Reply with quote

I am running vice versa via the command-line and get Error Code 10 which suggests using the profile option 'Replace newer target files with older source files'.

Unfortunately my source folder changes every time this is run, so I can't use a profile. Is there a way to specify 'Replace newer target files' from the command line or make it a default setting?

My command is:
viceversa.exe /source:"c:\Build_1234\SourceDir" /target:"\\TargetServer\c$\TargetDir" /incsub /hiddenautoexec /comptype:1 /exec:2

Source path varies. Target path is constant. I will often have newer target files, and need them to be replaced.

I am running this command from MSBuild, so I can't run it manually or on a schedule.

If this is not possible, is there a way to pass a Source Path when calling a profile from the command line? (This is actually the method I would prefer)

Thanks.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Mon Mar 30, 2009 2:47 am    Post subject: Reply with quote

Hello

currently it's not possible, but we'd like to add the possibility to specify on the command line a profile + override some of the settings with command line options, that is by specifying a profile + source /source:"c:\Build_1234\SourceDir", that would take all profiles settings but change the source into c:\Build_1234\SourceDir
Right now it's not possible and the only way is to modify the .fsf which is a text file...

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Tue Apr 21, 2009 9:00 am    Post subject: Reply with quote

Hello

this has been improved in version 2.5 beta, please write to support@tgrmn.com if interested. Now a profile can be specified on the command line and profile options are overwritten with the parm on the command line. So you can create a profile template without source and use it on the command line and specify the source with the /source parm, thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: