Build *.proto files in Linux over ant run plugin in maven

2009-07-20 Thread Dieu
/opt/protobuf-2.1.0/bin/protoc ${basedir}/src/main/java src/main/protobuf/proto/*.proto maven-antrun-plugin generate-sources generate-sources

Build *.proto files in Linux over ant run plugin in maven

2009-07-20 Thread Dieu
/opt/protobuf-2.1.0/bin/protoc ${basedir}/src/main/java src/main/protobuf/proto/*.proto maven-antrun-plugin generate-sources generate-sources

Re: Compiling on AIX 5.3 using xlC 3.55 compiler

2009-07-20 Thread vikram
In previous attempt small test worked but was not able to work with protocol buffer source code. I tried one more thing as #if deinfed (MISSING_HASH_MAP) && defined (__xlC__) #define hash_map std::tr1::unordered_map google/protobuf/unittest.proto:85:37: Expected ";". google/protobuf/unittest.prot

Using Proto Buffers *without* attributes...

2009-07-20 Thread MikeYeaney
Forgive me if this has been addressed here already, but is it possible to use protobuf-net in .NET 3.5 *without* using more bloody attributes? I really rather my types not have a clue about how they're being persisted. Many thanks for your time... Michael --~--~-~--~~~

Re: Using Proto Buffers *without* attributes...

2009-07-20 Thread MikeYeaney
I should clarify, without attributes and without generating .proto files. I could have sworn this worked in a previous version. Thanks again... On Jul 20, 8:15 pm, MikeYeaney wrote: > Forgive me if this has been addressed here already, but is it possible > to use protobuf-net in .NET 3.5 *with

Re: Using Proto Buffers *without* attributes...

2009-07-20 Thread Marc Gravell
You can certainly use protobuf-net without the *protobuf-net* attributes; it will accept XmlSerializer or DataContractSerializer attributes as long as the Order is specified (which it can use as the tag). Or if it knows your types are broadly serializable, there is a Serializer.GlobalOptions.Infe