Hi,
I have to proto files ADMObjectHandleMessage.proto and
AbstractADMAdapterMessage.proto:
ADMObjectHandleMessage.proto
==================================
package com.qnamic.base.agent;
message ADMObjectHandle {
optional string host = 1;
optional string agent = 2;
optional string path = 3;
required int64 admTopCreationTime = 4;
}
AbstractADMAdapterMessage.proto
==================================
package com.qnamic.planopt.base.query.adapter;
import "ADMObjectHandleMessage.proto";
message AbstractADMAdapter {
repeated ADMObjectHandle objectHandle = 1;
required bool adaptAll = 2;
required bool fillObjectHandle = 3;
}
But when trying to compile the last file I get this:
Buildfile: D:\development\workspace\Platform\dev\config\protocolbuffers
\build.xml
generate:
[exec] AbstractADMAdapterMessage.proto:5:14: "ADMObjectHandle" is
not defined.
[exec] Result: 1
BUILD SUCCESSFUL
Total time: 172 milliseconds