Ok. I forgot to the type the full qualified name including package: required com.qnamic.base.agent.ADMObjectHandle objectHandle = 1;
Tai On 4 Aug., 12:14, Tai <maitai.tru...@gmail.com> wrote: > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---