Update of /cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4826/src/net/sourceforge/jwebunit

Modified Files:
        HttpUnitDialog.java 
Log Message:
Updated the maven files so that the project can be built and tested in maven 
1.x. The dependencies jacob and jacobie must be downloaded manually. Httpunit 
version is still 1.6 so the window tests will fail.
Eclipse project can be generated with "maven eclipse:generate-classpath" 
(requires the MAVEN_REPO variable in Eclipse).

Index: HttpUnitDialog.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/HttpUnitDialog.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** HttpUnitDialog.java 22 Dec 2005 18:05:00 -0000      1.59
--- HttpUnitDialog.java 29 Dec 2005 10:43:40 -0000      1.60
***************
*** 13,16 ****
--- 13,17 ----
  
  import org.apache.regexp.RE;
+ import org.apache.regexp.RESyntaxException;
  
  import net.sourceforge.jwebunit.exception.TestingEngineResponseException;
***************
*** 636,639 ****
--- 637,642 ----
              RE re = new RE(regexp, RE.MATCH_SINGLELINE);
              return re.match(getTestContext().toEncodedString(resp.getText()));
+         } catch (RESyntaxException e) {
+             throw new 
RuntimeException(ExceptionUtility.stackTraceToString(e));
          } catch (IOException e) {
              throw new 
RuntimeException(ExceptionUtility.stackTraceToString(e));



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to