Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (552)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Sync project via FTP  (Read 1283 times)
0 Members and 1 Guest are viewing this topic.
Offline Yemto

Junior Member


Exp: 3 years



« Posted 2013-10-23 22:06:31 »

I'm a software developer, and work on projects at home, and on different computers at work. Lately moving around files have beginning to become a annoyance. So I wonder if it's any way I can automatically sync everything up from a FTP server? Preferably with a NetBeans/Eclipse plugin.
Offline pjt33
« Reply #1 - Posted 2013-10-23 22:16:19 »

Many things are possible, but not all of them are wise. You'd be better off looking at git, either with your own server or with github.
Offline Agro
« Reply #2 - Posted 2013-10-23 22:23:28 »

Git + DropBox

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #3 - Posted 2013-10-23 22:37:02 »

You can use eclipse's egit plugin, although I never really liked it (or any other interface) over the git bash.
Offline Jeremy
« Reply #4 - Posted 2013-10-23 23:01:48 »

I find if you are using Eclipse Keplar and your workspace is placed inside of a directory with a .git directory, Eclipse will detect that and allow you commit to the repository through it. I find that you also have to commit the project files as well (github will filter them out by default) maybe this was a faulty observation though.

Maybe I have a plugin installed, but if I do I don't recall installing it.

Also, yeah, you definitely want to use git. If you can't find an appropriate host, you can setup a git server on your home pc.

It'll be somewhere under the 'team' submenu.

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #5 - Posted 2013-10-23 23:53:43 »

You can use Git for Windows, its a GUI client for managing your github repos and I absolutely love it because pushing or pulling commits is just a few clicks and done.

Offline Yemto

Junior Member


Exp: 3 years



« Reply #6 - Posted 2013-10-24 03:07:49 »

I have looked into git, and I can't find a tutorial how I can host it on my home computer. I could use github. But I like to have my project private.
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #7 - Posted 2013-10-24 03:10:43 »

GitHub has a option to keep your projects private. Besides, if you don't share your project, how is anyone going to see it? I think GitHub is your best choice.

Offline Yemto

Junior Member


Exp: 3 years



« Reply #8 - Posted 2013-10-24 03:51:18 »

Looks like I going to stick with messing around with USB, since git is the worst thing I have ever tried. It's no information about it that's up to date.

EDIT: and not it have messed up my computer, I can't open any files or folders...
Offline Jeremy
« Reply #9 - Posted 2013-10-24 08:32:09 »

Looks like I going to stick with messing around with USB, since git is the worst thing I have ever tried. It's no information about it that's up to date.

EDIT: and not it have messed up my computer, I can't open any files or folders...

Git is a very powerful version control system that was designed to do what you want to do right now. It is very well documented but there is a bit of a learning curve. I would check a book out on git in the library.

You will without a doubt encounter git (or some other version control system) sometime in your programming career, and it is a huge plus on your resume if you know how to use it. I highly advice you take the time to learn it now.

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline xsvenson
« Reply #10 - Posted 2013-10-24 08:37:33 »

An alternative to git is mercurial. It is designed to be simpler and easier to use than git, most probably while sacrificing some of the flexibility and functionality that git offers.
I, personally, don't like git, but I was using mercurial daily. Now that I had to switch back to SVN,  I miss it.

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Offline Jeremy
« Reply #11 - Posted 2013-10-24 10:16:12 »

An alternative to git is mercurial. It is designed to be simpler and easier to use than git, most probably while sacrificing some of the flexibility and functionality that git offers.
I, personally, don't like git, but I was using mercurial daily. Now that I had to switch back to SVN,  I miss it.

Yeah, mercurial is great too. I would suggest that Yemto just pick up any version control and familiarize himself with it, it is definitely a powerful tool.

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #12 - Posted 2013-10-24 10:26:41 »

If you use git, use SmartGit, nothing else compares.

You could also use rsync.

Offline Grunnt

JGO Wizard


Medals: 66
Projects: 8
Exp: 5 years


Complex != complicated


« Reply #13 - Posted 2013-10-24 11:47:10 »

Using USB sticks and FTP is a 100% guarantee you will lose all of your code and hard work at some point in the future due to some dumb mistake or technical error. DO NOT DO THIS. Please!

For any software development project having a good version control is essential to avoid this. I use Git and I pay github.com a small monthly fee to get a bunch of private repositories. It's one of the easiest ways to get this done, but there are probably cheaper/free alternatives. Time spent on learning how to use GIT or another version control system (older ones are CVS, SVN, but Mercurial as noted is great as well) is time well spent.

Offline xsvenson
« Reply #14 - Posted 2013-10-24 11:53:30 »

With bitbucket (mercurial repo provider) You can make the repo private for free. However, the front page says that the repo is free for up to 5 users.

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Offline kpars

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Extreme Typist.


« Reply #15 - Posted 2013-10-24 12:05:43 »

Me and Ulixava have been using Dropbox, it works like a charm.

We can both code on the project at once without having to make any syncs or commits, it's kind of like Google Docs.

- Jev.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (23 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (41 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!