[dna-issues] [JBoss JIRA] Updated: (DNA-580) Rebrand project to new name

Randall Hauch (JIRA) jira-events at lists.jboss.org
Wed Jan 13 22:19:06 EST 2010


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

Randall Hauch updated DNA-580:
------------------------------

    Attachment: rebrand-dna.sh


Attached is the script I used to do most of the work, and it does the following:
1) replaces in all files of various extensions (e.g., *.java, *.cnd, *.xml, etc.) various combinations of "JBoss DNA", "DNA", "org.jboss.dna", "org.jboss.examples.dna", "http://www.jboss.org/dna", "http://labs.jboss.org/dna", "org/jboss/dna", and such with the corresponding ModeShape construct.
2) renames various directories, including "org/jboss/dna" -> "org/modeshape", "org/jboss/example/dna" -> "org/modeshape/example", etc.
3) performs various changes to the POM files for artifactIds, groupIds, constants, variables values, etc.
4) handles a number of kinds of files is specific ways that were not addressed globally in #1
5) renames java class (e.g, "DnaConfiguration" -> "ModeShapeConfiguration", etc.) and references to them
6) updates the .gitignore file, which performs a similar function to the numerous svn:ignore properties
7) renames the various modules

The script is done in terms of a git repository (because it handles renames and moves more effectively than SVN, which really just does deletes followed by adds), but this can pretty easily be changed if needed.

As I developed the script, I was able to throw away local changes to revert back to the last version of DNA (but in the ModeShape SVN) and re-run the script.  Toward the end, there were a dozen-or-so minor changes and corrections that needed to be made throughout the code and test cases, so these were done by hand.  (Scripting them would have been too time consuming.)

So while this script doesn't do ALL of the rebranding, it does the majority of it and what it does is be repeatable (if that is every needed).

I will not upload a patch of the changes, because large number of directory renames would result in far too many + and - lines in the patch.  Therefore, I will just commit what I have.

Note, following this commit there are a number of open issues that need to be resolved before we release the rebranded.

> Rebrand project to new name
> ---------------------------
>
>                 Key: DNA-580
>                 URL: https://jira.jboss.org/jira/browse/DNA-580
>             Project: DNA
>          Issue Type: Task
>          Components: Analysis and Reporting, API, Common, Connectors, Development Environment, Documentation, Examples, Federation, Graph, JCR, Maven Classloader, Query, Search, Sequencers, Server, Testing, Tools, Views, Web Application
>    Affects Versions: 0.7
>            Reporter: Randall Hauch
>            Assignee: Randall Hauch
>            Priority: Blocker
>             Fix For: 1.0
>
>         Attachments: rebrand-dna.sh, refguide-rebranding.patch
>
>
> The project will be rebranded, so we need to change the package names and all references to "JBoss DNA" in the code and documentation.

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

        


More information about the dna-issues mailing list