Skip to content

Better way to determine project layout in ERFoundation #1030

@hugithordarson

Description

@hugithordarson

ERFoundation currently checks the Eclipse .project file to see if it contains a maven nature and then determines from that if the project's layout is "maven style" or "Fluffy Bunny" (NSMavenProjectBundle or NSFluffyBunnyProjectBundle).

Problem is, not all maven projects are "maven style", some use Fluffy Bunny project layout with maven. A better approach might thus be to check for the location of the "Properties" file in the bundle instead. It's generally present in projects, so if it's under /Resources/Properties it should be a good indicator that the project layout is actually Fluffy Bunny.

Oh, and a second benefit of all this is that we lose the dependency on the Eclipse .project file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions