[jira] Created: (JDO-149) maven console doesnt set properties properly
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Created: (JDO-149) maven console doesnt set properties properly




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Created: (JDO-149) maven console doesnt set properties properly  
karan singh malhi (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 10:45 PM

maven console doesnt set properties properly
--------------------------------------------

Key: JDO-149
URL: http://issues.apache.org/jira/browse/JDO-149
Project: JDO
Type: Improvement
Components: tck20
Reporter: karan singh malhi
Priority: Trivial


the setProps goal tokenizes properties into some sort of Collection. Maven c
onsole does not work very well if we set properties after the console has st
arted.

I start maven console using the following command:

karan@j2ee:~/Projects/jdo/trunk/tck20$ maven -bo -Djdo.tck.cfglist=inheritan
ce1.conf -Djdo.tck.identitytypes=applicationidentity console
----------------------------------------------------------------------------
-------------------------------------------
This starts the maven console. Then i run the runtck.jdori goal. Below is th
e 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.t
ck.dblist=xxx on the maven command line.
[echo] Identity types for this run are "applicationidentity". To overrid
e 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 ove
rride 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 o
verride 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 lin
e.


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

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


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register