ilyxa20 / flashdevelop

Automatically exported from code.google.com/p/flashdevelop
0 stars 0 forks source link

Custom Build haxe project still overwrites $(ProjectName).hxml with project dialog updates #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
when using $(CompilerPath)/haxe $(ProjectName).hxml
as a 'Custom Build' prebuild command, changes in the project properties can 
still sometimes rewrite the $(ProjectName).hxml file.

What is the expected output? What do you see instead?
I expect for custom build that the $(ProjectName).hxml is not manipulated by 
updates to project properties (unless custom build is switched off).

What version of the product are you using? On what operating system?
Latest svn. Win 7

Please provide any additional information below.
The current workaround is to ensure that you have the custom build target hxml 
with a different name to the project name. So it's easy to address, but may not 
be obvious to people trying it for the first time.

Original issue reported on code.google.com by greg.d...@gmail.com on 19 Aug 2012 at 9:31

GoogleCodeExporter commented 8 years ago
Alright. Here goes. My first ever attempt to figure out something in C#.

I think this patch is all that is necessary. There's not much to it, but please 
give it a good sanity check.

Original comment by greg.d...@gmail.com on 22 Aug 2012 at 1:26

Attachments:

GoogleCodeExporter commented 8 years ago
Your patch is reasonnable. Fixed.

Original comment by philippe...@gmail.com on 12 Nov 2012 at 3:03