SVN is ready - DO NOT USE GITORIOUS
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
69 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Re: SVN is ready - DO NOT USE GITORIOUS
by jendave » 10 Aug 2011, 21:08
The libs directory had files that were outdated. We use Maven to manage the dependencies.Max mtg wrote:/trunk/res/libs folder is missing in the new SVN - project can't be built without its dependencies.
Please follow the instructions to install MAven
http://www.slightlymagic.net/wiki/Forge ... ild_System
Re: SVN is ready - DO NOT USE GITORIOUS
by Doublestrike » 10 Aug 2011, 23:50
Uh, so I'm new here, getting my feet wet in this thing, with the eventual goal of cracking down on the GUI side of things.
I was following this guide http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Other_Useful_Eclipse_Plug-Ins to the letter. BTW great guide, extremely clear. (There's so much archived stuff on this site it's really hard to find what's going on without burning one's eyes out reading posts from years ago.
)
I'm finally ready to clone the GIT repository and came on here - no more Gitorious, now using SVN? So, my install of eGit is superfluous, and the Maven is still valid? Is there an up-to-date guide I should be following?
In a semi-related question, the (old?) guide has a lot of optional Cygwin-related stuff. I don't use Cygwin yet but I can. Does the dev team here all use Cygwin? i.e. is Cygwin "strongly recommended" hint hint elbow elbow wink?
I was following this guide http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Other_Useful_Eclipse_Plug-Ins to the letter. BTW great guide, extremely clear. (There's so much archived stuff on this site it's really hard to find what's going on without burning one's eyes out reading posts from years ago.

I'm finally ready to clone the GIT repository and came on here - no more Gitorious, now using SVN? So, my install of eGit is superfluous, and the Maven is still valid? Is there an up-to-date guide I should be following?
In a semi-related question, the (old?) guide has a lot of optional Cygwin-related stuff. I don't use Cygwin yet but I can. Does the dev team here all use Cygwin? i.e. is Cygwin "strongly recommended" hint hint elbow elbow wink?
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Chris H. » 11 Aug 2011, 00:18
`Doublestrike wrote:I was following this guide http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Other_Useful_Eclipse_Plug-Ins to the letter. BTW great guide, extremely clear. (There's so much archived stuff on this site it's really hard to find what's going on without burning one's eyes out reading posts from years ago.)
I'm finally ready to clone the GIT repository and came on here - no more Gitorious, now using SVN? So, my install of eGit is superfluous, and the Maven is still valid? Is there an up-to-date guide I should be following?
You should already have Maven installed by following the Git instructions.
Chris H. wrote:You will want to install subversion and subclipse. It looks like there are versons of subclipse that "match" a specific version of subversion.
Once you have the above portion installed it is then a matter of importing the Forge project into Eclipse. I put together some instructions for this portion today:At the Workspace Launcher dialog select a new workspace for the SVN version of Forge.
Select the File -> Import... menu command.
At the Import dialog select SVN -> Checkout Projects from SVN. Click Next >.
At the Checkout from SVN dialog select the radio button Create a new repository location. Click Next >.
Paste in this Url "http://svn.slightlymagic.net/forge/trunk" into the text box labeled Location Url. Click Next >.
You are asked to select the folder to be checked out from SVN. Select the top level folder labeled "http://svn.slightlymagic.net/forge/trunk". Click Finish.
It will take some time to import the project. You will see your progress displayed in a dialog labeled SVN Checkout.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN is ready - DO NOT USE GITORIOUS
by friarsol » 11 Aug 2011, 00:39
I have a Win7 box and do everything on the Windows side of things.Doublestrike wrote:In a semi-related question, the (old?) guide has a lot of optional Cygwin-related stuff. I don't use Cygwin yet but I can. Does the dev team here all use Cygwin? i.e. is Cygwin "strongly recommended" hint hint elbow elbow wink?
Personally, I'd rather use a VM than Cygwin if I really need to do some linux stuff. But it mostly depends on how capable your machine is.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Braids » 11 Aug 2011, 00:39
thank you for the compliment. i agree; a wiki lends itself better to document management than a forum.Doublestrike wrote:Uh, so I'm new here, getting my feet wet in this thing, with the eventual goal of cracking down on the GUI side of things.
I was following this guide http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Other_Useful_Eclipse_Plug-Ins to the letter. BTW great guide, extremely clear. (There's so much archived stuff on this site it's really hard to find what's going on without burning one's eyes out reading posts from years ago.)

yes, use svn {subversion}. yes, egit is superfluous. yes, maven is still valid. no, sorry, there is no up to date guide.Doublestrike wrote:I'm finally ready to clone the GIT repository and came on here - no more Gitorious, now using SVN? So, my install of eGit is superfluous, and the Maven is still valid? Is there an up-to-date guide I should be following?
no, not at all. i've been trying to stick to eclipse based tools so the OS is less relevant for documentation. i wrote a lot of that guide, so that's why it might seemed biased. the truth is, i'm just trying to make sure fellow cygwinners are succeeding. i like cygwin a lot, but it has some quirks that require installing things differently.Doublestrike wrote:In a semi-related question, the (old?) guide has a lot of optional Cygwin-related stuff. I don't use Cygwin yet but I can. Does the dev team here all use Cygwin? i.e. is Cygwin "strongly recommended" hint hint elbow elbow wink?
oh, and don't bother installing SmartGit, either.

we recommend the Subclipse plugin for eclipse.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: SVN is ready - DO NOT USE GITORIOUS
by Braids » 11 Aug 2011, 00:41
could someone update http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge with this info?Chris H. wrote:You will want to install subversion and subclipse. It looks like there are versons of subclipse that "match" a specific version of subversion.
Once you have the above portion installed it is then a matter of importing the Forge project into Eclipse. I put together some instructions for this portion today:At the Workspace Launcher dialog select a new workspace for the SVN version of Forge.
Select the File -> Import... menu command.
At the Import dialog select SVN -> Checkout Projects from SVN. Click Next >.
At the Checkout from SVN dialog select the radio button Create a new repository location. Click Next >.
Paste in this Url "http://svn.slightlymagic.net/forge/trunk" into the text box labeled Location Url. Click Next >.
You are asked to select the folder to be checked out from SVN. Select the top level folder labeled "http://svn.slightlymagic.net/forge/trunk". Click Finish.
It will take some time to import the project. You will see your progress displayed in a dialog labeled SVN Checkout.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: SVN is ready - DO NOT USE GITORIOUS
by Chris H. » 11 Aug 2011, 01:08
`Braids wrote:could someone update http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge with this info?
I might take a look at adding the material. I do not want to remove your EGit work as there is a chance that we could decide to go back. Don't burn those bridges yet.

I do not want to make any promises though. It looks like adding a section at the top would do it. But I guess that we would want to have an either or type of set up. I may be getting in over my head. I will think about it.
EDIT:
I see that Braids has already set a torch to the bridge.


-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Braids » 11 Aug 2011, 01:19
the slightlymagic.net wiki uses wikimedia syntax, which means it supports comments that only appear when editing a page. these comments are in <!-- XML style --> . i commented out all the git-specific stuff.Chris H. wrote:`Braids wrote:could someone update http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge with this info?
I might take a look at adding the material. I do not want to remove your EGit work as there is a chance that we could decide to go back. Don't burn those bridges yet.![]()
besides, we can go back in history if an accidental deletion occurs.
Chris H. wrote:I do not want to make any promises though. It looks like adding a section at the top would do it. But I guess that we would want to have an either or type of set up. I may be getting in over my head. I will think about it.


i already updated the earlier section to request access to the Forge developer group (or whatever it's called) in the user control panel here. i presume that grants svn commit access. if not, the section needs more editing.
nope, i just cast Invisibility on it. watch your step.Chris H. wrote:EDIT: I see that Braids has already set a torch to the bridge.![]()

"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: SVN is ready - DO NOT USE GITORIOUS
by Doublestrike » 11 Aug 2011, 01:24
OK thanks Braids and Chris H...I did see the SVN link but it sort of adds to the pile of confusion. Back to work!
BTW I used to be "steve" but I changed me name to something more appropriate...bam bam!
BTW I used to be "steve" but I changed me name to something more appropriate...bam bam!

---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Chris H. » 11 Aug 2011, 01:34
`Braids wrote:either or? section at the top?
you know what, it doesn't matter. if it's more helpful than a TODO marker, go for it.
nope, i just cast Invisibility on it. watch your step.Chris H. wrote:EDIT: I see that Braids has already set a torch to the bridge.![]()
OK, I see that you are farther along in editing the wiki than I had realized. No problem.
I can add my material to the TODO section when you are ready. I do not want to step on your edits to the wiki. I can wait until you are ready.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Braids » 11 Aug 2011, 02:05
go right ahead. i'm surprised i had the fortitude to edit what i did.Chris H. wrote:OK, I see that you are farther along in editing the wiki than I had realized. No problem.
I can add my material to the TODO section when you are ready. I do not want to step on your edits to the wiki. I can wait until you are ready.
switching gears, in reverse order. going from 2nd to 1st:
you're welcome, and i hope your confusion does not last.Doublestrike wrote:OK thanks Braids and Chris H...I did see the SVN link but it sort of adds to the pile of confusion. Back to work!
i was thinking on one side of my braided brain, that there seemed to be an awful lot of new developer buzz about the gui. your existence makes so much more sense now.Doublestrike wrote:BTW I used to be "steve" but I changed me name to something more appropriate...bam bam!
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: SVN is ready - DO NOT USE GITORIOUS
by Chris H. » 11 Aug 2011, 02:20
`Braids wrote:go right ahead. i'm surprised i had the fortitude to edit what i did.
Thank you for the help. I finished adding in the checkout the forge project material.
I noticed the commented out Git instructions.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Doublestrike » 11 Aug 2011, 04:07
OK thanks for the info.Friarsol wrote:I have a Win7 box and do everything on the Windows side of things.
Personally, I'd rather use a VM than Cygwin if I really need to do some linux stuff. But it mostly depends on how capable your machine is.
I've set up a fully portable dev environment on my flash drive - JDK and Eclipse in x86 or x64 flavors depending on the box I'm plugged into. Next is integrating all of the Forge tools into the drive.
If I'm successful and if it's needed, I could volunteer to write a wiki on how this is done, with my batch file kickstart included.
I'm pretty stoked on this, I think Forge is the best thing going right now and I'm looking forward to getting to the point of contributing something that is actually helpful.Braids wrote:awful lot of new developer buzz about the gui

And when I say best thing going, I mean better than Pop Tarts, Unicorns, and DOTP.
Edit
If it helps anyone new, here's a(nother?) guide to installing Subclipse: http://www.rose-hulman.edu/class/csse/r ... lation.htm
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: SVN is ready - DO NOT USE GITORIOUS
by jeffwadsworth » 11 Aug 2011, 16:43
When I try to execute the /forge/trunk/target/forge-1.1.2-SNAPSHOT-jar-with-dependencies.jar, nothing happens. Is anyone else having this issue? The project builds successfully, etc, even though my beloved "Run as Java application" is gone.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: SVN is ready - DO NOT USE GITORIOUS
by Chris H. » 11 Aug 2011, 16:53
`jeffwadsworth wrote:When I try to execute the /forge/trunk/target/forge-1.1.2-SNAPSHOT-jar-with-dependencies.jar, nothing happens. Is anyone else having this issue?
I updated to rev 9752 and tried to run forge as a java app from within Eclipse and get the following error message seen in the Console view:
- Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: forge/Gui_NewGame
Caused by: java.lang.ClassNotFoundException: forge.Gui_NewGame
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
I was able to get a forge-1.1.2-SNAPSHOT-jar-with-dependencies.jar using Maven in rev 9750 and that works OK.
`
`jeffwadsworth wrote: The project builds successfully, etc, even though my beloved "Run as Java application" is gone.
I have all of the run options listed on my copy. I did have a problem yesterday but it looks like Eclipse opened a Prospective that contained External Tools and little/nothing else in the run menu.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
69 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 47 guests