APP_SRC inside TASK container?

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
srl100
Newbie
Posts: 15
Joined: Thu May 20, 2010 2:07 pm

APP_SRC inside TASK container?

Post by srl100 » Fri Jul 30, 2010 4:52 pm

Hi All.

When trying to process an OIL file containing the following TASK description:

Code: Select all

TASK TaskDemo {
		PRIORITY = 1;
		STACK = SHARED;
		SCHEDULE = FULL;
		APP_SRC = "demo.c";
	};
I get the following error reported by RT-Druid:
ERROR > Some errors : java.util.Arrays$ArrayList cannot be cast to [Ljava.lang.String;
This seems to be a legitimate configuration, according to the rtdruid reference manual (version 1.5.0, section 4.5.11), and it appears that "APP_SRC" is a known item for the TASK container.

My application builds OK if I have the APP_SRC line in my CPU_DATA container instead, but I would quite like to be able to keep my source and task definitions together.

Any ideas what I am doing wrong?

My RT-Druid version is 1.5.1.201006141442, if that's any help.

nicola.serreli
Jr. Member
Posts: 68
Joined: Mon Aug 02, 2010 10:11 am

Re: APP_SRC inside TASK container?

Post by nicola.serreli » Mon Aug 02, 2010 10:36 am

It's a RT-Druid bug.

I updated the RT-Druid "nigtly builds" version.


Thanks to help us to identify and solve bugs :)
Nicola

srl100
Newbie
Posts: 15
Joined: Thu May 20, 2010 2:07 pm

Re: APP_SRC inside TASK container?

Post by srl100 » Mon Aug 02, 2010 2:40 pm

That now works for me - thanks.

Post Reply