문제

I'm trying to extend the BigBlueButton client with some proprietary classes. Specifically the phone module, where I added a file with my own code. When I write my own package name (org.mydomain.module.test ...) within the file, the compiler fails because it can't find my class from the mxml file. But when I use the original package name (org.bigbluebutton.module.phone ...) it compiles fine. Obviously when I use a different package name, the file is not included in the compilation. How can I change this?

This fails:

package org.mydomain.module.test 
{
  public class MyTestClass
  {
    // code here
  }
}

But this works:

package org.bigbluebutton.modules.phone.test
{
  public class MyTestClass
  {
    // code here
  }
}

FYI: BigBlueButton uses ant to compile the client.

도움이 되었습니까?

해결책

You didn't say where you put the files on disk, the package name should match the file's path in your project. Is that the case in both examples?

So when the package name is: org.mydomain.module.test

The class file should be saved in the path:

my_project_path/src/org/mydomain/module/test
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top