I want to create a separate application using the code I already have for another package but slightly different. How can I install both packages on the same Odin Service Automation installation?


There are two things that must be unique in Odin Service Automation:

  1. Application id
  2. Type ids

To create a new branch of your application, change both application id and references to type ids.

If you use the same namespace consistently through your application it's easy to do.

For example this application uses namespace

application id:

type ids:

If you want to create a branch with one additional fix but you do not want to uninstall previous version, use a new tag and apply it consistently to all the types.

These files have intro in type or application id:

APP-META.xml: <id></id>

APP-META.xml: <name>myweatherdemo-intro</name>

APP-META.xml: <var name="company" type-id=""/>

scripts/subscription_service.php: * @type("")

scripts/subscription_service.php: * @link("")

scripts/application.php: * @type("")

scripts/application.php: * @link("[]")

Use 'search and replace' feature in your editor to replace all occurrences of intro with intro_fix2. On Linux or OS X you can use sed utility as well:

find . -type f -exec sed -i 's/intro/fix2/g' {} \;

Internal content