How to create a new configuration using External tools in WebStorm

89 Views Asked by At

I am creating a multi tenant client mobile(Cordova) application. I want to copy the appropriate client files from a folder to the project in deployment time.

I am using WebStorm IDE for development. Project has a folder called branding which contains multiple client specific files in folders. Using WebStorm, I created a new configuration using external tools.

To copy the files in deployment time, I used the command xcopy $FileParentDir$branding\abc\*.* $FileParentDir$www\branding /S /Y

It says cannot run program... CreateProcess error=2, The system cannot find the file specified

enter image description here

1

There are 1 best solutions below

1
On BEST ANSWER

Please use 'Parameters' field to specify xcopy options - leave 'xcopy' as 'Program' and move '$FileParentDir$\branding\abc\*.* $FileParentDir$\www\branding /S /Y' to 'Parameters' field