You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only catch is that Activator expects the activator.properties file in the root of your SBT project, so when SBT runs, it'll fire up the default project, which for ping-play is the aggregate rootProject and not the sample apps. Is it possible to have two activator.properties files, one in each sample app, even though the build details are in the directory above?
The text was updated successfully, but these errors were encountered:
Maybe I don't understand completely the settings on build.sbt, but it's necessary that the sample projects be sub projects?
I understand, like it is now, the dependencies are always updated. But, I think it is no possible to generate activator template in this case.
I'm not very familiarized with creating task on sbt and all the possibilities, would be feasible to have a task to update dependencies on sample projects on compile or publish?
They are sub projects so that a) their dependencies are packaged separately so that including the ping-play jar in an app doesn't pull in a bunch of sample code and b) hot reload works across the sample apps and ping-play itself, so if I change some BigPipe code, I can just refresh the page in a sample app and see the update immediately.
I'm fairly confident the project is structured in a fairly idiomatic way for SBT. It's activator that (I think) makes the assumption that the root SBT project is the one you want. If i was possible to specify a custom sub-project for activator, or to put the .properties file in the subprojects themselves, we'd be in business.
The only catch is that Activator expects the
activator.properties
file in the root of your SBT project, so when SBT runs, it'll fire up the default project, which for ping-play is the aggregaterootProject
and not the sample apps. Is it possible to have twoactivator.properties
files, one in each sample app, even though the build details are in the directory above?The text was updated successfully, but these errors were encountered: