Comments (6)
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.
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.
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.
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.
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.
Did you every figure out what the problem was?
from sbt-eclipse.
Related Issues (20)
- Doesn't see managedSources unless explicitly invoked
- feature request: need a way to specify an alternative default build files directory HOT 15
- Support for multi-project build HOT 1
- relocate from typesafehub org to Lightbend org HOT 4
- documentation infinite loop HOT 1
- Feature: consistent project names
- sbteclipse
- sbteclipse installation i do not understand HOT 1
- sbteclipse plugin doesn't download. HOT 1
- sbteclipse 5.2.5? HOT 1
- [error] a required artifact is not listed by module descriptor: *#*!*.* HOT 2
- Feature Request: allow for custom `createLinkName` function
- Missing entry's in ".classpath" since Java-Secure-Update HOT 3
- Support for Java 9 and above? HOT 3
- Scala Compiler Cannot Apply Installation for Project Settings
- Add support for Java Execution Environments 9, 10, 11, 12, 13 HOT 1
- Missing Scala lib in .classpath HOT 2
- Error using sbteclipse with SBT 1.4.0 HOT 12
- Travis CI is dropped HOT 1
- Getting unresolved dependency for sbteclipse-plugin in sbt 1.2.8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-eclipse.