axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r503677 - /webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java
Date Mon, 05 Feb 2007 13:43:50 GMT
Author: dims
Date: Mon Feb  5 05:43:50 2007
New Revision: 503677

URL: http://svn.apache.org/viewvc?view=rev&rev=503677
Log:
oops! missed a spot

Modified:
    webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java

Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java?view=diff&rev=503677&r1=503676&r2=503677
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java
Mon Feb  5 05:43:50 2007
@@ -151,7 +151,7 @@
 
 			AttachmentPart ap;
 
-			InputStream inputStream = new FileInputStream(new File("test-resources" + File.separator
+ "attach.xml"));
+			InputStream inputStream = new FileInputStream(new File(System.getProperty("basedir",".")
+ "/test-resources" + File.separator + "attach.xml"));
 			ap = msg.createAttachmentPart(inputStream, "text/xml");
 			DataHandler dh = new DataHandler(new SAAJDataSource(inputStream,1000,"text/xml",true));
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message