-
Notifications
You must be signed in to change notification settings - Fork 0
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
Hydra support for Scala IDE #1
base: master
Are you sure you want to change the base?
Conversation
else | ||
Paths.get(rootProjectDir, hydraStoreUserSetting).toString() | ||
|
||
val sourcepath = allSourceFiles.mkString(",") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source path should contain just the root directories for sources, but allSourceFiles
gives you all source files in the project. You can use sourceFolders
(for an example, the "presentation compiler" that the IDE is based on also uses -sourcepath
, and the setting is initialized inside def initializeCompilerSettings
).
@@ -0,0 +1,402 @@ | |||
package sbt.internal.inc.hydra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment saying where this file was copied from and the version or git hash (in case we need to update it later).
@@ -0,0 +1,137 @@ | |||
package sbt.internal.inc.hydra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment saying where this file was copied from and the version or git hash (in case we need to update it later).
@@ -0,0 +1,398 @@ | |||
package sbt.internal.inc.hydra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment saying where this file was copied from and the version or git hash (in case we need to update it later).
in.scalacOptions, in.javacOptions, o2jo(previousAnalysis), o2jo(previousSetup), lookup, sbtReporter, in.order, | ||
skip = false, in.progress, in.incOptions, extra = Array(), log)) | ||
|
||
if (!in.scalaInstallation.isHydraInstallation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to work for me. I tried setting the Project-level Scala installation, but it always returns "false" (not a Hydra installation). It seems that during serialization something happens, in the debugger the installation is an instance of LabelledScalaInstallationReplace
I keep getting this in the log:
I deleted the files under We need to make sure:
|
It doesn't work using your distro. This happens because the Hydra Bridge jar should be the hydra-bridge_1_0 and should also contain the group id into its name. Also the license-checking jar is missing from the distro. |
No description provided.