Repository for Shared Code

Along the same lines as the request for articles:

I have the immediate need of posting up lots of source files for the benefit of some new forum members. This is Jeff’s Scroller example, and I believe that I have his permission (mentioned in another thread). The problem is that I need to put it somewhere, and I can find a place to upload the files.

In the future I see a need for people to be able to create small sub-projects for demonstration code and such which aren’t single file examples. I would think the java.net repositories are perfect for this.

Can we have a repository to do this? Or if there is one, will someone forgive my ignorance and tell me how to get to it?

At http://games.dev.java.net/ you will see a menu item for “File sharing”

Instructions on how it works: http://www.dev.java.net/nonav/docs/ProjectDocuments.html#aboutdocs

Will this work for Shared Code?
OR
Should we have a special project category made for shared code?
I think that might be the way to go… just give enough JavaGaming regulars developer access to that project so it is easier to get stuff in there.

It’s also possible to link directly to files in the CVS repository if they are placed under the ‘www’ directory, so the Wiki can easily have links to shared code.

I’m still not able to upload the code I need to. Apparently I’m either “pending” or don’t have the rights.

Can anyone suggest a solution for the “extended” Shared Code forum? Once again, I’m trying to upload entire projects (samples) that our users have posted at various times.

GK,

Just apply for an observer role at the http://games.dev.java.net site and we can approve and have you UL’ding in no time.

Thanks!

-SG

That sounds great… but which project?

I have Developer (pending) in gamess-forge.

Actually I think this is now an organizational issue as well.

WHERE do you think it is appropriate to put shared code?

Edit: Upon further consideration, I have three things to say.

  1. Welcome back, SG.

  2. Thanks for your help on this

  3. I’ve requested Observer as well in games-forge. I think this is the most appropriate place for them. I’ve also requested Observer on the top level forum. I look to you as admin to decide what the most correct place to dump files is. There are advantages to both… what are your thoughts?

I think he meant the top-level GAMES project.
But you are correct, we should keep things organized.
games-forge seems like the right place for public domain example code

I agree, though I can see some logic for doing it at top level. Still, I think it is best that SG steps in and makes a firm choice. After all, it does have to work within the confines of roles, and I’ve already mucked that up quite enough, thank you. :smiley:

I’ve just added a project for shared code & other miscellaneous stuff http://misc-demos.dev.java.net Please feel free to join the project and add code to it, either though the cvs or through shared files.

i think the filesharing stuff is not a very good place to put examples for beginners. why?

  1. the interface for the projects is not very easy to use. look at sourceforge. it’s much easier to use.

  2. it’s hidden into the projects-stuff. it must be visible from everywhere. if you can’t find it, you can’t use it :).

[quote]1) the interface for the projects is not very easy to use. look at sourceforge. it’s much easier to use.
[/quote]
I hate the interface at SourceForge… can’t stand it. blech… etc.

But I agree with the other stuff… you do have to dig a bit to get to the projects you care about… once you find them it isn’t so bad because you can then ‘watch’ them or sign up for some role. then they will appear on your ‘My Projects’ page.

Folks,

I appreciate your patience with me. As of this evening I just got access to the respository at games.dev.java.net

If you point your browser to the CVS repository:

https://misc-demos.dev.java.net/source/browse/misc-demos/

You’ll find a new project. It’s Jeff Kesselman’s Scroller example, slight cleaned up. I do think you need to go and edit the pathnames because I was too lazy to actually go and abstract them into variables. Sorry guys.

To get your own copy, read the docs on the site on how to access the CVS repository. I think you need Observer access at a minimum.

Thanks again t GK for this.

I’ve finally pulled a copy down to my laptop and hope to fiddle with it while I’m away next week.

Things I’d like to do:

(a) Finally fix those hardcoded paths of mine.

(2) Start work on a port to MIDP2.0. Mostly this means keeping the assets and some logic and scrapping the display code as MIDP2.0 does things entirely differently… :confused: