Skip to content

disable JvmPlugin in root project #41

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

Merged
merged 1 commit into from
Jun 18, 2018
Merged

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Jun 15, 2018

No description provided.

@julienrf
Copy link
Contributor

What’s the JvmPlugin, actually? Why is it useful to disable it?

@xuwei-k
Copy link
Contributor Author

xuwei-k commented Jun 16, 2018

sbt test:compile does not work because test:sourceDirecotry of the root project is src/test

> show test:sourceDirectory
[info] scala-collection-compatJS/test:sourceDirectory
[info] 	/temp/scala-collection-compat/.js/src/test
[info] scala-collection-compat/test:sourceDirectory
[info] 	/temp/scala-collection-compat/.jvm/src/test
[info] default-f45fde/test:sourceDirectory
[info] 	/temp/scala-collection-compat/src/test
[error] /temp/scala-collection-compat/src/test/scala/test/scala/collection/ArraySeqTest.scala:3: object junit is not a member of package org
[error] import org.junit.{Assert, Test}
[error]            ^
[error] /temp/scala-collection-compat/src/test/scala/test/scala/collection/ArraySeqTest.scala:5: object compat is not a member of package collection
[error] import scala.collection.compat.immutable.ArraySeq
[error]                         ^
[error] /temp/scala-collection-compat/src/test/scala/test/scala/collection/ArraySeqTest.scala:9: not found: type Test
[error]   @Test
[error]    ^
[error] /temp/scala-collection-compat/src/test/scala/test/scala/collection/ArraySeqTest.scala:12: not found: type ArraySeq
[error]     implicit def array2ArraySeq[T](array: Array[T]): ArraySeq[T] =
[error]                                                      ^

@julienrf julienrf merged commit 6dd4505 into scala:master Jun 18, 2018
@xuwei-k xuwei-k deleted the disable-root branch June 18, 2018 07:37
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

Successfully merging this pull request may close these issues.

2 participants