It is currently 13 Sep 2025, 20:57
   
Text Size

SVN is ready - DO NOT USE GITORIOUS

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: SVN is ready - DO NOT USE GITORIOUS

Postby Chris H. » 17 Aug 2011, 15:06

goonjamin wrote:I'll give the work around a try tonight and thanks for taking the time to get back to me.
`
If you are still having problems building the archive you can try another approach. Check out this link:

The SVN, nightly builds and biweekly betas
User avatar
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

Postby goonjamin » 17 Aug 2011, 17:24

Thanks Chris.

I didn't have time yesterday to try manually setting the version number but if that fails I will just start grabbing the nightly build instead.
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN is ready - DO NOT USE GITORIOUS

Postby Chris H. » 17 Aug 2011, 23:24

I added some instructions to the getting started wiki in refence to the Maven commands that perform the Nightly Build and the Bi-Weekly beta releases.
User avatar
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

Postby Doublestrike » 20 Aug 2011, 06:25

I'm getting this error continuously when I try to import the Maven project:

Code: Select all
RA layer request failed
svn: REPORT of '/forge/!svn/vcc/default': Could not read response body: connection was closed by server (http://svn.slightlymagic.net)
The same error appears if I use "File->Import->Maven->Check Out Maven Projects from SCM" or "File->Import->SVN->Checkout Projects from SVN".

As recommended in this thread, I'm using http://svn.slightlymagic.net/forge/trunk.

The progress quits at random places (I've tried it several times).

Working from a clean install, extra software can be seen in attached pic.

Can someone point me in the right direction? I assume I can do this via a command prompt, but I don't have the pom.xml either... :(
Attachments
installed.png
installed.png (10.84 KiB) Viewed 3879 times
---
A joke is a very serious thing.
User avatar
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

Postby Braids » 20 Aug 2011, 18:12

Doublestrike wrote:I'm getting this error continuously when I try to import the Maven project . . .
except for the first Maven build, developers typically don't need to touch maven. have you checked out a working copy using Subclipse? File, Import, SVN, Checkout Projects from SVN, Next >, . . .
"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. ;)
User avatar
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

Postby Chris H. » 20 Aug 2011, 19:39

Have you tried the getting started wiki?

As Braids suggests,

checked out a working copy using Subclipse? File, Import, SVN, Checkout Projects from SVN, Next >, . . .
should get the project on onto your computer. Once you have the project you should be able to use the CLI as needed.

We recently switched from Git to SVN and as such most people can ignore most of the Maven stuff. With the SVN the Maven stuff is pretty much build and release and this is not needed for most of the ongoing dev work.
User avatar
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

Postby Braids » 20 Aug 2011, 19:47

Chris H. wrote:. . . We recently switched from Git to SVN and as such most people can ignore most of the Maven stuff. With the SVN the Maven stuff is pretty much build and release and this is not needed for most of the ongoing dev work.
do people still get those 400+ compiler errors until they run the first maven build?
"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. ;)
User avatar
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

Postby Chris H. » 20 Aug 2011, 20:19

Braids wrote:do people still get those 400+ compiler errors until they run the first maven build?
`
A few times over the last week I saw some errors and I believe that I saw some activity in the lower right corner of Eclipse.

This morning I did a Nightly Build and afterwards I noticed 66 errors but they went away and disappeared. I keep Eclipse set to Build Automatically.
User avatar
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

Postby Doublestrike » 21 Aug 2011, 08:23

Thanks for the info - I do get the same error with the SVN import as well.

In the past, I recall I had trouble with \build\manifest.forge. I'd switched to Maven as recommended in this thread.

