【问题标题】:How to create a new configuration using External tools in WebStorm如何使用 WebStorm 中的外部工具创建新配置
【发布时间】:2015-05-27 09:56:23
【问题描述】:

我正在创建一个多租户客户端移动 (Cordova) 应用程序。我想在部署时将适当的客户端文件从文件夹复制到项目中。

我正在使用 WebStorm IDE 进行开发。项目有一个名为branding 的文件夹,其中包含文件夹中的多个客户特定文件。使用 WebStorm,我使用外部工具创建了一个新配置。

为了在部署时复制文件,我使用了命令xcopy $FileParentDir$branding\abc\*.* $FileParentDir$www\branding /S /Y

上面写着cannot run program... CreateProcess error=2, The system cannot find the file specified

【问题讨论】:

    标签: webstorm multi-tenant xcopy visual-studio-macros external-tools


    【解决方案1】:

    请使用“Parameters”字段指定 xcopy 选项 - 将“xcopy”保留为“Program”并将“$FileParentDir$\branding\abc\*.* $FileParentDir$\www\branding /S /Y”移至“Parameters”字段

    【讨论】:

    • 天啊!!!!你是男人。我从来没有教过我可以如此轻松地结束。你让我开心。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-06
    • 1970-01-01
    • 2020-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多