Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Updating a new project (collecting resources)
Updating a new project (collecting resources) [message #1799410] Thu, 06 December 2018 10:49 Go to next message
Klaus Jantzen is currently offline Klaus JantzenFriend
Messages: 5
Registered: December 2018
Junior Member
Hello,
I installed Eclipse 4.9.0 for Java developers and created a new JavaFX procject.
After having defined the project (it appears in the projext explorer) Eclipse sits there for hours updating the new project (for whatever reason) at 19% completion.
Even after killing Eclipse and restarting the situation does not change.
At the moment I cannot do anything with Eclipse.
What should I do to get out of the problem?

Thanks.
K.D.J.
Re: Updating a new project (collecting resources) [message #1799435 is a reply to message #1799410] Thu, 06 December 2018 18:16 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Klaus Jantzen wrote on Thu, 06 December 2018 11:49
Hello,
I installed Eclipse 4.9.0 for Java developers and created a new JavaFX procject.
After having defined the project (it appears in the projext explorer) Eclipse sits there for hours updating the new project (for whatever reason) at 19% completion.


What is the exact message you see in the status bar or Progress view?

Quote:

Even after killing Eclipse and restarting the situation does not change.
At the moment I cannot do anything with Eclipse.
What should I do to get out of the problem?


Standard advice can be found in https://wiki.eclipse.org/How_to_report_a_deadlock (which is relevant not only for genuine deadlock, but for all kinds of "freeze", "hang" and "blocked" situations.
Re: Updating a new project (collecting resources) [message #1799441 is a reply to message #1799410] Thu, 06 December 2018 19:34 Go to previous messageGo to next message
Eitan Rosenberg is currently offline Eitan RosenbergFriend
Messages: 142
Registered: October 2018
Senior Member
Hello,

If I can add my two cents' worth of experience of playing with javaFX.

- I have windows 10 64 bit

- I installed openjdk-11.0.1_windows-x64_bin.zip (In actual unziping...)
- I made sure that my system path contain the bin folder of the JDK (in my case C:\Java\jdk_11\bin)
- I have environment variable JAVA_HOME point to C:\Java\jdk_11

- I installed eclipse-jee-2018-09-win32-x86_64.zip
- I installed Java 11 Support for Eclipse 2018-09 from http://download.eclipse.org/eclipse/updates/4.9-P-builds (See the market place link)

- I create Maven project and I add the javaFX dependencies:
For example:

<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11.0.1</version>
</dependency>

<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId>
<version>11.0.1</version>
</dependency>

Then I write the application in the normal manner.

Before I try to run the application I instruct eclipse to create module-info.java

Eclipse generate the module-info.java and the content for example:

module Initial.FX {

exports myProperties;
exports main;
exports myActions;

requires java.logging;
requires transitive javafx.base;
requires transitive javafx.controls;
requires javafx.graphics;
requires org.apache.commons.lang3;
requires org.home.myLogger;
}

The "transitive" I add manually to make the compiler happy...(else you might get a warning)

Now I am able to run the application using regular "run configuration" I can also export runnable jar.

To associate the jar extension with java I use http://johann.loefflmann.net/en/software/jarfix/index.html

Have fun.
Re: Updating a new project (collecting resources) [message #1799641 is a reply to message #1799435] Tue, 11 December 2018 19:38 Go to previous messageGo to next message
Klaus Jantzen is currently offline Klaus JantzenFriend
Messages: 5
Registered: December 2018
Junior Member
In the lower right hand corner of the Eclipse screen it says
"Updating project .. (19%)"
and next to the text there is a small progress bar that just goes back and forth without any effect.

In the progress view at the botton of the Eclipse screen there are progressbars of two processes:
"Updating Project ...."
"Building ...: Collecting resources"

and below:
"Building workspace (Waiting)"

I forgot to mention that I run Eclipse under Debian Stretch.

K.D.J.
Re: Updating a new project (collecting resources) [message #1799642 is a reply to message #1799441] Tue, 11 December 2018 19:44 Go to previous messageGo to next message
Klaus Jantzen is currently offline Klaus JantzenFriend
Messages: 5
Registered: December 2018
Junior Member
I forgot to mention that I run Eclipse 4.9. under Debian Stretch (AMD64).
Up to updating to Eclipse 4.9 I used Eclipse with the Java Development tool and the JAVA FX plugin and It worked fine. I do not think I want to get into Maven etc.

K.D.J.
Re: Updating a new project (collecting resources) [message #1799643 is a reply to message #1799641] Tue, 11 December 2018 20:02 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Klaus Jantzen wrote on Tue, 11 December 2018 20:38
In the lower right hand corner of the Eclipse screen it says
"Updating project .. (19%)"


Since we cannot look into your machine I can only give the standard advice just like above: https://wiki.eclipse.org/How_to_report_a_deadlock
Re: Updating a new project (collecting resources) [message #1801376 is a reply to message #1799643] Thu, 17 January 2019 21:25 Go to previous message
Klaus Jantzen is currently offline Klaus JantzenFriend
Messages: 5
Registered: December 2018
Junior Member
Thank you for your reply.
Please excuse my late reaction: I am currently working in "catastrophe modus".
As the project was the first and only project in that specific workspace I solved the problem by brute force: I deleted the workspace, created a new workspace and in that the new project -- and everything worked as expected.
Thanks again.

K.D.J.
Previous Topic:I don't get the new pricing system
Next Topic:Why .metadata is so huge?
Goto Forum:
  


Current Time: Fri Apr 26 04:07:49 GMT 2024

Powered by FUDForum. Page generated in 0.03893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top