Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with settings in sub-project #19

Open
tiagoj opened this issue Oct 19, 2014 · 1 comment
Open

Trouble with settings in sub-project #19

tiagoj opened this issue Oct 19, 2014 · 1 comment

Comments

@tiagoj
Copy link

tiagoj commented Oct 19, 2014

When I add JFX.(whatever) settings in my build.sbt sub-project definition it doesn't have any effect.

Here is my sub-project def:

lazy val fxBQuote =
project.in( file("sub_fxBQuote") )
.settings(jfxSettings: __)
.settings(mySettings: __)
.settings(
version := "0.0.3-alpha",
JFX.mainClass := Some("com.kybios.fx.bQuote.gui.Main"),
JFX.addJfxrtToClasspath := true,
libraryDependencies ++= Seq(
scalatest,
jUnit,
simpleJson
)
)
.dependsOn(product)

After a reload, the version and library deps get picked up as expected, but not the JFX settings.

show javafxAddJfxrtToClasspath
[info] false
show javafxMainClass
[info] None

I have tried the definition with both a build.sbt and a build.scala project definition with the same result.

I am no SBT pro, so I may be missing something obvious, I would appreciate any pointers.

@kavedaa
Copy link
Owner

kavedaa commented Dec 30, 2014

Unfortunately I don't know why, but I'm also not sure if it makes sense to use the plugin on a sub-project. Could you describe your use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants