Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Determining if a launch configuration has changed since it was last run?
Determining if a launch configuration has changed since it was last run? [message #330039] Mon, 14 July 2008 04:05
Eclipse UserFriend
Originally posted by: fraserofthenight.gmail.com

Hi,

Is there a good, consistent way to determine if a launch configuration
has changed since the last time it was run?

My original idea was to copy the launch configuration file to a specific
location and when the launch configuration is run, compare the launch
configuration against the file.

My first attempt was to get a working copy, then call doSave() to store
a second copy of the file. However, this doesn't work since doSave()
adds the copy to the launch config manager. My second idea was to get
launch config file and copy the resource, but launch configurations
don't always have an associated file, so this won't work either.
Further, I can't just reflect on the saveToXML() private method in
LaunchConfigurationWorkingCopy since that still adds it to the launch
manager.

So is there any way I can reliably check whether a launch configuration
has changed since the last time it was launched (hopefully short of
making my own launch configuration serialization mechanism)?

Thanks,
Robert
Previous Topic:What's the difference between "fetchDeferredChildren" and "getChildren"
Next Topic:open preferences page from eclipse launch screen
Goto Forum:
  


Current Time: Wed Jul 03 01:29:49 GMT 2024

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

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

Back to the top