Title: [785] trunk/core/src/java/org/jbehave/core/story: [ElizabethKeogh] Exit with error if exception encountered (so that the ant build fails if it can't print the stories for any reason)
Revision
785
Author
sirenian
Date
2007-08-15 12:17:30 -0500 (Wed, 15 Aug 2007)

Log Message

[ElizabethKeogh] Exit with error if exception encountered (so that the ant build fails if it can't print the stories for any reason)

Modified Paths

Diff

Modified: trunk/core/src/java/org/jbehave/core/story/StoryPrinter.java (784 => 785)

--- trunk/core/src/java/org/jbehave/core/story/StoryPrinter.java	2007-08-15 17:07:05 UTC (rev 784)
+++ trunk/core/src/java/org/jbehave/core/story/StoryPrinter.java	2007-08-15 17:17:30 UTC (rev 785)
@@ -51,6 +51,7 @@
             }           
         } catch (Exception e) {
             e.printStackTrace();
+            System.exit(1);
         }
     }
 }

Modified: trunk/core/src/java/org/jbehave/core/story/StoryToDirectoryPrinter.java (784 => 785)

--- trunk/core/src/java/org/jbehave/core/story/StoryToDirectoryPrinter.java	2007-08-15 17:07:05 UTC (rev 784)
+++ trunk/core/src/java/org/jbehave/core/story/StoryToDirectoryPrinter.java	2007-08-15 17:17:30 UTC (rev 785)
@@ -57,6 +57,7 @@
             }           
         } catch (Exception e) {
             e.printStackTrace();
+//            System.exit(1);
         }
     }
 }


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to