Determining if a launch configuration has changed since it was last run? [message #330039] |
Mon, 14 July 2008 04:05 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06722 seconds