Hi Karan,

Just guessing here. The "[ ]" could be delimiters for an array or collection. "Configurations" are a collection of file names and it might just be that the reason the first time works is that a collection with only one element is treated by maven as an element, but a collection of collections isn't automatically unwrapped. Anyway, I'd look at the maven representation of the configurations and see how the collection of configurations is wrapped and unwrapped.

Craig

On Sep 16, 2005, at 4:00 PM, Karan Malhi wrote:

I start maven console using the following command:

karan@j2ee:~/Projects/jdo/trunk/tck20$ maven -bo -
Djdo.tck.cfglist=inheritance1.conf -
Djdo.tck.identitytypes=applicationidentity console
-----------------------------------------------------------------------------------------------------------------------
This starts the maven console. Then i run the runtck.jdori goal. Below is 
the partial output:

jdo2-tck 2.0-SNAPSHOT > [default]
runtck.jdori
build:start:

console:
console:help:

setProps:
[echo] setProps:
[echo] Configurations for this run are "inheritance1.conf". To override 
this, use -Djdo.tck.cfglist=xxx on the maven command line.
[echo] Databases for this run are "derby". To override this, use -
Djdo.tck.dblist=xxx on the maven command line.
[echo] Identity types for this run are "applicationidentity". To override 
this, use -Djdo.tck.identitytypes=xxx on the maven command line.
-------------------------------------------------------------------------------------------------------------------------------
Then i run it again "notice the [ ] brackets arond the inheritance1.conf, 
derby and applicationidentity.conf in the [echo] of the setProps goal

jdo2-tck 2.0-SNAPSHOT > [runtck.jdori]
runtck.jdori


setProps:
[echo] setProps:
[echo] Configurations for this run are "[inheritance1.conf]". To override 
this, use -Djdo.tck.cfglist=xxx on the maven command line.
[echo] Databases for this run are "[derby]". To override this, use -
Djdo.tck.dblist=xxx on the maven command line.
[echo] Identity types for this run are "[applicationidentity]". To override 
this, use -Djdo.tck.identitytypes=xxx on the maven command line.
-----------------------------------------------------------------------------------------------------------------------------------
If i run it again, this time notice [[ ]] around inheritance1.conf, derby 
and applicationidentity.conf in the [echo] of the setProps goal.

jdo2-tck 2.0-SNAPSHOT > [runtck.jdori]
runtck.jdori


setProps:
[echo] setProps:
[echo] Configurations for this run are "[[inheritance1.conf]]". To override 
this, use -Djdo.tck.cfglist=xxx on the maven command line.
[echo] Databases for this run are "[[derby]]". To override this, use -
Djdo.tck.dblist=xxx on the maven command line.
[echo] Identity types for this run are "[[applicationidentity]]". To 
override this, use -Djdo.tck.identitytypes=xxx on the maven command line.


THE RESULT OF THE ABOVE IS THAT THE enhance.prepare goal fails with the 
following message:

enhance.prepare:
[mkdir] Created dir: 
/home/karan/Projects/jdo/trunk/tck20/target/enhanced/jdori/[[applicationidentity]]
org.apache.commons.jelly.JellyTagException: 
/home/karan/Projects/jdo/trunk/tck20/maven.xml:414:71: <copy> 
/home/karan/Projects/jdo/trunk/tck20/test/jdo/[[applicationidentity]] not 
found.

-- 
Karan Malhi


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!