on 6/12/01 4:07 PM, "michael young" <[EMAIL PROTECTED]> wrote:

> Kevin,
> 
> I understand the compiler error. The problem is that the file I'm compiling
> comes from the CVS sources I've checked out from the jakarta-turbine
> workspace. I've been trying to import these source files into JBuilder,
> however, I am experiencing compilation errors. The only way I've been able
> to successfully compile the Turbine sources is using ant, and I've been
> wondering if that is the only way to compile the sources. I'd like to be
> able to compile under Jbuilder in case I need to debug the source files.
> 
> Michael

#0. This isn't a real big deal...please don't get all worked up about it...

#1. That file isn't needed. So, you can remove it if you want to.
"CriteriaTest.java" clearly shows that it is part of the testing suite only.

#2. I just checked in a patch that should allow the file to compile.

  Index: CriteriaTest.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine/src/java/org/apache/turbine/util/db/CriteriaTest.j
ava,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CriteriaTest.java    2001/04/08 16:50:49    1.4
  +++ CriteriaTest.java    2001/06/13 00:04:19    1.5
  @@ -63,7 +63,7 @@
    * Test class for Criteria.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Christopher Elkins</a>
  - * @version $Id: CriteriaTest.java,v 1.4 2001/04/08 16:50:49 ilkka Exp $
  + * @version $Id: CriteriaTest.java,v 1.5 2001/06/13 00:04:19 jon Exp $
    */
   public class CriteriaTest extends BaseTestCase
   {
  @@ -99,7 +99,7 @@
           final String value = "myValue";
   
           // Add the string
  -        c.add(table, column, (Object)value);
  +        c.add(table, (Object)column, (Object)value);
   
           // Verify that the key exists
           assert(c.containsKey(table, column));

Thanks,

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Ballmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to