db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3448) Allow the MailJdbc system test to run under junit.
Date Thu, 13 Mar 2008 21:06:24 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578491#action_12578491
] 

Myrna van Lunteren commented on DERBY-3448:
-------------------------------------------

The DbTasks after revision 636829 causes a build problem because the calling methods don't
handle the SQLExceptions.
I backed out the change with revision 636892.

The build failure was: 
mailjdbc:
   [javac] Compiling 10 source files to Apache/TinderBox_Derby/trunk/classes
   [javac] Apache/TinderBox_Derby/trunk/java/testing/org/apache/derbyTesting/system/mailjdbc/tasks/Backup.java:78:
unreported exception java.lang.Exception; must be caught or declared to be thrown
   [javac]             dbtasks.compressTable(conn, "INBOX", this.getName());
   [javac]                                      ^
   [javac] Apache/TinderBox_Derby/trunk/java/testing/org/apache/derbyTesting/system/mailjdbc/tasks/Backup.java:79:
unreported exception java.lang.Exception; must be caught or declared to be thrown
   [javac]             dbtasks.compressTable(conn, "ATTACH", this.getName());
   [javac]                                      ^
   [javac] Apache/TinderBox_Derby/trunk/java/testing/org/apache/derbyTesting/system/mailjdbc/tasks/Backup.java:83:
unreported exception java.lang.Exception; must be caught or declared to be thrown
   [javac]             dbtasks.Backup(conn, this.getName());
   [javac]                               ^
   [javac] 3 errors

BUILD FAILED
Apache/TinderBox_Derby/trunk/build.xml:452: The following error occurred while executing this
line:
Apache/TinderBox_Derby/trunk/java/testing/build.xml:87: The following error occurred while
executing this line:
Apache/TinderBox_Derby/trunk/java/testing/org/apache/derbyTesting/system/mailjdbc/build.xml:70:
Compile failed; see the compiler error output for details.

I didn't do a clean build, and apparently neither did Manjula. 

> Allow the MailJdbc system test to run under junit.
> --------------------------------------------------
>
>                 Key: DERBY-3448
>                 URL: https://issues.apache.org/jira/browse/DERBY-3448
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Daniel John Debrunner
>            Assignee: Manjula Kutty
>            Priority: Minor
>         Attachments: DERBY-3448_diff.txt_02_26_ver2.txt, DERBY-3448_diff_02_26.txt, DERBY-3448_diff_02_27.txt,
DERBY-3448_stat_02_26.txt, derby_3448_dbtasks_cleanup.txt
>
>
> It would be good to get the mailjdbc test to run under junit to allow use of the utilities
there and decorators such as running the test getting all connections from a data source with
a statement caching.
> Could still allow the test to run standalone in its current form

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message