shannah / CN1ML

Project to generate Codename One UI Component classes from HTML-ish inputs
0 stars 0 forks source link

MVC-like separation of files #1

Closed sdwolfz closed 6 years ago

sdwolfz commented 10 years ago

Just an idea but what do you think abot putting the .cn1ml files in a different package than the generated java files, like how a cn1 visual project does with the StateMachine and StateMachineBase classes. This way the project has a better defined structure. Of course it does not need to be called MVC, but in this case the V may stand for the .cn1ml files, the C for the generated java files and the M for the programmer defined classes.

shannah commented 10 years ago

I suppose I could make this configurable. Keeping them is the same directory just seems like the easiest and cleanest solution because it doesn't require to to use any configuration to specify the output location.

Perhaps I'll add an attribute you can add to the HTML body tag to specify an alternative output path location. Module/issues