Git Product home page Git Product logo

Comments (6)

hseeberger avatar hseeberger commented on September 21, 2024

Looks like you did not install the plugin. Did you create a global plugin project (build.sbt file) in the directory ~/.sbt/plugins where ~ is your home directory (not sure where that is on Win)? If so, did you restart the sbt session of your project where you want to use the eclipse command?

from sbt-eclipse.

heapifyman avatar heapifyman commented on September 21, 2024

I have a folder C:\Users.sbt\plugins with a build.sbt file, which contains the code snippet mentioned on the readme page.

Then I followed these instructions (in a different directory though):
tmp$ mkdir test
tmp$ cd test
test$ sbt

eclipse create-src skip-root

Quitting and restarting the sbt session between the last two steps did not make any difference

from sbt-eclipse.

hseeberger avatar hseeberger commented on September 21, 2024

I don't think that C:\Users is your home directory. Open a REPL or enter console in a sbt session, then execute System.getProperty("user.home"). Under Mac OSX this yields:

tmp$ scala
Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).
Type in expressions to have them evaluated.
Type :help for more information.

scala> System.getProperty("user.home")
res0: java.lang.String = /Users/hseeberger

This is not an issue and is even not related to sbteclipse in particular. Please continue, if necessary, on the sbt mailing list.

from sbt-eclipse.

heapifyman avatar heapifyman commented on September 21, 2024

I beg to differ:

C:>scala
Welcome to Scala version 2.9.0.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26).
Type in expressions to have them evaluated.
Type :help for more information.

scala> System.getProperty("user.home")
res0: java.lang.String = C:\Users\reimer

from sbt-eclipse.

hseeberger avatar hseeberger commented on September 21, 2024

So you have a folder C:\Users\reimer.sbt\plugins and in that you have a build.sbt?
If so, it is still an sbt issue that this is not picked up, because that would then happen to any plugin, not only sbteclipse. Therefore please go for the sbt mailing list.

from sbt-eclipse.

lJoublanc avatar lJoublanc commented on September 21, 2024

Did you every figure out what the problem was?

from sbt-eclipse.

Related Issues (20)

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.