You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/05 13:55:32 UTC

svn commit: r503663 - /webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPMessageTest.java

Author: dims
Date: Mon Feb  5 04:55:31 2007
New Revision: 503663

URL: http://svn.apache.org/viewvc?view=rev&rev=503663
Log:
fix build break in m2 builds

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=503663&r1=503662&r2=503663
==============================================================================
--- 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 04:55:31 2007
@@ -92,15 +92,15 @@
 			SOAPFault sf = body.addFault();
 
 
-			InputStream in1 = new FileInputStream(new File("test-resources" + File.separator + "attach.xml"));
+			InputStream in1 = new FileInputStream(new File(System.getProperty("basedir",".") + "/test-resources" + File.separator + "attach.xml"));
 			ap1 = msg.createAttachmentPart(in1, "text/xml");
 			msg.addAttachmentPart(ap1);
 
-			InputStream in2 = new FileInputStream(new File("test-resources" + File.separator + "axis2.xml"));
+			InputStream in2 = new FileInputStream(new File(System.getProperty("basedir",".") + "/test-resources" + File.separator + "axis2.xml"));
 			ap2 = msg.createAttachmentPart(in2, "text/xml");
 			msg.addAttachmentPart(ap2);
 
-			InputStream in3 = new FileInputStream(new File("test-resources" + File.separator + "axis2.xml"));
+			InputStream in3 = new FileInputStream(new File(System.getProperty("basedir",".") + "/test-resources" + File.separator + "axis2.xml"));
 			ap3 = msg.createAttachmentPart(in3, "text/plain");
 			msg.addAttachmentPart(ap3);
 



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