Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Michelle Caisse
Hi Matthew, When you see these responses, you will get the idea that we all think something is wrong with your configuration file. I think what's going on is that you are supplying the name of a list file on the command line, whereas you are actually supposed to provide the contents of a lis

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Michelle Caisse
Hi Karan, A mapping of 0 is set to an empty string for the purpose of setting jdo.tck.schema to schema.sql, as you point out. However, the value 0 is needed for the name of the database schema, as in "applicationidentity0". -- Michelle Karan Malhi wrote: Hi Michelle, If you specify a mapp

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
Hi Michelle, If you specify a mapping = 0 , maven basically considers it as an empty string so that it can set jdo.tck.schema=schema.sql. If you specify a mapping= 1, then maven will append the number 1 to the word "schema" so now jdo.tck.schema=schema1.sql. On 9/22/05, Michelle Ca

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
va] Result: All (1) configurations passed. [java] See file '/home/karan/Projects/jdolatest/jdo/trunk/tck20/target/logs/20050922-234348/TCK- results.txt' for details. On 9/22/05, Karan Malhi <[EMAIL PROTECTED]> wrote: > > I was able to reproduce the error (not fully though),

Re: status update: ri11 enhancer support for jdk 1.5

2005-09-22 Thread Martin Zaun
Michael, Craig and I had an in-depth discussion this afternoon on the order-of-class-registration problem. Here's a summary: 1) The query's semantic analysis requires java metadata (i.e. name/type/existence of fields/classes), which we obtain by reflection. Reflection requires a clas

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
I was able to reproduce the error (not fully though), just the part where it looks for JDOTCKTestCases.list. Below is the error(partial output) Problems reading testlist JDOTCKTestCases.list: java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or directory) This is caused if you do n

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Michelle Caisse
Hi Matthew, I've never seen this. I'd like to know what detach.list looks like. I don't see it or the test class in the attachment list. It should look something like what's shown in step 9 of http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping should equal 0, not "" as sho

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Craig Russell
Here's what I use for my conf file:[d-usca14-133-145:jdo/trunk/tck20] clr% cat test/conf/clr.conf jdo.tck.description = Test Stuffjdo.tck.mapping.companyfactory=org.apache.jdo.tck.pc.company.CompanyFactoryPersistentInterfacejdo.tck.classes = org.apache.jdo.tck.transactions.GetRollbackOnlyReturnsFal

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Craig Russell
Hi Matthew,What's the content of test/conf/detach.list?CraigOn Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:Hi all,I'm trying to run my first test, and I'm getting some results that Iunderstand, and some results that I don't.  Attached are the logs produced,as well as the test class & config fi

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
Did you specify jdo.tck.identitytypes=applicationidentity in your detach.conf file? Looks like that is the value set in the detach.conf file. Either change the property in the detach.conf to jdo.tck.identitytypes="applicationidentity datastoreidentity" or run the command like below: maven -Djdo.tc

Re: status update: ri11 enhancer support for jdk 1.5

2005-09-22 Thread Martin Zaun
Michael, Craig found the cause of the MissingResourceException. Michael Bouschen wrote: some remarks: - I'm surprised about the MissingResourceException for the key ERR_MultipleJavaField. Is there any difference in the bundle lookup in Java 5? BaseReflectionJavaType loads org/apache/jd

My first test run -- 'splain me this, Lucy

2005-09-22 Thread Matthew T. Adams
Hi all, I'm trying to run my first test, and I'm getting some results that I understand, and some results that I don't. Attached are the logs produced, as well as the test class & config files. What I don't quite get is this console output: doRuntck.jdori: [java] Problems reading testlist JD

Re: status update: ri11 enhancer support for jdk 1.5

2005-09-22 Thread Martin Zaun
Michael, after I had a closer look into Test_Query, I figured that you might want to see a bit more stacktrace context around the interesting points. So, more details below. Martin Martin Zaun wrote: - Checking the point of time when PC classes register with the runtime, it's different wi

Re: status update: ri11 enhancer support for jdk 1.5

2005-09-22 Thread Martin Zaun
Michael, Craig, A status update on the RI11 enhancer changes for Java 5 support: As it looks like, the junit test errors are not caused by the enhancer changes but by order-of-class-loading issues with the tests or model/query, which just haven't been exposed before. I still don't have the all

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Matthew, I dont use netbeans, but i found some stuff on mevenide website which might be useful to you: "when running any of the debug goals, the IDE will attempt to attach the debugger to the process started by the goal. These properties can be used to disable or customize the automatic d

Re: Detach test case names

