xcomponent / xc-cli

XComponent Command Line Interface

Home Page:https://xcomponent.github.io/xcomponent-dev-center/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a command to rename projects

fredericcarre opened this issue · comments

Renaming a project means:

  • renaming file "project_Model.xcml"
  • editing file "project_Model.xcml" and updating LinkingSchema/@name attribute by the the project name
  • renaming folder "Configuration.projectWorker"
  • renaming each file "*_Deployment_Configuration.xml" under Configuration.projectWorker folder

Example:
We want to rename a project called dummyProject by strongProject:

  • rename dummyProject_Model.xcml with strongProject_Model.xcml
  • edit strongProject_Model.xcml and set LinkingSchema/@name to strongProject
  • rename folder Configuration.dummyProject with Configuration.strongProject
  • rename each file "dummyProject_Deployment_Configuration.xml" by "strongProject_Deployment_Configuration.xml"