geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shiva Kumar H R (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMODEVTOOLS-283) Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id & context root
Date Thu, 11 Jun 2009 05:47:07 GMT

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718308#action_12718308
] 

Shiva Kumar H R commented on GERONIMODEVTOOLS-283:
--------------------------------------------------

Or how about the below option?

If module-id and context-root have the same values as project-name (i.e. the user has not
changed them from their default values or has intentionally kept all of them same) then provide
an user option (say a check box) during refactoring that allows the user to select "renaming
module-id and context-root to match the new project name".

> Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id & context
root
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-283
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283
>             Project: Geronimo-Devtools
>          Issue Type: Wish
>          Components: eclipse-plugin
>            Reporter: Shiva Kumar H R
>            Assignee: Shiva Kumar H R
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> When a Dynamic Web Project with name say "tt" is created, a Geronimo deployment plan
"geronimo-web.xml" will get created with module-id as "default/tt-1.0.car" and context-root
as "/tt". 
> When this project is re-factored to say "tz", the module-id will still be the same "default/tt-1.0.car"
(note that artifact id is not re-factored from "tt" to "tz"). The context-root also remains
the same "/tt". 
> Although this doesn't pose any problem, wouldn't it be better to refactor the artifact-id
& context-root to match the project name?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message