brekke 02/03/17 20:07:50
Modified: src/rttest/org/apache/turbine
ConditionalValveServletTest.java
Log:
No need to use the file.separator from the system since as the comment indicates,
ultimately we want to find a better
way to specify the path.
Revision Changes Path
1.3 +2 -4
jakarta-turbine-3/src/rttest/org/apache/turbine/ConditionalValveServletTest.java
Index: ConditionalValveServletTest.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-3/src/rttest/org/apache/turbine/ConditionalValveServletTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ConditionalValveServletTest.java 18 Mar 2002 03:54:02 -0000 1.2
+++ ConditionalValveServletTest.java 18 Mar 2002 04:07:50 -0000 1.3
@@ -82,7 +82,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Jeff Brekke</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="mailto:[EMAIL PROTECTED]">James Taylor</a>
- * @version $Id: ConditionalValveServletTest.java,v 1.2 2002/03/18 03:54:02 brekke
Exp $
+ * @version $Id: ConditionalValveServletTest.java,v 1.3 2002/03/18 04:07:50 brekke
Exp $
*/
public class ConditionalValveServletTest
extends ServletTestCase
@@ -280,9 +280,7 @@
String baseDir = System.getProperty("basedir");
assertNotNull("Could not get the 'basedir' system property.", baseDir);
- String fs = System.getProperty("file.separator");
- assertNotNull("Could not get the 'file.separator' system property.", fs);
- Util.init( baseDir+fs+"target/rttest/tomcat40/webapps/test/WEB-INF/conf/" );
+ Util.init( baseDir+"/target/rttest/tomcat40/webapps/test/WEB-INF/conf/" );
// If it parses it must be a flash file
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>