db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew T. Adams" <matthew.ad...@xcalia.com>
Subject RE: Run single TCK test?
Date Thu, 22 Sep 2005 17:12:52 GMT
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 having good luck with that.  NetBeans launches the
goal mevenide:debug-artifact, which then chokes:
[mevenide-debug-start] Starting the debugged application...    [echo]
jvmargs=-Xdebug -Xnoagent -Djava.compiler=NONE
File...... C:\Documents and
Element... ant:java
Line...... 122
Column.... 73
Classname must not be null.
Total time: 11 seconds
Finished at: Thu Sep 22 09:26:09 PDT 2005

All of the debug jvmargs look good -- I don't know why I'm getting the
"Classname must not be null" message.  I need to add the arg
-Djdo.tck.cfglist=detach.list as well, but it should still run as is...
Any ideas anyone?

-----Original Message-----
From: Craig Russell [mailto:Craig.Russell@Sun.COM] 
Sent: Thursday, September 22, 2005 9:26 AM
To: jdo-dev@db.apache.org
Subject: Re: Run single TCK test?

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 or
something while it runs.  I'd like to be able to build tck20, though,
without running the installSchema target.  

I think something got lost in translation. When you build tck20 for the
first time, the target directory is created. This directory contains the log
files, the database, class files, and enhanced classes. If you then
runtck.jdori, it will use everything that's already built and won't do
anything except repackage the enhanced classes. Specifically, it won't run

If you want to do a clean build without installing schema, you can rm
target/classes, target/enhanced and then runtck.jdori. That will rebuild the
classes from source, enhance, and run the tests.


Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:Craig.Russell@sun.com

P.S. A good JDO? O, Gasp!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message