mirah / dubious

A Web Framework Written in Mirah for running on AppEngine
Apache License 2.0
121 stars 13 forks source link

Nowhere to put non MVC classes #7

Open hakunin opened 13 years ago

hakunin commented 13 years ago

AFAIK there is no place to put non MVC classes (so that they get compiled into application).

I would imagine I could create some directories under the "app" folder and files would be included in my application.

baroquebobcat commented 13 years ago

Currently any mirah or java files in lib are compiled to WEB-INF/classes. You could put your files there.

baroquebobcat commented 13 years ago

I think my earlier comment resolves this.

hakunin commented 13 years ago

I think the dependencies inside a project are still hard wired, so you need to modify Rakefile to get anything else than app/[MVC] to compile and work with your app's MVC files.

baroquebobcat commented 13 years ago

point. I really need to go through compilation again. Reopened.

hakunin commented 13 years ago

Try my automatic dependency resolution https://gist.github.com/799946 if you hook it up to mirah parser it will be pretty solid. Note that I don't use views, it might not work perfectly for those.