does dmca push us further toward distributed rev control?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: does dmca push us further toward distributed rev control
by Chris H. » 22 Jul 2011, 19:30
`jeffwadsworth wrote:http://eclipse.org/m2e/jendave wrote:Please install the Maven plugin for Eclipse. It is available from the usual menu item in Eclipse under "Maven Integration for Eclipse". I have updated the pom.xml and added back the .classpath and .project files. I was able to build and run Forge fine from within Eclipse without using any Maven speific commands i.e. the Maven integration is transparent. you will notice the dependencies look different because that is what we actually use for the release builds. If there are any issues, let me know.
I haven't run into so many dead links in a long while...
This may be better:
http://marketplace.eclipse.org/content/ ... on-eclipse
I followed Braids instructions in the getting started wiki. The instructions for adding EGit is the same for Maven Integration for Eclipse. I installed both at the same time.
-
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: Document is now in alpha stage
by Braids » 22 Jul 2011, 19:40
i have implemented the spirit of your three suggestions. please note the document has moved to the slightlymagic wiki at http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge. slightlymagic's markup capability uses the same as wikipedia (mediawiki). thus it is superior to the {markdown} used by gitorious's wikis. i replaced the page on gitorious with a detour link.Chris H. wrote:I was able to follow the Create and Register Your Public-Private Key Pair instructions and they were helpful. A few additions follow . . . 5 . . . 8 . . . 17 . . .
"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: does dmca push us further toward distributed rev control
by Rob Cashwalker » 22 Jul 2011, 19:42
I just installed a fresh copy of Eclipse Indigo on my work computer. I installed EGit and m2e.
I pulled a fresh clone of ForgeGIT.
The automatic behind-the-scenes build in Eclipse fails, the dependencies for google collections is missing.
I pulled a fresh clone of ForgeGIT.
The automatic behind-the-scenes build in Eclipse fails, the dependencies for google collections is missing.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 19:45
please check the section here http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Clone_the_Git_Repository and let me know if my text is correct and in the right place.jeffwadsworth wrote:@Braids.
Clone the Git Repository
In the very helpful guide, you may want to include something about using the "passphrase" as the password if prompted after step 12 or so.
"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: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 19:47
isn't that supposed to happen? merging a file creates a new incarnation of that file, which you are partially responsible for having created. am i right?Rob Cashwalker wrote:I'm having a hard time getting my local clone to update to the latest repository.
I have some pending changes to the Quest mode to support the standard cardpool stuff. It's pretty much done, but before I commit I always do an update, to make sure nothing new would interfere, and if it did, I would get an obvious indication of where the conflict was.
I did a Pull operation, from the main repository and it notified me that there were conflicts. I went into synchronize mode, and started checking each change listed to use the Merge function... Now my local repository shows lots of files as being changed, even though my changes were only in a few specific files.
I might just as well start a fresh clone
"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: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 19:51
no, never. this is the misstep Rob warned us about. the username must be git and the password blank. i updated the guide to say that.
yes, i believe that is when you enter your passphrase.Chris H. wrote:If we do not it looks like we get a window asking for our password as was mentioned in an earlier message.
if the passphrase is too much of a bother, you can create a key without one, but i cannot officially recommend it for security reasons.
"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: Document is now in alpha stage
by Chris H. » 22 Jul 2011, 19:59
`Braids wrote:please note the document has moved to the slightlymagic wiki at http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge. slightlymagic's markup capability uses the same as wikipedia (mediawiki). thus it is superior to the {markdown} used by gitorious's wikis. i replaced the page on gitorious with a detour link.
Looks good. I would change it to beta rather than alpha. The instructions are fairly complete. There may be a need to add a few more words but for the most part I think that it is close to being finished.
Good work.
-
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: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 20:07
the "-master" is a minor text bug. an older version of the guide suggested the user change the cloned repository's directory name to suffix "-master". now, only advanced users are suggested to do so. i just fixed the text's examples to include both "cardforge" and "cardforge-master".Chris H. wrote:Import the Cloned Repository
1. I have one cardforge repository named cardforge without the "-master". I assume that this is the master as there is only one repository listed.
i just added a note about the import taking a long time and that the user should see the new ForgeGIT project once it finishes.Chris H. wrote:6. Clicking finish results in a project named ForgeGIT [cardforge master] appearing in Eclipse's Package Explorer view. This will take some time, so be patient.
. . . About ten minutes have gone by and Eclipse is still Updating indexes. Not sure if something is wrong or not. I can give it more time . . . It finally finished and everything looks OK at this time. The Import the Cloned Repository took longer that expected.
"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: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 20:10
you can find maven in the default sites from eclipse. well, at least for eclipse indigo you can.jeffwadsworth wrote:. . . I haven't run into so many dead links in a long while . . .jendave wrote:Please install the Maven plugin for Eclipse. It is available from the usual menu item in Eclipse under "Maven Integration for Eclipse". I have updated the pom.xml and added back the .classpath and .project files. I was able to build and run Forge fine from within Eclipse without using any Maven speific commands i.e. the Maven integration is transparent. you will notice the dependencies look different because that is what we actually use for the release builds. If there are any issues, let me know.
From http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Install_Eclipse_Software_Items_.28Any_OS.29:
2. Next to Work with:, choose --All Available Sites--. Wait for a bit as the list in the center populates.
3. Open the Collaboration category by clicking the plus sign or triangle to the left of it.
4. Place check marks next to Eclipse EGit and m2e - Maven Integration for Eclipse only. There are lots of goodies in this list if you are into software development, but let us keep it simple.
"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: does dmca push us further toward distributed rev control
by Jaedayr » 22 Jul 2011, 20:31
I just did
and have a lot of resources in my local project with a big red X on them. I tried to start Forge and got the following on the Eclipse console.Periodically pull down changes from the server by right clicking the project ForgeGIT in the Package Explorer, choose Team, then Pull.
- Code: Select all
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Log cannot be resolved
at forge.Gui_NewGame.main(Gui_NewGame.java:163)
Re: does dmca push us further toward distributed rev control
by Braids » 22 Jul 2011, 20:55
i think maven hates us. i just did a pull. and i got something similar with the big red X marks. forge started out with over 100 errors in the Problems view. it thought about it for a while, and now the number of errors is down to 18:Jaedayr wrote:I just didand have a lot of resources in my local project with a big red X on them. I tried to start Forge and got the following on the Eclipse console.Periodically pull down changes from the server by right clicking the project ForgeGIT in the Package Explorer, choose Team, then Pull.
- Code: Select all
Description Resource Path Location Type
ArtifactDescriptorException: Failed to read artifact descriptor for com.jhlabs:filters:jar:2.0.235: ArtifactResolutionException: Failure to transfer com.jhlabs:filters:pom:2.0.235 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.jhlabs:filters:pom:2.0.235 from/to central (http://repo1.maven.org/maven2): C:\Documents and Settings\Braids\.m2\repository\com\jhlabs\filters\2.0.235\filters-2.0.235.pom.ahc536ff99f0d2b4a8e (The system cannot find the file specified) pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.beust:jcommander:jar:1.12 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.google.code.jyield:jyield:jar:1.0-SNAPSHOT pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.google.guava:guava:jar:r09 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.googlecode:minlog:jar:1.2 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.miglayout:miglayout:jar:3.7.4 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.mortennobel:java-image-scaling:jar:0.8.5 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact com.thoughtworks.xstream:xstream:jar:1.3.1 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact junit:junit:jar:3.8.1 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.beanshell:bsh:jar:2.0b4 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.java.net.substance:substance:jar:5.3 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.swinglabs:swing-worker:jar:1.1 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.swinglabs:swingx:jar:1.6.1 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.testng:testng:jar:6.1.1 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact org.yaml:snakeyaml:jar:1.6 pom.xml /ForgeGIT line 1 Maven Dependency Problem
Missing artifact xpp3:xpp3_min:jar:1.1.4c pom.xml /ForgeGIT line 1 Maven Dependency Problem
The container 'Maven Dependencies' references non existing library 'C:\Documents and Settings\Braids\.m2\repository\com\miglayout\miglayout\3.7.4\miglayout-3.7.4.jar' ForgeGIT Build path Build Path Problem
The project cannot be built until build path errors are resolved ForgeGIT Unknown Java Problem
- Code: Select all
Updating index central|http://repo1.maven.org/maven2: Fetching http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz (31%)
as for this, sorry, i don't know.Jaedayr wrote:What am I missing? Forge was running yesterday after finishing the Clone process.
- Code: Select all
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Log cannot be resolved
at forge.Gui_NewGame.main(Gui_NewGame.java:163)
Last edited by Braids on 22 Jul 2011, 21:20, edited 1 time in total.
"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: does dmca push us further toward distributed rev control
by Snacko » 22 Jul 2011, 21:01
If you have m2e, right click pom.xml and select run as > maven install this will try to build forge and download all the needed dependencies. Maybe select project, right click Maven>update dependencies will download them also.
Re: does dmca push us further toward distributed rev control
by Rob Cashwalker » 22 Jul 2011, 21:04
The only thing I seem to be missing in Maven Dependencies is the google-collections-1.0.jar. If I add it to the build path manually, Forge compiles OK. But I can't figure out how to add it to the maven dependencies...
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: does dmca push us further toward distributed rev control
by jeffwadsworth » 22 Jul 2011, 21:49
Yeah, you need 3.7...I was using 3.6.Braids wrote:you can find maven in the default sites from eclipse. well, at least for eclipse indigo you can.jeffwadsworth wrote:. . . I haven't run into so many dead links in a long while . . .jendave wrote:Please install the Maven plugin for Eclipse. It is available from the usual menu item in Eclipse under "Maven Integration for Eclipse". I have updated the pom.xml and added back the .classpath and .project files. I was able to build and run Forge fine from within Eclipse without using any Maven speific commands i.e. the Maven integration is transparent. you will notice the dependencies look different because that is what we actually use for the release builds. If there are any issues, let me know.
From http://www.slightlymagic.net/wiki/Forge:How_to_Get_Started_Developing_Forge#Install_Eclipse_Software_Items_.28Any_OS.29:
2. Next to Work with:, choose --All Available Sites--. Wait for a bit as the list in the center populates.
3. Open the Collaboration category by clicking the plus sign or triangle to the left of it.
4. Place check marks next to Eclipse EGit and m2e - Maven Integration for Eclipse only. There are lots of goodies in this list if you are into software development, but let us keep it simple.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: does dmca push us further toward distributed rev control
by Chris H. » 22 Jul 2011, 22:00
`jeffwadsworth wrote:Yeah, you need 3.7...I was using 3.6.
Until a couple of days ago I was running 3.5.

-
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
Who is online
Users browsing this forum: etphonehome and 46 guests