grunt-contrib-copy任务不是复制

时间:2017-09-05 11:49:38

标签: gruntjs grunt-contrib-copy

我正在编写grunt-contrib-copy任务来从源复制到dest。但是没有文件被复制。即使没有错误。我无法理解发生了什么。

String countryName= "ESPAÑA";   //get from de DataBase in unkwon encode
String utf8 = new String(myString.getBytes(), Charset.forName("UTF-8"));
System.out.println(utf8); //prints -> ESPAÑA and it should be ESPAÑA

<%= devDir%>被定义为纠正文件夹和<%= buildDir%>也被定义了。

任何帮助?

1 个答案:

答案 0 :(得分:1)

如果您提供错误的源路径。然后grunt-contrib-copy将返回而不会出错。

路径始终是来自节点模块的引用,其中安装了这些grunt工具。

相关问题