Adding a resource during compilation

Login to reply to this topic.
Thu, 2004-07-15 14:39
Joined: 2004-06-24
Forum posts: 9
Hi everybdy...

I've got a problem to solve...

Say we have the basic "Hello World" program. The sentence "Hello World!" is in the helloworld.rss file.

I'd like to put this sentence during the compilation of my program or to add it at a .sis existing file.
Is there a tool (say MyTool) which allows me to do that ?

cmd>MyTool helloworld.sis "My sentence"

or something equivalent ??

This tool would add the string "My sentence" to the .rss file and would compile the program again to produce a .sis.

This is my dream !!!!!!!!!!!!!!!!  Cheezy

I'm a newbie to Symbian, so any idea, even if it's not exactly what I want to do, is welcomed !!

Thx a lot !!  Wink

Thu, 2004-07-15 14:47
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2025
Adding a resource during compilation
I don't think there is any straightforward solution for this..... It would be easier to update your rss or loc file and regenerate the sis package.

Bon courage.
Eric

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Thu, 2004-07-15 16:01
Joined: 2004-06-24
Forum posts: 9
Adding a resource during compilation
how can I update my rss ?? How can I say in the rss file that there will be a parameter given during the compilation ?
Thu, 2004-07-15 16:13
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2025
Adding a resource during compilation
You can't tell the RSS file will be added at compilation time.
Use a default string in your RSS and then write a perl script that will look for this string and replace it by the parameter string you provide.

Alternatively, you can define a setting file that you will load dynamically at run time.

Eric

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

  • Login to reply to this topic.