IntelliJ 2019.1 not building files

Answered

I'm using IntelliJ ultimate 191.6183.87 on a Linux machine. Projects that worked fine with the 2018 versions now fail to build. The build/out directories are not created and classes are not compiled, which means I get "class not found" exceptions for any class that worked fine before. The projects build the first time after creation, but fail to build if I close the IDE and reopen it.

Furthermore, when they DO build, they only open up the "Run" window, without the Console that used to be present (not the terminal!). The run window contains the following:

19:05:16: Executing task 'Processor.main()'...

> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :Processor.main()

// truncated data from the output

// contents of the last line (if it's short)

BUILD SUCCESSFUL in 0s
2 actionable tasks: 2 executed
19:05:17: Task execution finished 'Processor.

 

Worth noting is that I have made absolutely no changes to the project, I've just updated the IDE. 

0
5 comments

It looks like you are delegating build action to Gradle. Is that what you need? See http://mrhaki.blogspot.com/2016/11/gradle-goodness-delegate-build-and-run.html. Does it help if you disable this option?

Note that IntelliJ IDEA and Gradle do not share the same output directories: https://stackoverflow.com/a/46035904/104891.

1
Avatar
Permanently deleted user

You were right, unchecking that solved the problem with building, however the output is still truncated for me, is there any other setting I need to change to prevent that?

0

What do you mean by truncated? Any errors in idea.log/build.log: https://intellij-support.jetbrains.com/hc/articles/207241085? Can you share a project to reproduce the issue?

0
Avatar
Permanently deleted user

By truncated I mean that only the last ~1MB of texts gets printed to the console, so really, anything outputting that amount of data will become cut off at the start

0

Please sign in to leave a comment.