[forge-issues] [JBoss JIRA] (FORGE-1813) Shall we rename webroot to targetDir or something different ?

George Gastaldi (JIRA) issues at jboss.org
Fri Nov 7 22:42:29 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-1813.
----------------------------------
    Resolution: Deferred


This should be considered in the next major release

> Shall we rename webroot to targetDir or something different ?
> -------------------------------------------------------------
>
>                 Key: FORGE-1813
>                 URL: https://issues.jboss.org/browse/FORGE-1813
>             Project: Forge
>          Issue Type: Task
>          Components: Brainstorming
>    Affects Versions: 2.5.0.Final
>            Reporter: Antonio Goncalves
>             Fix For: 2.x Future
>
>
> In [FORGE-1787] the parameter {{webroot}} seems confusing. Maybe we could change it to targetDir like other command, or something different (as it refer to a subdirectory of web app.
> Read on #IRC
> {code}
> agoncal  And what about targetPackage ? What I really want is a --webroot (like the scaffold command) no ?
> lincolnthree  agoncal: targetDir ?
> agoncal  lincolnthree Hum... it's called --webroot on other places (which is the relative webapp/ directory)
> lincolnthree  agoncal: but it's not the webroot dir in this case
> lincolnthree  agoncal: it's the target directory where the file will be generated
> gastaldi  +1 to targetDir
> lincolnthree  agoncal: doesn't have to be in the web root, but could default there
> lincolnthree  or even just target
> agoncal  lincolnthree But by default it's under /webapp if you don't specify it. If you do (eg. --webroot admin) then the file is generated under /webapp/admin
> agoncal  I'm refering to webroot because it looks the same as FORGE-1787
> lincolnthree  agoncal: totally different
> agoncal  lincolnthree ok
> lincolnthree  agoncal: well.. maybe not totally :p
> lincolnthree  agoncal: webroot is a bad name for that
> agoncal  lincolnthree I'll go for for targetDir
> agoncal  lincolnthree Do you want me to create a JIRA about renaming webroot to targetDir ?
> lincolnthree  agoncal: why not skip targetDir entirely and just go for —output
> lincolnthree  agoncal: yeah we may want to address this
> lincolnthree  output would be target dir and filename together
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the forge-issues mailing list