Comments (4)
I am not sure how this happens, can you give a bit more of the error message?
It sounds like a deeper problem to me.
from eclipse.
As requested, the whole error message:
*** Running /Users/till/homebrew/brew/bin/bazel build --watchfs --override_repository=local_eclipse_aspect=/Users/till/Applications/Eclipse4.8I20180327-2000.app/Contents/Eclipse/../../../../opensource/bazelbuild/eclipse/resources --aspects=@local_eclipse_aspect//:e4b_aspect.bzl%e4b_aspect -k --output_groups=ide-info-text,ide-resolve,-_,-defaults --experimental_show_artifacts //src/test/java/... //src/main/java/... from /Users/till/opensource/bazelbuild/bazel ***
Loading:
Loading: 0 packages loaded
ERROR: /Users/till/opensource/bazelbuild/bazel/src/test/java/com/google/devtools/build/android/desugar/BUILD:743:1: in @local_eclipse_aspect//:e4b_aspect.bzl%e4b_aspect aspect on java_library rule //src/test/java/com/google/devtools/build/android/desugar:testdata_java8_like_in_android_studio:
Traceback (most recent call last):
File "/Users/till/opensource/bazelbuild/bazel/src/test/java/com/google/devtools/build/android/desugar/BUILD", line 743
@local_eclipse_aspect//:e4b_aspect.bzl%e4b_aspect(...)
File "/private/var/tmp/_bazel_till/1bf5324772cb2353440eae7781088d92/external/local_eclipse_aspect/e4b_aspect.bzl", line 96, in _aspect_impl
dep.intellij_info_files
object of type 'Target' has no field 'intellij_info_files'
ERROR: /Users/till/opensource/bazelbuild/bazel/src/test/java/com/google/devtools/build/android/desugar/BUILD:732:1: in @local_eclipse_aspect//:e4b_aspect.bzl%e4b_aspect aspect on java_library rule //src/test/java/com/google/devtools/build/android/desugar:testdata_like_in_android_studio:
Traceback (most recent call last):
File "/Users/till/opensource/bazelbuild/bazel/src/test/java/com/google/devtools/build/android/desugar/BUILD", line 732
@local_eclipse_aspect//:e4b_aspect.bzl%e4b_aspect(...)
File "/private/var/tmp/_bazel_till/1bf5324772cb2353440eae7781088d92/external/local_eclipse_aspect/e4b_aspect.bzl", line 96, in _aspect_impl
dep.intellij_info_files
object of type 'Target' has no field 'intellij_info_files'
Analyzing: 563 targets (0 packages loaded)
INFO: Analysed 563 targets (2 packages loaded).
INFO: Found 563 targets...
[0 / 1] [-----] BazelWorkspaceStatusAction stable-status.txt
Build artifacts:
ERROR: command succeeded, but not all targets were analyzed
INFO: Elapsed time: 2.417s, Critical Path: 0.03s
FAILED: Build did NOT complete successfully
from eclipse.
I added some logging to find out which targets don't have the intellij_info_files attribute:
DEBUG: /private/var/tmp/_bazel_till/1bf5324772cb2353440eae7781088d92/external/local_eclipse_aspect/e4b_aspect.bzl:100:12: NO intellij_info_files on: <output file target //src/test/java/com/google/devtools/build/android/desugar:libseparate.jar>
DEBUG: /private/var/tmp/_bazel_till/1bf5324772cb2353440eae7781088d92/external/local_eclipse_aspect/e4b_aspect.bzl:100:12: NO intellij_info_files on: <output file target //src/test/java/com/google/devtools/build/android/desugar:libseparate.jar>
DEBUG: /private/var/tmp/_bazel_till/1bf5324772cb2353440eae7781088d92/external/local_eclipse_aspect/e4b_aspect.bzl:100:12: NO intellij_info_files on: <output file target //src/test/java/com/google/devtools/build/android/desugar:libseparate_java8.jar>
from eclipse.
Ah ok make sense, the deps point to a .jar output artifact. The PR is ok to work around but it would be better to have a proper fix in the long time.
from eclipse.
Related Issues (20)
- did not find "Import Project..." > "Others". HOT 1
- No way to add optional arguments to build command HOT 2
- Problems loading bazel itself from eclipse HOT 4
- Path to external maven jar are incorrect HOT 1
- End to end tests
- Skylark editor
- Launch command to run java_binary and java_test from Eclipse including debug mode HOT 2
- BUILD file editor
- Have the ability to read Intellij With Bazel project view file
- Improve documentation by having a proper website
- Add more tests HOT 2
- Improve installation and set-up of the plugin HOT 5
- Improve the support of building eclipse plugin for Bazel
- Change repo name to be bazelbuild/eclipse HOT 11
- Eclipse for bazel, how to run project? HOT 1
- Plugin doesn't work against recent Bazel version HOT 7
- New release? HOT 3
- Please move from native to Starlark rules for external git/http repositories HOT 1
- updatesite has an error
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 eclipse.