2005-09-22 Thread Michelle Caisse
Yes, I had come to the same conclusion. Step 1 could be filing a JIRA, if there isn't already one, with a mention to conduct discussion through JIRA. Then in the step where you submit a patch, you attach it to the JIRA. If you agree, feel free to make the changes, Karan. -- Michelle Craig R

RE: Run single TCK test?

2005-09-22 Thread Matthew T. Adams
I'm using NetBeans as my IDE for this stuff. I found that if I use the NetBeans "Build" command, which is mapped to the Maven goal "jar:install", I build what I want (tck20 w/out installSchema). What I'm trying to do now is to run a single test within the IDE so that I can debug it. I'm not hav

JDO TCK Conference Call Friday, Sep 23, 9 am PDT

2005-09-22 Thread Michelle Caisse
Hi, We will have our regular meeting Friday, September 23 at 9 am PDT to discuss JDO TCK issues and status. Dial-in numbers are: 866 230-6968 294-0479# International: +1 865 544-7856 Agenda: Test status (Michael W) Detached objects (Matthew) Query tests (Michael, Michael) Fieldtypes/meta

Re: Detach test case names

2005-09-22 Thread Craig Russell
Hi Karan,I think it needs to go right on the TCK page under how to write a test case.Michelle, What do you think?CraigOn Sep 22, 2005, at 4:46 AM, Karan Malhi wrote:We should have these instructions on the wiki. I wanted to update the wikibut was not sure which page to update. I am thinkinghttp://w

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Craig, Here are some things which i do with the console. 1. To run the console: maven -bo -Djdo.tck.cfglist="inheritance1.conf" -Djdo.tck.identitytypes="applicationidentity" console 2. This will show you the console prompt, something like jdo2-tck 2.0-SNAPSHOT > [default] 3. If you want

[jira] Commented: (JDO-146) PM & PMF missing property detachAllOnCommit

