Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Trouble with "refresh" on Eclipse  (Read 366 times)
0 Members and 1 Guest are viewing this topic.
Offline Axeman

Senior Member


Medals: 4



« Posted 2013-02-22 01:55:23 »

I´m using Eclipse on MaxOSX and I always seem to have problems with a refresh when adding a file, like an image file or a .tmx file. Most of the times it just doesn´t work at all and most of the times I have to open a newly imported .png or .tmx in a text editor, make a change in the file, remove that change so I can save it. Then, most of the time, it works. The same problem when updating code from a repository.

Is this a common problem or is it just me? Is there something I´m missing that can be done? This is starting to get on my nerves...
Offline HeroesGraveDev

JGO Wizard


Medals: 64
Projects: 8


Muahahahahahaha...


« Reply #1 - Posted 2013-02-22 04:19:37 »

Try refreshing different folders.

Sometimes it fails on 1 folder, but when I refresh one directory up/down, it works fine.

Offline Grunnt

JGO Knight


Medals: 22
Projects: 6


Complex != complicated


« Reply #2 - Posted 2013-02-22 09:34:07 »

Eclipse, by default, does not refresh when files are changed externally. You can just press F5 with your project selected, and it will refresh and compile etc. accordingly.

Alternatively you can enable auto refresh in Eclipse, see this answer on StackOverflow.

Edit: I'm not really sure what the default is with the newest versions of Eclipse.

Grunnt Games  Play my 4K games or follow development of Constellation Control, a back-to-basics 4X RTS.
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline Axeman

Senior Member


Medals: 4



« Reply #3 - Posted 2013-02-22 15:21:31 »

Grunnt: I have that "refresh on access" box ticked, but like a comment on that page wrote: "Although works when you modify file from explorer. it fails to work when files are updated from version control".

HeroesGraveDev: I guess this is what´s bothering me. Why is such a great program like Eclipse problems with something seemingly easy as a refresh function? Smiley

Now, this isn´t a huge problem. I´m aware of it and I can work around it but it does disrupts my work flow. Especially 2am and my head is buried in some problem and I get a "file not found". Sometimes that´s just enough to cause an mental meltdown. Wink
Offline Grunnt

JGO Knight


Medals: 22
Projects: 6


Complex != complicated


« Reply #4 - Posted 2013-02-22 15:35:51 »

Yeah it is kind of weird, but I guess I got used to it. You could try also ticking the "old" native polling method, which may help you.

Grunnt Games  Play my 4K games or follow development of Constellation Control, a back-to-basics 4X RTS.
Pages: [1]
  ignore  |  Print  
 
 

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (119 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 21 queries.