[Red5] roomStart(IScope room) -> room.setAttribute is not allowed ?
Walter Tak
walter at waltertak.com
Wed Jun 4 10:29:32 PDT 2008
Hi all,
When trying to compile this my eclipse gives an error and tells me that room.setAttribute cannot be resolved:
public boolean roomStart(IScope room) {
log.info("[F] roomStart: scope: [" + room.getContextPath() + "] this=[" + this + "]");
if (!super.roomStart(room)) {
log.info("[F] roomStart: starting jobs since this is the super roomStart");
String jobId = addScheduledJob(_checkIntervalMilliseconds,new CheckUserAccess(this));
room.setAttribute("jobId", jobId); // this line gives an error in Eclipse
return true;
} else {
log.info("[F] roomStart: skipping init ; this is a user-made room.");
return false;
}
}
The exact error:
The type org.springframework.core.io.support.ResourcePatternResolver cannot be resolved. It is indirectly referenced from required .class files
Why is the method [room.setAttribute()] not allowed ? Some examples show the exact syntax like on JB's site:
http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt
PS tested using older red5-code (libraries) from feb 2008 and the latest (today)..
Regards,
Walter
(sorry for the html-markup but it's easier to read the code this way)
--
I am using the free version of SPAMfighter for private users.
It has removed 322 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080604/ce297c41/attachment.html
More information about the Red5
mailing list