Aliasing commands don't work as expected #201

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@harrah
Owner

harrah commented Jan 5, 2013

Given a parent project with a sub project, it should be possible to create an alias that emulates a command in the child project. For example:

alias jetty-run = ; project web ; jetty-run ; project root

This should allow 'jetty-run' to be executed in the root project just as if it were done in the 'web' project. Instead the following error is generated:

alias jetty-run = ; project web ; jetty-run ; project root
jetty-run
[error] Not a valid key: jetty-run (similar: jetty-port, jetty-context, run)
[error] Not a valid project ID: jetty-run (similar: root)
[error] Not a valid configuration: jetty-run
[error] Not a valid key: jetty-run (similar: run, fork)
[error] jetty-run
[error]

@harrah

This comment has been minimized.

Show comment Hide comment
@harrah

harrah Jan 5, 2013

Owner

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#201 for the full issue and to comment.

Owner

harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#201 for the full issue and to comment.

@harrah harrah closed this Jan 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment