This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This task raises IOException | |
task copyToProjectDir(type: Copy) { | |
from 'test1/test1.txt' | |
into '.' | |
} | |
// Workaround using ant property | |
task copyToProjectDir1 << { | |
ant.copy(file: 'test1/test1.txt', todir: '.') | |
} |
回避策としては、antプロパティのcoypタスクを使用する。
0 件のコメント:
コメントを投稿