But now no more Maven :( Anyway I learned something if there's a switch back.

Update 1
I've tried again about 10 times and I'm getting consistently kicked off the server when the directory changes. This looks to be a connection problem (http://lists.freepascal.org/lists/fpc-devel/2009-July/017007.html).

Update 2
Now using repeat command line requests
Code: Select all
svn checkout http://svn.slightlymagic.net/forge/trunk -r HEAD --depth=infinity --force
This method works better since when a request breaks, the next request picks up where the last one stopped. Subclipse starts over from the beginning. #-o Not sure why this happens.

Usually error message reads something like "connection was closed by server". Sometimes will get "connection forcibly closed by server". These errors happen when a directory change is requested, not on a file download.

Update 3
Confirmed. The command above successfully checked out a revision piece by piece. A little intensive since the checkout must be restarted every time it's broken, but it works if nothing else does. Subclipse not recommended for this situation.

============

Still several things I'll be trying today and tomorrow, suggestions welcome.
Last edited by Doublestrike on 21 Aug 2011, 10:22, edited 1 time in total.
---
A joke is a very serious thing.
User avatar
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

Postby Braids » 21 Aug 2011, 18:08

Doublestrike wrote:. . . Confirmed. The command above successfully checked out a revision piece by piece. A little intensive since the checkout must be restarted every time it's broken, but it works if nothing else does. Subclipse not recommended for this situation.
i had very similar troubles with google's svn. i hope you can (svn update) without connection errors!

edit: oh, and don't use svn branches if you are having these kinds of errors. {you would know if you were using one.} if you need a private branch, i would recommend using git-svn, storing the branch on your own computer and keeping it updated with git-svn.
"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. ;)
User avatar
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

Postby Chris H. » 21 Aug 2011, 19:16

Doublestrike wrote:Update 3
Confirmed. The command above successfully checked out a revision piece by piece. A little intensive since the checkout must be restarted every time it's broken, but it works if nothing else does. Subclipse not recommended for this situation.

============

Still several things I'll be trying today and tomorrow, suggestions welcome.
`
Have you been able to get the entire project checked out yet?
User avatar
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

Postby Doublestrike » 21 Aug 2011, 22:08

Chris H. wrote:Have you been able to get the entire project checked out yet?
Yes, using the command line method. (I'm still curious why that version will pick up where it left off, but Subclipse deletes all and starts over.)

There's a few other variables I'll be playing with over time to see if there's a better solution: a) I'm currently in China so the connection could be doing weird things I don't know about and b) my dev environment runs off a USB stick, which may cause hiccups somewhere in the process.

Either way, today I'll try a build (http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=1093&start=45#p48823) and maybe attack a bug. On to bigger and better things.
---
A joke is a very serious thing.
User avatar
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

Postby Braids » 21 Aug 2011, 23:11

i nearly missed this because it was an edit!

Doublestrike wrote:. . . (Incidentally, I'd be happy to be the wiki guy if y'all need one. I think quick, easy documentation is important. As I'm slowly sifting through these years of threads, it would be good if I could publish what's relevant.)
:D that's great! go for it! as far as i'm concerned, it's a wiki. everybody can edit. just login to the wiki with your forum name & password, and you can edit pages. try to keep the style if you can. we typically use bold for buttons and things to click, which means we surround the phrase with three apostrophes. the Forge wiki uses the wikimedia syntax, same syntax as wikipedia.

you might want to post before you're about to make changes, and for how long you think you'll be editing which document.
"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. ;)
User avatar
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

Postby goonjamin » 21 Aug 2011, 23:23

Sorry for the long delay but I just tried again with a clean r9842 checkout and I still get the same error on my machine. I went in and forced the version number as suggested in the pom.xml and everything works fine after that.


jendave wrote:
goonjamin wrote:I updated to r9793 and am still getting the same launch4j error? I have attached a full copy of the error in the attached. Also in case it is important I am running windows 7 32bit.
Unfortunately, I am not able to replicate the error. I use Windows XP in a virtual machine. I ran it from the command line and from Eclipse without issue. I keep looking but I am not optimistic. As a workaround look in the pom.xml file and find the "${releasedVersion}.0" lines. You can put the version number in explicitly (such as 1.12.0.0) and it should work. For some reason the variable is not resolving.
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN is ready - DO NOT USE GITORIOUS

Postby Doublestrike » 21 Aug 2011, 23:35

Braids wrote:i nearly missed this because it was an edit!
Yeah, not quite sure where I stand since I'm new to the community. Took that line out since I felt "who am I to tell you guys what to do". But if you don't mind, then I'll jump in. Thanks for the help!

BTW is there an API for the flavor of BBCode markup used in CCGH?

Update

Yes, there is: http://www.mediawiki.org/wiki/Help:Editing
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 73 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 73 users online :: 0 registered, 0 hidden and 73 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 73 guests

Login Form