Skip to content

Refactor java folder to follow Maven/Gradle convention #230

Open
@magreenblatt

Description

@magreenblatt

Original report by Paul Furbacher (Bitbucket: Paul Furbacher).


There's a widely adopted, standard way of setting up Java source and test directories/folders, first specified by Maven and continued in Gradle.

java-cef doesn't honor this convention, but it there's no reason it shouldn't.

The current folder structure:

java-cef/
    java/
        org/
        tests/

should be refactored to

java-cef
    src/
        main/
            java/
                org/...
        test/
            java/
                tests/...

In addition, the tests folder should be refactored to

java-cef/
    src/
        test/
            org/
                cef/
                    demos/
                        detailed/ 
                        simple/

Given the nature of the "tests" (they don't run in a test harness), I'd favor either "demos" or "examples".

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalProposed change or action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions