Skip to content
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

Compilation of files with symbolic links does not work #12

Open
niladic opened this issue Mar 7, 2015 · 1 comment
Open

Compilation of files with symbolic links does not work #12

niladic opened this issue Mar 7, 2015 · 1 comment

Comments

@niladic
Copy link

niladic commented Mar 7, 2015

Putting in the assets directory a symbolic link to a directory with .coffee files results in a java.lang.IllegalArgumentException: runOps function returned results for unknown ops.

The exception is thrown by sbt-web here because prunedOpsSet are the paths with the symbolic links and resultOpsSet are the canonical paths (no symbolic link). The canonical path seems to be resolved by sbt-js-engine here.

The assets task fails, but coffeescript compilation seems to work, the .js and .js.map files are created in the "right" place.

I am not sure from which plugin the issue comes from and what would be the correct way to fix it, but it would be great to be able to put symbolic links.

@Mataio
Copy link

Mataio commented Mar 16, 2016

To solve this problem just go to build.sbt and add on

libraryDependecies ++= Seq (
"org.webjars" % "coffee-script" % "1.6.3")

But after doing it you have to comment this line on plugins.sbt

addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")

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

No branches or pull requests

2 participants