Pelles C forum

Pelles C => Bug reports => Topic started by: John Z on February 28, 2021, 03:21:53 PM

Title: Pelles IDE Zip Feature
Post by: John Z on February 28, 2021, 03:21:53 PM
Not a bug, but I notice than when I ZIP a project the zip archive does not include some image files that are referenced in the .rc file.  Maybe they shouldn't be referenced there but since they are, shouldn't they be included in the ZIP?  These files and subdirectories are missing ….. I can add them afterwards of course.

IDR_ICO_MAIN ICON "main.ico"
ID_SEARCH ICON "..\\Images\\Large\\Search.ico"
TB_Pict1 BITMAP "..\\Toolbar\\vCardz_Toolbar32.bmp"
Speaker BITMAP "res2.bmp"
JGZ ICON "..\\Images\\Z1c.ico"
8002 BITMAP "..\\Images\\Z1c.bmp"
8005 BITMAP "..\\Images\\Large\\ROLODEXz6.bmp"

John Z
Title: Re: Pelles IDE Zip Feature
Post by: Pelle on March 10, 2021, 01:49:07 PM
Looks like files outside the project root directory ("external files"). External files are always excluded by design from the ZIP file.
The IDE should never try to restore files outside a project directory, so at least from that point of view, it's pointless to include external files in the ZIP file to begin with...
Title: Re: Pelles IDE Zip Feature
Post by: John Z on March 10, 2021, 05:05:18 PM
Thanks Pelle,

I got it.  I'll move the directories. They are under 'my' project 'top level root' but that is not the exe project 'root', which is also under 'my' project top level dir,  if that makes sense.

Regards,
John Z