Bug 1038221

Summary: jcr2vfs: package names in camel-case are incorrectly migrated
Product: [Retired] JBoss BRMS Platform 6 Reporter: Petr Široký <psiroky>
Component: Business CentralAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Široký <psiroky>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.0   
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Široký 2013-12-04 16:27:26 UTC
Description of problem:
Migrating JCR package name in camel-case (e.g. 'globalArea' or 'defaultPackage') results in multiple directories with different names, some of them in camel case (globalArea) and some of the in lowercase completely (globalarea). See the following directory structure.


defaultPackage
|-- pom.xml
|-- project.imports
`-- src
    |-- main
    |   |-- java
    |   |   `-- defaultpackage
    |   |       `-- defaultpackage
    |   `-- resources
    |       |-- defaultpackage
    |       |   `-- defaultpackage
    |       |-- defaultPackage
    |       |   `-- Some\ custom\ file.txt
    |       `-- META-INF
    |           `-- kmodule.xml
    `-- test
        |-- java
        |   `-- defaultpackage
        |       `-- defaultpackage
        `-- resources
            `-- defaultpackage
                `-- defaultpackage


Version-Release number of selected component (if applicable):
6.0.0-ER5 (also community 6.0.0-SNAPSHOT)

Expected results:
Either 'globalArea' or 'globalarea' should be used in all places. I am not sure which one is better is this case.

Comment 1 Neus Miras 2013-12-10 16:50:51 UTC
To be consistent with the current package name management, all the package name migrated are converted to lowercase before creation.

Commit:
6.0.x
https://github.com/droolsjbpm/drools-wb/commit/6a6abab9dedc23560036885eb79335816d279589

Comment 2 Petr Široký 2014-01-14 10:29:59 UTC
Verified fixed in 6.0.0-ER7.