[Bug 849] New: Prevent Swift from overwriting user files with compiler output files
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=849 Summary: Prevent Swift from overwriting user files with compiler output files Product: Swift Version: trunk Platform: PC OS/Version: Mac OS Status: ASSIGNED Severity: minor Priority: P4 Component: Error messages AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] Swift generates a file called <your_script>.xml during compilation. In your case that would be R_ROC.xml. That overwrites your sites file. Mihael On Wed, 2012-10-10 at 16:39 +0000, Yahui Peng wrote:
I012-10-09 20:24:45,873+0000 DEBUG Loader arguments: [-config, R_ROC.cf, -sites.file, R_ROC.xml, -tc.file, R_ROC.tc, R_ROC.swift]
-- to prevent that we could: Check that the scriptname.xml file will not overwrite the -sites file Ensure that if scriptname.xml or .kml exist, they are files from the Swift compiler (eg by a magic number check, appearance check, etc). -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=849 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mihael Hategan <[email protected]> 2012-10-10 15:26:09 --- file.swift -> file.swiftx -> file.kml? -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=849 --- Comment #2 from Michael Wilde <[email protected]> 2012-10-10 15:33:10 --- file.swift -> file.swiftx -> file.kml ...seems a reasonable solution. Might cause some breakage in things like the GPSI and I2U2 portals, but those would be easily fixed. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=849 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Mihael Hategan <[email protected]> 2012-10-15 16:41:41 --- Fixed in swift trunk r5969 -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov