Author Topic: Rename source files and wxsmith plugin files  (Read 6918 times)

Offline szurilo

  • Multiple posting newcomer
  • *
  • Posts: 37
Rename source files and wxsmith plugin files
« on: December 20, 2007, 11:13:53 am »
Maybe its an answered questionbut i didnt fnd anywhere. So, how can i rename my source files inside C::B and how can i rename my *.wxs files?
Szurilo

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Rename source files and wxsmith plugin files
« Reply #1 on: December 20, 2007, 11:22:36 am »
Maybe its an answered questionbut i didnt fnd anywhere. So, how can i rename my source files inside C::B and how can i rename my *.wxs files?
Szurilo
1. Close the file you want to rename,
2. In the Project Manager right-click the file,
3. Chose "Rename File..."

The *.wxs-file(s) is (are) under "Others -> wxsmith" .

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 836
Re: Rename source files and wxsmith plugin files
« Reply #2 on: December 20, 2007, 11:14:26 pm »
In case of files managed by wxSmith it's not so easy. You'll have to manually modify the .cbp file (wxSmith doesn't support renaming of resources now).

So after you rename files using szurilo's method, open .cbp file in any text editor, search for old file names and replace with new file names.

Regards
   BYO