Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19854

How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

$
0
0

@Lance:

  1. Not really our choice. This is not our enhancer (it is Hibernate) and the alternatives (runtime bytecode enhancement, use of reflection and/or forcing non-private visibility and having runtime wrappers with subpar functionality) are not an option for various reasons including runtime performance and interaction with unit tests.
  2. External tool, operates on bytecode, not source. Even if it were the source code this would cause line numbers to not match in debugging and would cause hell that way.
  3. That only adds complexity, moves the problem to another project, if we declare it a non-Java project it hides the dependency from Eclipse (for debugging purposes) and adds non-Eclipse complexity to Gradle as well.

Viewing all articles
Browse latest Browse all 19854

Trending Articles