cocos2d / CocosBuilder

CocosBuilder, the visual editor for cocos2d
forum.cocos2d-objc.org
Other
1.01k stars 592 forks source link

Please do not delete the publish directory when it is published #386

Open dpull opened 11 years ago

dpull commented 11 years ago

I set to publish only ccbi files to the current directory,do not delete the publish directory when it is published.

cxxcxc

emmychen commented 11 years ago

I had the same problem here. The alpha - 4 is ok. but alpha 5 delete the publish directory with all the resources file. Please fix it. Thanks

bachirelkhoury commented 11 years ago

Same problem here!!! it wiped ALL resources!! common!! and the worse thing is the latest cocos2d-x 2.1.4 doesn't work with CocosBuilder 2.1. I get WARNING! Incompatible ccbi file version (file: 3 reader: 5)

ixqbar commented 11 years ago

Same problem here!!!

Tw0bit commented 11 years ago

Any sign of beta6 coming? I too have lost a shared resources folder (luckily restored from git). Reverted to Beta4...

huperniketes commented 11 years ago

This behavior isn't even close to being user-friendly. Without so much as a warning, a project directory is deleted. This must be remedied.

myeviltwin commented 11 years ago

Yes, I have this problem too. Can't find a way to use the latest cocos2d-iphone 2.1 "coordinated release" with cocosbuilder anymore.

niiiico commented 11 years ago

I've checked the code and found out why this is happening : Weither or not Android and HTML5 is selected in the Publish settings screen it is trying to clean the directories. As the directory path is not entered it assumes it is the current dir and therefore delete the directory of the project.

What I'm doing now I'm generating Android and HTML5 files in the same subfolder as iOS and it is working fine.

Hope this helps.