Giter Site home page Giter Site logo

Comments (4)

MateuszKubuszok avatar MateuszKubuszok commented on September 23, 2024

Thanks for the report!

I managed to reproduce the issue in Docker on Debian to make sure I have a clean situation with no artifacts, cache etc.

This error you get when macro cannot find derive.semi.conf. I added a branch which you can use to confirm if this is the same error you have.

It appears that inside modules/catnip/.jvm/target/scala-2.12/classes resource derive.semi.conf is not copied from modules/catnip/.jvm/resources. Why is it not copied? Because there is not such folder.

Thing is, sbt-cross-project doesn't allow you to share resources, only source code. I worked around it using symlinks- newer versions of git respect then and will recreate them on checkout. This is probably why it work on my computer (Arch Linux, git 2.19.0) but fails in repo environment (Debian, git 2.11.0). I wasn't aware how new this feature is, so I need to rethink my workaround...

Could you help mi figure if that is the issue you see? Basically check if modules/.jvm and modules/.js are missing resources directory and that once you add symlink it compiles again.

from catnip.

oleg-py avatar oleg-py commented on September 23, 2024

@MateuszKubuszok yeah, the resources is missing. After switching branches I have a symlink pointing to

/home/dev/Workspaces/scalaland.io/catnip/modules/catnip/src/main/resources

So it's not working (on Windows :). I'll see if I can make it work on my machine, thanks.

from catnip.

MateuszKubuszok avatar MateuszKubuszok commented on September 23, 2024

@oleg-py, thanks! Ah, Windows :)

If I won't be able to figure anything better I will replace symlinks with copies. Though I would really prefer that sbt-cross-project supported resource sharing.

from catnip.

MateuszKubuszok avatar MateuszKubuszok commented on September 23, 2024

@oleg-py can you take a look if #8 fixes the problem for you?

from catnip.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.