db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Re: Run single TCK test?
Date Thu, 22 Sep 2005 16:27:45 GMT
Hi Karan,

I'm missing some concepts with the maven console. Could you please  
give us a sample maven console run?

Thanks,

Craig

On 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. 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  
>>>> 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 .conf file and you invoke it with - 
>>> Djdo.tck.cfglist=<your conf> on the maven command line.  Take a  
>>> look at step 12. on http://wiki.apache.org/jdo/ 
>>> TechnologyCompatibilityKit#HowTo
>>>
>>>
>>>
>>
>> As I figured.  I've already got my detach.list & detach.conf files  
>> going.
>>
>>
>>
>>>>  Also, which target is the most appropriate to build tck20 plus  
>>>> its dependencies without executing the near-20-minute
>>>>
>>> installSchema target?
>>>
>>> Michael B. has just added some nice multiproject goals in jdo/ 
>>> trunk.  From there you can do maven tck20.build.  Unfortunately,  
>>> this does get you the lengthy installSchema goal as well.  So we  
>>> really don't have a single target that meets your requirements.   
>>> However, you're gonna need a schema installed for most anything  
>>> you do, aren't you?  So you just do it once.  Otherwise, you can  
>>> take a look at either trunk/README.txt or trunk/ 
>>> project.properties to find out the order of dependencies and  
>>> invoke maven in each of the subdirectories.  You need to build  
>>> api20, core20, enhancer20, then tck20.
>>>
>>>
>>>
>>
>> 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 multiproject:install- 
>> snapshot or
>> something like that?
>>
>>
>>
>>
>>> In case you haven't heard, you can do maven help in tck20 to get  
>>> some help text for goals and options.
>>>
>>>
>>>
>>
>> I saw that.  Those are convenient goals.
>>
>>
>>
>>> -- Michelle
>>>
>>>
>>>
>>>> --matthew
>>>> *Matthew T. Adams*
>>>> Corporate Technical Advisor & Senior Consultant
>>>> Mobile:  +1 253 732 1051
>>>> Phone:  +1 206 331 3833
>>>> Fax:  +1 815 331 0952
>>>> matthew.adams@xcalia.com <mailto:matthew.adams@xcalia.com>
>>>> P.O. Box 24163
>>>> Federal Way, WA  98093
>>>> www.xcalia.com <http://www.xcalia.com/>
>>>> Xcalia makes implementing SOA easy with agile business
>>>>
>>> intermediation
>>>
>>>> software that combines heterogeneous data with services to  
>>>> easily develop and deploy transactional composite applications.
>>>>
>>> Enterprises
>>>
>>>> can quickly respond to changing business requirements and
>>>>
>>> dramatically
>>>
>>>> reduce the costs of data access and service integration.
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
> -- 
> Karan Singh
>
>

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!


Mime
View raw message