maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emman...@venisse.net>
Subject Re: cvs commit: maven-components/maven-core-it/it0015/src/main/java/org/apache/maven/it0015/tags WriteFileTag.java
Date Wed, 02 Mar 2005 08:11:49 GMT
I obtain this on windows :
Attempting to write to file:
'D:cvs_repojakartamaven-componentsmaven-core-itit0015target/out.txt'
contents:

It must be :
Attempting to write to file:
'D:/cvs_repo/jakarta/maven-components/maven-core-it/it0015/target/out.txt'
contents:
or
Attempting to write to file:
'D:\cvs_repo\jakarta\maven-components\maven-core-it\it0015\target/out.txt'
contents:

Emmanuel

----- Original Message ----- 
From: <jdcasey@apache.org>
To: <maven-components-cvs@apache.org>
Sent: Wednesday, March 02, 2005 3:41 AM
Subject: cvs commit:
maven-components/maven-core-it/it0015/src/main/java/org/apache/maven/it0015/
tags WriteFileTag.java


> jdcasey     2005/03/01 18:41:09
>
>   Modified:
maven-core-it/it0015/src/main/java/org/apache/maven/it0015/tags
>                         WriteFileTag.java
>   Log:
>   o Adding debug statements for testing on windows.
>
>   Revision  Changes    Path
>   1.2       +3 -0
maven-components/maven-core-it/it0015/src/main/java/org/apache/maven/it0015/
tags/WriteFileTag.java
>
>   Index: WriteFileTag.java
>   ===================================================================
>   RCS file:
/home/cvs/maven-components/maven-core-it/it0015/src/main/java/org/apache/mav
en/it0015/tags/WriteFileTag.java,v
>   retrieving revision 1.1
>   retrieving revision 1.2
>   diff -u -r1.1 -r1.2
>   --- WriteFileTag.java 1 Mar 2005 02:54:54 -0000 1.1
>   +++ WriteFileTag.java 2 Mar 2005 02:41:09 -0000 1.2
>   @@ -28,6 +28,9 @@
>            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())
>
>
>
>


Mime
View raw message