apotapov / gdx-artemis

Fork of artemis entity-system (http://gamadu.com/artemis/) refactored to integrate with Libgdx (http://libgdx.badlogicgames.com/)
Other
53 stars 5 forks source link

[suggestion] Mavenize this thing #1

Closed spaceemotion closed 11 years ago

spaceemotion commented 11 years ago

I was just checking out the Artemis forum the other day and discovered this fork for libgdx.

I would love to implement this into our game http://github.com/Catacomb-Snatch/Catacomb-Snatch. Since we are using maven I would like to know if this project is maven-ready (I guess not). If that isn't the case, when will it be (or will it even be in a maven repository).

Hint: One thing you could try out is using travis CI to build this project.

apotapov commented 11 years ago

Glad to see there's some interest out there in these efforts. Thanks for the suggestion.

It's a good idea to mavenize the project. I definitely wanted to add some sort of a build system, but wanted to see if there is any community interest in this project before putting more work in.

Most of my build experience is with ant (and make back in the day), but I've seen the benefits of maven. This is probably as good a time as any to get my hands dirty with maven.

I'll see if I can borrow from junkdog's efforts, and I'll take a look at your repo as well.

Travis CI looks interesting, I'll check it out.

apotapov commented 11 years ago

Added some basic maven config. Not sure what to do about adding it to a maven repository. Any suggestions?

apotapov commented 11 years ago

Looking at http://maven.apache.org/guides/mini/guide-central-repository-upload.html

Seems I have more work to do to get this ready for prime time.

spaceemotion commented 11 years ago

Thank you for looking into this!

I really appreciate your effort, but I noticed one "bug" in the folder structure: It's called "src/main/java" instead of "src/java/main".

Maven uses the src folder for the plugins ("main" for the compiler, "test" for surefire, "assembly" for assembly and so forth).

apotapov commented 11 years ago

Haha. Good eye!

Fixed it up.

Guess I still have long ways to got before becoming a maven maven. (I have a tendency for bad puns :)

spaceemotion commented 11 years ago

haha, still a good one ;)

spaceemotion commented 11 years ago

I guess, I can close this now...

apotapov commented 11 years ago

I do want to move it to maven repository though. That's why I kept it open. Have been lazy with it. Plus, so far, I feel that my versioning scheme hasn't been the greatest. I should just make the plunge and fix it up properly ala artmemis-odb.