Page 1 of 1

APP_SRC inside TASK container?

Posted: Fri Jul 30, 2010 4:52 pm
by srl100
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.

Re: APP_SRC inside TASK container?

Posted: Mon Aug 02, 2010 10:36 am
by nicola.serreli
It's a RT-Druid bug.

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


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

Re: APP_SRC inside TASK container?

Posted: Mon Aug 02, 2010 2:40 pm
by srl100
That now works for me - thanks.