Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Project does not rebuild (SOLVED)
icon14.gif  Project does not rebuild (SOLVED) [message #904320] Tue, 28 August 2012 04:29 Go to next message
Jan Masak is currently offline Jan Masak
Messages: 2
Registered: August 2012
Junior Member
Hello everyone,

I started reading Lars Vogel's Book "Eclipse 4 Application Development" this week and followed the tutorial in chapters 15-17.

When i run a project the first time via - "Product file" -> Testing -> Launch an Eclipse application - it is build and runs as it is supposed to. But then i change something e.g. a label of a part and run the application again nothing changed. It seems that the application was not rebuild.

I saved my changes to all files before i ran the application.

I'm using Eclipse for RCP and RAP developers (Juno).

It is installed on a windows system in D:\eclipse_rcp and the workspace directory is D:\RCPprojects... so no whitespaces.

I tried the same with an e4-Application-Wizzard-Project with the same result. When i export to a package it is the same, it only gets build if i export to a empty directory.

The files are not write protected.

Any hint is appreciated.

Regards Jan

[Updated on: Tue, 28 August 2012 05:46]

Report message to a moderator

Re: Project does not rebuild [message #904329 is a reply to message #904320] Tue, 28 August 2012 04:56 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5257
Registered: July 2009
Senior Member
The problem is that the application-model is restored and on the 2nd
start you get up with the restored application model instead of your
modified one. If you run with "-clearPersistedState" you won't see this
problem.

Tom

Am 28.08.12 10:29, schrieb Jan Masak:
> Hello everyone,
>
> I started reading Lars Vogel's Book "Eclipse 4 Application Development"
> this week and followed the tutorial in chapters 15-17.
>
> When i run a project the first time via - "Product file" -> Testing ->
> Launch an Eclipse application - it is build and runs as it is supposed
> to. But then i change something e.g. a label of a part and run the
> application again nothing changed. It seems that the application was not
> rebuild.
>
> I saved my changes to all files before i ran the application.
>
> I'm using Eclipse for RCP and RAP developers (Juno).
>
> It is installed on a windows system in D:\eclipse_rcp and the workspace
> directory is D:\RCPprojects... so no whitespaces.
>
> I tried the same with an e4-Application-Wizzard-Project with the same
> result. When i export to a package it is the same, it only gets build if
> i export to a empty directory.
>
> The files are not write protected.
>
> Any hint is appreciated.
>
> Regards Jan
Re: Project does not rebuild [message #904348 is a reply to message #904329] Tue, 28 August 2012 05:45 Go to previous message
Jan Masak is currently offline Jan Masak
Messages: 2
Registered: August 2012
Junior Member
That's it!

Thank you very much.


Edit: I should have kept on reading because this is explained in chapter 17.5 -.-

[Updated on: Wed, 29 August 2012 00:38]

Report message to a moderator

Previous Topic:TableViewer refresh() runs slower in exported application than when run from Eclipse IDE
Next Topic:Add and remove plugins to the plugin folder in a RCP application
Goto Forum:
  


Current Time: Wed Jul 30 19:32:17 EDT 2014

Powered by FUDForum. Page generated in 0.01673 seconds