Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Assembled archive doesn't include classes from projects specified in sbt Project.dependsOn() #1

Open
viktortnk opened this issue Apr 2, 2012 · 3 comments

Comments

@viktortnk
Copy link

I have a project with two submodules scpecified in Project.dependsOn() method in Build.scala and their compiled classes are not included in target archive during package-dist task. All jar dependencies are placed without problems.
Environment: sbt:0.11.2, sbt-package-dist:1.0.0

@viktortnk
Copy link
Author

Well, actually it can simply be done by setting exportJars:=true in project submodules. But without this setting dependecyClasspath points to submodules "classes" directories, that are not copied to root project distribution recursively (but empty). Should it really be fixed?

@robey
Copy link

robey commented Apr 10, 2012

so the problem is that, when copying over dependencies into the dist/ folder, the copy is not done recursively?

@viktortnk
Copy link
Author

All jar dependencies are ok. But target/scala-*/classes folders of submodules are not copied recursively . (dist//libs/classes is empty)

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

No branches or pull requests

2 participants