Below is a representation of my java project file structure. I'm using 3.1
for both protoc and protobuf.
-bin
|---build
|-----java
|-------intergroup
|---------board
|---------lobby
|---------resource
|---------terrain
|---------trade
|-----proto-compiler
|-------bin
|-------include
|---------google
|-----------protobuf
|-------------compiler
|---buildings
|---cards
|---catan
|---general
|---network
|---player
|---src
|-----board
|-----lobby
|-----resource
|-----terrain
|-----trade
|---testing
|-build
|---classes
|-----main
|-------intergroup
|---------board
|---------lobby
|---------resource
|---------terrain
|---------trade
|---extracted-include-protos
|-----main
|-------google
|---------protobuf
|-----------compiler
|-----test
|-------board
|-------google
|---------protobuf
|-----------compiler
|-------lobby
|-------resource
|-------terrain
|-------trade
|---libs
|---resources
|-----main
|-------board
|-------lobby
|-------resource
|-------terrain
|-------trade
|---tmp
|-----compileJava
|-----jar
|-img
|---buildings
|---buttons
|---dice values
|---main menu
|---tiles
|-----Catan
|-------tiles small
|-----Space
|-------tiles small
|-lib
|---jars
|---natives
|-src
|---buildings
|---cards
|---catan
|---general
|---main
|-----java
|-------intergroup
|---------board
|---------lobby
|---------resource
|---------terrain
|---------trade
|-----protobuf
|-------board
|-------lobby
|-------resource
|-------terrain
|-------trade
|---network
|---player
|---testing
However, I keep getting a packaging conflict - for example, when I'm in
src/network/Server.java and I try creating a Lobby object from
intergroup.lobby.Lobby using this line:
"import intergroup.lobby.*;"
Eclipse keeps saying the import cannot be resolved. But when I then change
it to this:
"import main.java.intergroup.lobby.*;"
The import issue is then resolved, but then the Lobby object says it cannot
be resolved to a type.
Please do let me know if this question is best-directed to another
thread/forum. I just figured people who knew what they were doing would be
good ones to ask!
--dan
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.