-
Notifications
You must be signed in to change notification settings - Fork 167
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
eclipse project file generator #319
Comments
I gathered all the data I could, see below. Any help is greatly appreciated. It names the .project using the variable name given in build.sbt, but it doesn't use the correct path, which is also given. I'll walk through an example. The path to the project: The .project name: The build.sbt line: How it's used in dependencies: The .classpath in dependencies looks as follows: But here it should use the file path and not the project name, which is different. |
Just reposting this a bit cleaner. I'm not deleting the other one however. Gathered a bit more information. Seems like SBT is using the variable name from build.sbt rather than the file path. A complete example follows. The subproject home/common-play is defined as follows in build.sbt: ` Note: the value name is common_play, but file path is common-play. It is subsequently defined as dependency as follows: lazy val data_manager = project.in(file("data-manager")) In the generated project file the name matches the variable name: In a dependency .classpath file, under a src refereence the path is listed by the build.sbt variable name: |
Hey,
I was having problems generating my eclipse project files for an existing project. I entered into sbt and typed eclipse as follows:
$ sbt
[info] Loading global plugins from C:\Users\jpercent.sbt\0.13\plugins
[info] Loading project definition from C:\Users\jpercent\code\mosaiq-platform\project
[info] Set current project to mosaiq-platform (in build file:/C:/Users/jpercent/code/mosaiq-platform/)
It replaced sub projects names that include a dash '-' with an underscore '_' in the .classpath files, and the project could not build in eclipse. Is there a work around for this? I don't want to have to edit the sub projects every time.
I'm running SBT Eclipse version /.sbt/0.13/p
The text was updated successfully, but these errors were encountered: