Bug 1038221 - jcr2vfs: package names in camel-case are incorrectly migrated
Summary: jcr2vfs: package names in camel-case are incorrectly migrated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ER6
: 6.0.0
Assignee: Neus Miras
QA Contact: Petr Široký
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 16:27 UTC by Petr Široký
Modified: 2014-08-06 20:19 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:19:46 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.