Eclipse v4.7.1a: ant build broken: Run configuration <link.file> links nonexistent project <container project>

It seems that after eclipse v4.7.1a(new installation), any build is antnot possible. Each time it crashes with the following message:

Launch configuration <name of build file> references non-existing project <name of the containing project>

We tested it with many different configurations (eclipse-jee, eclipse-rcp ...), each time with the new eclipse v4.7.1ainstall.
After further investigation, this happens only if the file build.xmlis not under a project of the "java" type, which is the case for all our workspaces (30 + ...).
Everything was fine with. v4.7.0
In the file .logwe can see:

java.net.SocketException: Socket operation on nonsocket: configureBlocking
  at java.net.DualStackPlainSocketImpl.configureBlocking(Native Method)
  at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
  at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
  at java.net.PlainSocketImpl.accept(Unknown Source)
  at java.net.ServerSocket.implAccept(Unknown Source)
  at java.net.ServerSocket.accept(Unknown Source)
  at org.eclipse.ant.internal.launching.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:89)

!ENTRY org.eclipse.jdt.launching 4 107 2017-10-22 21:19:26.676
!MESSAGE Launch configuration org.titou10.jtb.build build.xml references non-existing project org.titou10.jtb.build.

[UPDATE]
build.xml Java-. Everyhting , build.xml EAR ( ), ...
, :

  • build.xml
  • Run As → Ant Build... → "JRE",
  • "Run in the same JRE as the workspace"...

...

...

+6
1

, , Eclipse:

Eclipse 522581 - ant

Oxygen.0 (4.7.0), , ant. Oxygen.2 (4.7.2), 20 2017 ..

, JRE, , .

+4

All Articles