News: Go to the wiki and do the Flying Ship tutorial February 06, 2012, 01:44:32 am
Welcome, Guest. Please login or register. *

Importing from SVN
Pages: 1
  Send this topic  |  Print  

  Importing from SVN
Author Message
0 Members and 1 Guest are viewing this topic.
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« on: June 30, 2007, 02:41:24 pm »


New page on wiki: http://www.victoryengine.org/index.php/Download

Old information below

-----------------------------------------


Users

Tutorial on Wiki


Developers

First, make sure that you have JDK 6
Download here

Guide for eclipse users

Installation of Eclipse
- Download and install eclipse
- Download and install Subversive

Importing from SVN
- Open eclipse. If you want, switch to a special OpenWar workspace
- Go to File -> New -> Project
- Select SVN -> Projects from SVN

If you have not previously imported a project from SVN:
- Create a new repository location
- URL = svn://victoryengine.org/home/svn/
- If you want to edit files, enter your account data (get it from me)
- Click "Next"


If you have previously imported a project from SVN:
- Select the Victory repository
- Click "Next"


Importing from SVN (continued)
- Select "trunk/engine" from the resource tree
- Click finish
- "Check out as project configured using the New Project Wizard"
- Pick "Java Project"
- Enter a project name, e.g. "Victory"
- Make sure it's using JDK or JRE 1.6 (JDK preferred)
- Click "Finish"
- Wait for the SVN contents to get imported

Configuring the project to compile correctly
- Right click the project and click "Properties"
- Go to "Java build path"
- Go to the "Source" tab
- Remove the single folder in the tree
- Click "Add folder"
- Select the "src" directory and click OK
- Next to the "default output folder" field, click Browse, create/select "bin-eclipse" and click OK
- Go to the "Libraries" tab
- Click "Add JARs..."
- Select and add all .jar files in the "lib" directory
- Expand "jinput.jar"
- Select native library location and click Edit
- Click browse and select the lib directory
- Close the properties by clicking OK

Testing
Right-click "src/org/victoryengine/test/GameTest.java" and run as Java application

Other IDE users
- Import from svn://victoryengine.org/home/svn/trunk/engine
- Use build.xml with Apache Ant to build the project
Note: we're using Eclipse as the IDE for our project. While we're trying to make this project as portable as possible, we don't officially support other development environments

Don't commit:
_bin/*
bin/*
export/*
doc/*
.classpath
.project
(or any other automatically generated resource)
« Last Edit: February 05, 2009, 05:21:58 pm by 2playgames » Logged




CoonDawg
Full Member
***
Offline Offline

Posts: 58


View Profile
« Reply #1 on: November 03, 2007, 05:49:44 am »

I keep getting a "Doesn't contain main type" error whenever I run it.

Edit, nevermind. I read Solinx's problem in the other thread. It's hilarious, I've been having this problem for months (I had tried before today) and it never occured to me to read the posts in one of the threads Tongue
« Last Edit: November 03, 2007, 06:15:55 am by CoonDawg » Logged
Darvin
OpenWar Staff
Staff
Sr. Member
**
Offline Offline

Posts: 506


The Concept and Design King


View Profile
« Reply #2 on: November 30, 2007, 05:48:00 am »

Stupid thing won't accept my username/password, so I can't commit my stuff >_<
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #3 on: November 30, 2007, 06:39:04 pm »

I hadn't added you yet.
I've now added "darvin" (and I presume there aren't any others) as developer to SVN
« Last Edit: November 30, 2007, 06:43:24 pm by 2playgames » Logged




Darvin
OpenWar Staff
Staff
Sr. Member
**
Offline Offline

Posts: 506


The Concept and Design King


View Profile
« Reply #4 on: November 30, 2007, 09:27:45 pm »

You mean Sourceforge account?  Yes, there is another Darvin, and it isn't me.  My account on sourceforge is Dasrak (as per my email).
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #5 on: November 30, 2007, 10:06:20 pm »

Updated
Logged




Darvin
OpenWar Staff
Staff
Sr. Member
**
Offline Offline

Posts: 506


The Concept and Design King


View Profile
« Reply #6 on: November 30, 2007, 10:52:04 pm »

Upload successful :-)
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #7 on: November 30, 2007, 11:30:51 pm »

Into the wrong project XD

You've commited to game2d, which is the Victory Engine Wink

Anyway, I'm not sure where you could upload it. There's no project for the RPG yet (only the crappy demo).
I'll make an experiments folder

edit: done, you can put it in a new folder in /experiments, e.g. /experiments/skillsystem
« Last Edit: November 30, 2007, 11:35:55 pm by 2playgames » Logged




Darvin
OpenWar Staff
Staff
Sr. Member
**
Offline Offline

Posts: 506


The Concept and Design King


View Profile
« Reply #8 on: November 30, 2007, 11:46:31 pm »

Heh, I just submitted an update to the old place.  I'll remove that, then.
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #9 on: November 30, 2007, 11:51:17 pm »

See also the SVN guidelines in the Throne Room Wink
Logged




2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #10 on: February 16, 2008, 03:10:13 pm »

I've written a simple download guide on the wiki, and have added the link to it above.
Logged




TmGergo
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #11 on: February 05, 2009, 05:17:11 pm »

hi,
what is the correct svn path? i tried:
svn://victoryengine.org/home/victory/svn
svn://victoryengine.org/home/victory/svn/trunk/engine
svn://victoryengine.org/home/svn
svn://victoryengine.org/home/svn/trunk/engine

non of these works.
thx!
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #12 on: February 05, 2009, 05:20:54 pm »

The correct path is
svn://victoryengine.org/home/victory/svn/trunk/engine

It should work. If it doesn't, can you tell us what exactly seems to go wrong?
Logged




TmGergo
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #13 on: February 05, 2009, 05:48:42 pm »

Thx but, nope, doesn't work by me.

With TortoiseSVN 1.4.3: Error: Can't connect to host 'victoryengine.org': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.   

With Eclipse+Subclipse:     A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  svn: Can't connect to host 'victoryengine.org': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 

Oh, maybe it's the net policy at our company... :/ I'll try it at home soon...
Logged
TmGergo
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #14 on: February 05, 2009, 06:51:31 pm »

OK, it was the company net, works at home.
Thx for the url!
Logged
2playgames
OpenWar Project Founder
Administrator
Sr. Member
***
Offline Offline

Posts: 857


Busy busy busy busy busy


View Profile WWW
« Reply #15 on: February 05, 2009, 09:26:31 pm »

Glad that it works Smiley

If you have any more problem building, running or using the engine, don't hesitate to ask.
Logged





Pages: 1
  Send this topic  |  Print  
 

Jump to: