The flowable-modeler application has 2 ways of exporting an app.
As deployable bar file
Clicking this creates a bar file which is the same resource that is used when doing a publish.
App definition as zip file
Clicking this creates a zip file which can be used to perform an import of an app within the flowable modeler
So it looks like when the Modeler app publishes an app it does something different from when it exports an app (looks like the file extensions are
.form
when doing a publish, but.json
when doing an export, I think). Is this a bug, or is this behaviour by design?
Your analysis is correct and this is by design.
Hope this clears the confusion. We should probably add this to our documentation as well.
Cheers,
Filip