[
https://issues.apache.org/jira/browse/GERONIMO-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478408
]
Ted Kirby commented on GERONIMO-1418:
-------------------------------------
Yes, yuck to long target name typing. I've suggested using environment
variables here:
http://cwiki.apache.org/GMOxDOC20/multiple-repositories-and-server-instances.html.
I'd like to see a short name I can type that uniquely identifies exactly one
config store. In the initial example, I see "name=Customer". So, Customer
seems the correct name for this config store.
I think regexp is better than contains. However, I prefer my short name
example above to matching, so I know for sure what I am getting.
Also, I don't see the rationale for deploying into more than one target. So,
if you want it/need it, then explicitly list the targets you want, but I
wouldn't do it automagically!
> allow user to specify deployment targets by "nickname"
> ------------------------------------------------------
>
> Key: GERONIMO-1418
> URL: https://issues.apache.org/jira/browse/GERONIMO-1418
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 1.2
> Environment: fedora core 4
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Reporter: toby cabot
> Priority: Minor
> Fix For: 1.2, 2.0-beta1
>
> Attachments: geronimo-target-nickname-1_2.txt,
> geronimo-target-nickname.txt
>
>
> This is a follow-on to the patch I submitted that allows Geronimo to have 2
> configuration stores. Now that I can specify the config-store on the command
> line with the --targets switch I'm getting sick of typing the full target
> name (e.g.
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-system/1.0/car,J2EEServer=geronimo,j2eeType=ConfigurationStore,name=Customer).
> This patch allows the user to specify any part of the target name (e.g.
> Customer) instead of the whole target name. It's pretty crude, so if there's
> a more elegant way to do something like this I'm all ears.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.