Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Possible to auto-refresh resources in class packages on build & run?
Possible to auto-refresh resources in class packages on build & run? [message #1765455] Fri, 09 June 2017 17:00
Augustas Tiknius is currently offline Augustas TikniusFriend
Messages: 1
Registered: June 2017
Junior Member
I am using Nashorn JavaScript engine in my project with a single class (at the moment) and in the same package as the main class (which contains the main method) I have a `main.js` file. I use Clazz.class.getResource to access it. However if I use, for instance, Notepad++, to edit and save the file, unless I re-open the `main.js` file from the package explorer, running the program will use the previously accessed version of `main.js`. Is it possible to automate this process, so everytime I start the program in Eclipse, `main.js` is re-read from the project location?

Kind Regards, Augustas T.
Previous Topic:Error
Next Topic:Some stranges errors logs
Goto Forum:
  


Current Time: Sat Dec 16 09:21:40 GMT 2017

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

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