Comments (11)
I think that bloop -- compile -p root
should work as a workaround.
from bloop.
That was quick! Thank you, helped.
from bloop.
Yes please! There are some issues with messages being lost between the server and the client, that could also be the cause. In that case, restarting the server usually helps.
You can also add --verbose
to test to have bloop show the tests that it discovered.
from bloop.
What was the way we decided to solve this issue? Forwarding CLI arguments from the nailgun server to the underlying app?
from bloop.
I think I fixed this with alias bloop = ng bloop.Cli
@jvican
from bloop.
I have the same alias and this problem still occurs in my machine. I'll fix this in a follow-up PR.
from bloop.
I have
alias bloop="~/.bloop/bloop-ng.py bloop.Cli --"
And commands such as
bloop run -p blabla --args arg0 --args arg1
work fine.
from bloop.
alias bloop="~/.bloop/bloop-ng.py bloop.Cli --"
The --
at the end does the trick. However, I wonder if we can fix this in a more fundamental way. I'd like to avoid the need of --
altogether.
from bloop.
python2 nailgun/pynailgun/ng.py compile -p frontend
should work out of the box with #175. This is more intuitive because what the user can easily assume that the bloop CLI is the equivalent of running the python script python2 nailgun/pynailgun/ng.py
, without any nailgun-specific implementation detail.
from bloop.
Note that, from now on, in case you want to modify one of the nailgun flags (port, server, filearg, show version), you will indeed need to use --
like python2 nailgun/pynailgun/ng.py --nailgun-port=1717 -- compile -p frontend
(and this, knowing how CLI parsers work, is intuitive).
But the cool thing with #175 is that it won't require you to add --
for the simplest and most likely use cases.
from bloop.
This is already fixed, thanks to all who chimed in. 🎉
from bloop.
Related Issues (20)
- Scala/Java mixed projects fail to compile using processorpath bloop + metals HOT 7
- Migrate away from monix to cats-effect HOT 4
- `bloop exit` is undocumented in CLI help and completions HOT 1
- Java modules are not handled properly HOT 2
- I met these error message in 1.5.6 and 1.5.8 HOT 1
- Bloop server has different behavior with sbt in macro HOT 1
- Incremental compile is broken in 1.5.10 HOT 3
- Bloop home directory on Linux HOT 2
- Submit to winget HOT 1
- bug: deduplicate for cancelled compilations
- Support JDK 19 HOT 2
- sbt-bloop (0.5.12) suddenly started compiling when running sbt bloopInstall HOT 6
- Cannot discover test frameworks
- `java.lang.ArrayIndexOutOfBoundsException` while compilation HOT 4
- Include provided dependency in runtime classpath
- Issues with semanticdb if workspace contains whitespace
- Invalid "sources" list generated for project with '-test' suffix.
- installation on mac fails HOT 5
- Bloop can't compile Dotty HOT 4
- multiple errors like "bad path element "... ": no such file or directory when building Apache Kafka HOT 4
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 bloop.