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
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
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
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),
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[
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
> ---
[
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
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
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
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
[ 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
>
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
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
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
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
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
>> 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 .
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
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
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
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
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
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
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
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
40 matches
Mail list logo