2
votes

I created a new project using Typesafe Activator. In the command prompt I execute the command activator dependencies. This results in:

E:\sample_app>activator dependencies
[info] Loading project definition from E:\sample_app\project
[info] Updating {file:/E:/sample_app/project/}sample_app-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to sample_app (in build file:/E:/sample_app/)
[error] Not a valid command: dependencies
[error] Not a valid project ID: dependencies
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: dependencies (similar: all-dependencies, rpm-dependencies, allDependencies)
[error] dependencies
[error]             ^      

Versions used:

  • Java version is 1.8.0_51,
  • Activator is 1.3.6,
  • OS is windows 8,
  • 64 - bit OS.
1
Please reformulate your question, as it is not understandable. Also provide examples, so that one can reproduce your error! - Martin Senne
Now you understood ( Martin Senne) this kind of error please give me a one good solution. - udayakumar

1 Answers

2
votes

Analysis

First, dependencies is not valid sbt commands. (All sbt commands can be used also in activator.)

Solution

Either you mean libraryDependencies (which is an sbt setting) so call

activator libraryDependencies

Or you want to see the classpath of the dependencies ( a sbt task, so you need to use show to see the output of the sbt task), e.g.

activator "show dependencyClasspath"

Edit as of 2015-09-30,3:50am

If calling from console, the combined command must be put into quotes. Here: "show dependencyClasspath"