read-write-web / rww-play

read write web Play
59 stars 19 forks source link

Update build #173

Open tmciver opened 6 years ago

tmciver commented 6 years ago

Note: Do not merge yet! WIP

Convert project from using the old style project/Build.scala file to using build.sbt file.

I had a lot of trouble trying to get the project to build and when I elicited help from the Scala Slack channel, some folks recommended moving to build.sbt.

tmciver commented 6 years ago

@bblfish One of the problems I'm encountering when trying to do this work is an unresolved dependency on Play-TLS. It looks like it's here: https://bblfish.net/work/repo/ivy/releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.3.11-TLS/ but SBT is trying to look here: https://bblfish.net/work/repo/ivy/releases/com/typesafe/play/sbt-plugin_2.10_0.13/2.3.11-TLS (note the separate directories com/typesafe/play). I believe I've seen others with this problem but wanted to ping you about it in case you had some insight.

bblfish commented 6 years ago

I added some symbolic links and directories to get it to the right place. Does that help?

tmciver commented 6 years ago

@bblfish You mean that's what you've done in the past to make it work? Ideally, that wouldn't be needed.

I've gotten past the Play20 dependency problem, but now I'm getting an unresolved dependency on sbt-run-support_2.10;2.3.11-TLS. Is this something familiar to you? It seems strange because I don't see an explicit dependency declared for it and it seems to have the same pattern as the Play20 dependency.

bblfish commented 6 years ago

No, I did not do that in the past. I just thought it would be worth trying here, as a quick idea of a fix. Otherwise the simplest thing may be for you to compile the Play2.0-TLS in this repository. https://github.com/read-write-web/Play20 I put the play2.0 up on my server as it is a patched version of Play. I can do it again, but not right now. Something may have gone wrong when I changed servers.

tmciver commented 6 years ago

@bblfish I now believe one of the problems I'm running into is this dependency:

<dependency org="com.typesafe.play" name="routes-compiler_2.10" rev="2.3.11-TLS" conf="compile->default(compile)"/>

listed here. Where are these dependencies? I looked for repos on your GH account as well as read-write-web's. I could install these locally for testing if only I could find them.