Skip to content

mogenerator --configuration does nothing now #394

@mulle-nat

Description

@mulle-nat

Question

I came back to an old project, which uses mogenerator with the --configuration option to create different kinds of classes. This isn't working anymore though nothing has changed, except for a newer mogenerator version installed by brew. When I remove the --configuration <name> from the call (see below), classes are created. The configuration in the model file still exist (here is a small example from the much larger file):

    ...
    <entity name="XEKEvent" representedClassName="XEKEvent" syncable="YES">
        <attribute name="ekIdentifier" optional="YES" attributeType="String" indexed="YES" syncable="YES"/>
        <attribute name="ekModificationDate" optional="YES" attributeType="Date" indexed="YES" syncable="YES"/>
    </entity>
    ...
    <configuration name="XEK">
        <memberEntity name="XEKEvent"/>
    </configuration>
    ...

The question is, is this known ? Has something changed, so I need to do something more ?

Expected Behavior

Some stuff should be generated.

Actual Behavior

No stuff was generated.

Additional Information

mogenerator --configuration XEK -m ../XEKModel.xcdatamodeld -H . -M ./Generated\ Bases --template-path ../mogenerator\ Templates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions