Giter Site home page Giter Site logo

Comments (4)

damienmg avatar damienmg commented on May 31, 2024

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.

brychcy avatar brychcy commented on May 31, 2024

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.

brychcy avatar brychcy commented on May 31, 2024

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.

damienmg avatar damienmg commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.