2005-09-22 Thread Craig Russell (JIRA)
[ http://issues.apache.org/jira/browse/JDO-146?page=comments#action_12330211 ] Craig Russell commented on JDO-146: --- And not to forget PersistenceManagerWrapper that also implements the PM interface. > PM & PMF missing property detachAllOnCommit > ---

[jira] Commented: (JDO-146) PM & PMF missing property detachAllOnCommit

2005-09-22 Thread Craig Russell (JIRA)
[ http://issues.apache.org/jira/browse/JDO-146?page=comments#action_12330210 ] Craig Russell commented on JDO-146: --- The runtime20 classes that implement PersistenceManager and PersistenceManagerFactory also need to be updated so they compile. For now, I

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Mathew, This is what the build goal looks like in tck20/maven.xml So you can see that the build goal calls privateInstallSchema. I think the tck20.build goal calls the build goals on all the projects falling under the tck20 scope. (look at pro

Re: Run single TCK test?

2005-09-22 Thread Craig Russell
Hi Karan,I'm missing some concepts with the maven console. Could you please give us a sample maven console run?Thanks,CraigOn Sep 22, 2005, at 9:01 AM, karan malhi wrote:Hi Matthew,You can also try maven console, if you are running single tests. This will save you some jvm startup time.Matthew T. A

Re: Run single TCK test?

2005-09-22 Thread Craig Russell
Hi Matthew,On Sep 22, 2005, at 9:09 AM, Michelle Caisse wrote:Matthew T. Adams wrote: Yes, I only want to run installSchema once, unless I'm going to lunch orsomething while it runs.  I'd like to be able to build tck20, though,without running the installSchema target.  I think something got lost in

[jira] Updated: (JDO-146) PM & PMF missing property detachAllOnCommit

2005-09-22 Thread Matthew T. Adams (JIRA)
[ http://issues.apache.org/jira/browse/JDO-146?page=all ] Matthew T. Adams updated JDO-146: - Attachment: detachOnAllCommit.patch Attaching patch to add missing property to PM & PMF > PM & PMF missing property detachAllOnCommit >

[jira] Created: (JDO-147) Remove pm.deletePersistent from query tests

2005-09-22 Thread Michelle Caisse (JIRA)
Remove pm.deletePersistent from query tests --- Key: JDO-147 URL: http://issues.apache.org/jira/browse/JDO-147 Project: JDO Type: Bug Components: tck20 Reporter: Michelle Caisse Assigned to: Michael Watzek The query

[jira] Created: (JDO-146) PM & PMF missing property detachAllOnCommit

2005-09-22 Thread Matthew T. Adams (JIRA)
PM & PMF missing property detachAllOnCommit --- Key: JDO-146 URL: http://issues.apache.org/jira/browse/JDO-146 Project: JDO Type: Bug Components: api20 Reporter: Matthew T. Adams Assigned to: Matthew T. Adams The ap

[jira] Created: (JDO-145) Remove pm.deletePersistent from fieldtypes tests

2005-09-22 Thread Michelle Caisse (JIRA)
Remove pm.deletePersistent from fieldtypes tests Key: JDO-145 URL: http://issues.apache.org/jira/browse/JDO-145 Project: JDO Type: Bug Components: tck20 Reporter: Michelle Caisse Assigned to: Michelle Caisse

Re: Run single TCK test?

2005-09-22 Thread Michelle Caisse
Matthew T. Adams wrote: Yes, I only want to run installSchema once, unless I'm going to lunch or something while it runs. I'd like to be able to build tck20, though, without running the installSchema target. I'll look at adding that goal -- is it one of the standard maven goals like multiproje

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Matthew, You can also try maven console, if you are running single tests. This will save you some jvm startup time. Matthew T. Adams wrote: How do I run a single test method or test class? I'd like to be able to do it via the command line as well as in NetBeans so that I ca

RE: Run single TCK test?

2005-09-22 Thread Matthew T. Adams
>> How do I run a single test method or test class? I'd like >to be able >> to do it via the command line as well as in NetBeans so that I can >> debug it. Do I have to create my own configuration file in >test/conf >> (.list & .conf) for each test I want to run alone? > >You need your own .

Re: Cleanup in models.fieldtypes.Test*.java

2005-09-22 Thread Craig Russell
Hi,On Sep 22, 2005, at 2:58 AM, Michael Watzek wrote:Hi Michelle,the query tests implement the same strategy: They call method 'QueryTest.cleanupDatabaseInternal' which calls 'pm.deletePersistent'. Thus, TCK property 'jdo.tck.cleanupaftertest' does not apply for those tests. We have to adapt them a

Re: [Jdo Wiki] Update of "QueryTests" by MichaelWatzek

2005-09-22 Thread karan malhi
Hi Michael, Nice explanation. Thanks Michael Watzek wrote: Hi Karan, A positive test case is supposed to succeed. For example, you write a test case which updates a persistent instance and commits the transaction. Then you check if the update had an effect in the database. A negative tes

Re: [Jdo Wiki] Update of "QueryTests" by MichaelWatzek

2005-09-22 Thread Michael Watzek
Hi Karan, A positive test case is supposed to succeed. For example, you write a test case which updates a persistent instance and commits the transaction. Then you check if the update had an effect in the database. A negative test case is supposed to fail. Usually, a negative test case check

Re: JIRA and svn commit

2005-09-22 Thread Craig Russell
Hi Jeff,This will make JIRA very much more useful.Thanks!CraigOn Sep 21, 2005, at 4:57 PM, Jeff Turner wrote:On Wed, Sep 21, 2005 at 04:19:59PM -0700, Craig Russell wrote: FYI. The automatic link to the change files is extremely useful. Any  chance we can get the fix applied to the Apache JIRA inst

Re: [Jdo Wiki] Update of "QueryTests" by MichaelWatzek

2005-09-22 Thread karan malhi
Hi Michael, I saw the wiki on query tests. Neat work. I had a question, what is the difference between the positive test and negative test. Does that have any affect on the way the testcase code is written? Regards Apache Wiki wrote: Dear Wiki user, You have subscribed to a wiki page or w

Fwd: JIRA and svn commit

2005-09-22 Thread Craig Russell
FYI.CraigBegin forwarded message:From: Jeff Turner <[EMAIL PROTECTED]>Date: September 21, 2005 4:57:06 PM PDTTo: Craig Russell <[EMAIL PROTECTED]>Cc: [EMAIL PROTECTED]Subject: Re: Fwd: JIRA and svn commit On Wed, Sep 21, 2005 at 04:19:59PM -0700, Craig Russell wrote: FYI. The automatic link to the

Re: Detach test case names

2005-09-22 Thread Karan Malhi
We should have these instructions on the wiki. I wanted to update the wiki but was not sure which page to update. I am thinking http://wiki.apache.org/jdo/TechnologyCompatibilityKit could have a link to "Filing a JIRA issue" On 9/21/05, Craig Russell <[EMAIL PROTECTED]> wrote: > > Hi Matthew, > No

Re: Cleanup in models.fieldtypes.Test*.java

2005-09-22 Thread Michael Watzek
Hi Michelle, the query tests implement the same strategy: They call method 'QueryTest.cleanupDatabaseInternal' which calls 'pm.deletePersistent'. Thus, TCK property 'jdo.tck.cleanupaftertest' does not apply for those tests. We have to adapt them also. The finally block below is fine. Regard