mirror of https://github.com/apache/maven.git
o Adding debug statements for testing on windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
11e305e84f
commit
90ab124653
|
@ -28,6 +28,9 @@ public class WriteFileTag
|
|||
String content = (String) getBody(context, String.class);
|
||||
String filename = (String) requireTagAttribute(FILE_ATTR, String.class, context);
|
||||
|
||||
System.out.println("Attempting to write to file: \'" + filename + "\' contents:");
|
||||
System.out.println(content);
|
||||
|
||||
File file = new File(filename);
|
||||
File dir = file.getParentFile();
|
||||
if(dir != null && !dir.exists())
|
||||
|
|
Loading…
Reference in New Issue