1

14.12.00b-src, alljoyn_java, missing "Status" enum?

asked 2015-04-02 10:56:30 -0800

Salgare gravatar image

Hello, I downloaded the alljoyn-14.12.00b-src and I'm trying to just build the jar for this source via eclipse and maven. Many classes in this package expect a Status enum in the same package scope but is not finding it. I added the following to resolve the build but wonder where the right one is?

public enum Status { OK, INVALID_CONNECT_ARGS, BAD_ANNOTATION, BUS_NO_SUCH_INTERFACE, ALREADY_REGISTERED, BUS_REPLY_IS_ERROR_MESSAGE;

public int getErrorCode()
{
    return ordinal();
}

}

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-04-03 09:08:55 -0800

georgen gravatar image

updated 2015-04-03 09:10:07 -0800

The Status enum is generated by a build script. Its a large collection of enumerated statuses around 350. The Status is built by the javastatus.py script found in the build_core/tools/scons. This script pulls the values from multipls status.xml files spread trough the project.

This script should be automatically run when the code is built using scons.

edit flag offensive delete publish link more

Comments

thank you.

Salgare ( 2015-04-03 11:27:37 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-02 10:56:30 -0800

Seen: 25 times

Last updated: Apr 03 '15