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

Autoplugin and subprojects #15

Open
DavidPerezIngeniero opened this issue Feb 3, 2015 · 3 comments
Open

Autoplugin and subprojects #15

DavidPerezIngeniero opened this issue Feb 3, 2015 · 3 comments

Comments

@DavidPerezIngeniero
Copy link

I have a root project and many subprojects.

When I do:

sbt root/izpack:create-xml

or

sbt izpack:create-xml

It tries to create target/izpack.xml from src/izpack/izpack.iml, but also it searches for subproject1/src/izpack/izpack.iml and subproject2/src/izpack/izpack.iml. As I only have one izpack.iml, it fails.

I think it's a bug that has to do with the new 0.13 support.

@DavidPerezIngeniero
Copy link
Author

The same can be said about izpack:createInstaller.

@DavidPerezIngeniero
Copy link
Author

My workaround:

val generateInst = taskKey[File]("Generate installer")
generateInst := {
    (createInstaller in IzPack).value
    (installerJar in IzPack).value
}

and I use my custom task, instead of the supplied ones with the plugin.

@DavidPerezIngeniero
Copy link
Author

This is the solution:

aggregate in IzPack := false

I think, that the default value should be false.

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

1 participant