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 slapshot5 » 23 Jul 2011, 14:47
I just pointed Eclipse to http://download.eclipse.org/technology/m2e/releases/Chris H. wrote:I think that you are right. Have you installed the Maven stuff by other means?
No problems.
I've been so swamped with work and a theater production, I haven't much thought much about it. I did start reading the review over at arstechnica.com. (http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/)BTW: have you updated to Lion yet or are you waiting?
You?
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: does dmca push us further toward distributed rev control
by Chris H. » 23 Jul 2011, 16:21
`slapshot5 wrote:You?
Yes, but after a couple of hours I reverted back to Snow Leopard for the time being.
Lion does not come with java. You can download an installer from Apple or launch Forge and Software Update will download and install it for you.
When I launched Eclipse I got an error that I could not resolve. I had an ancient version of Eclipse with workspace prefs hacked to look like Eclipse was using and was building jars that were java 5 compatible. Snow Leopard only comes with java 6 and the earlier java versions are alias' to java 6.
I will try again this upcoming week. I wanted to get Eclipse updated and get set up for Git. I have a 2 TB HD coming in to act as a new Time Machine. I will also update my iMac to 6 GB of memory at this 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: does dmca push us further toward distributed rev control
by jeffwadsworth » 23 Jul 2011, 16:59

Last edited by jeffwadsworth on 23 Jul 2011, 18:08, edited 1 time in total.
- 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 Jaedayr » 23 Jul 2011, 17:22
Popup window when opening Eclipse
Can anybody give me some guidance here please?
- Code: Select all
The Maven Integration requires that Eclipse be running in a JDK, bacause a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that installed JREs are also using JDK installs.
- Code: Select all
7/23/11 1:13:21 PM EDT: Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
7/23/11 1:13:29 PM EDT: Updating index central|http://repo1.maven.org/maven2
7/23/11 1:15:37 PM EDT: Updated index for central|http://repo1.maven.org/maven2
- | Open
- -startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
Can anybody give me some guidance here please?
Re: does dmca push us further toward distributed rev control
by Chris H. » 23 Jul 2011, 17:53
I have noticed something strange about my commits. Committing brigs up a Commit Changes window. I changed the Author and Committer text boxes from accountname to loginname. This edit will still be there on the next launch.
I changed the <accountname@###.###.#.##> to the email address that I use for gitorious. When I restart Eclipse this edit reverts and is only temporary.
Does anyone have any ideas?
I changed the <accountname@###.###.#.##> to the email address that I use for gitorious. When I restart Eclipse this edit reverts and is only temporary.
Does anyone have any ideas?
-
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 » 23 Jul 2011, 18:54
i think they created personal server side clones, whereas the Guide uses local clones. am i right?Chris H. wrote:I see that several people have a Personal clone. I followed Braids instructions for Clone the Git Repository. What is this Personal clone and what is it for and how is it used?
"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 » 23 Jul 2011, 18:58
Any git repository = clone if it's not the original (but clone == original in content). Those at gitorious are personal server side clones which everyone can see and clone from. If you just clone locally then others would need to access your computer to clone from.
Re: does dmca push us further toward distributed rev control
by Braids » 23 Jul 2011, 19:14
you need to install java 6 for your mac that includes the javac program. yes, with a c at the end. this is probably described as some sort of java 6 developer package. you might be able to find something from http://developer.apple.com/technologies/mac/features.html. it's actually quite hard to find.Jaedayr wrote:Popup window when opening Eclipse
- Code: Select all
The Maven Integration requires that Eclipse be running in a JDK, bacause a number of Maven core plugins are using jars from the JDK.
. . .
unfortunately, you can't download the jdk from oracle like other OS users. this is the first time i've heard anything about Mac OS X+ that i completely despise. it's a pity they treat you like children. i'm surprised they give you shell access.
Last edited by Braids on 23 Jul 2011, 19:24, 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 Braids » 23 Jul 2011, 19:18
try using a text editor to edit the hidden file .gitconfig in your home directory. change the name and email fields to the ones you use for gitorious.Chris H. wrote:I have noticed something strange about my commits. Committing brigs up a Commit Changes window. I changed the Author and Committer text boxes from accountname to loginname. This edit will still be there on the next launch.
I changed the <accountname@###.###.#.##> to the email address that I use for gitorious. When I restart Eclipse this edit reverts and is only temporary.
Does anyone have any ideas?
if this works for you, would you mind editing the guide?
"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 » 23 Jul 2011, 19:21
so, a server side clone is like a public personal branch?Snacko wrote:Any git repository = clone if it's not the original (but clone == original in content). Those at gitorious are personal server side clones which everyone can see and clone from. If you just clone locally then others would need to access your computer to clone from.
do people who create server side clones also have to clone locally to use EGit?
"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 » 23 Jul 2011, 19:40
You can have an infinite number of branches in your server side clone. It's more like a whole copy of svn repository along with your changes / branches.Braids wrote:so, a server side clone is like a public personal branch?Snacko wrote:Any git repository = clone if it's not the original (but clone == original in content). Those at gitorious are personal server side clones which everyone can see and clone from. If you just clone locally then others would need to access your computer to clone from.
do people who create server side clones also have to clone locally to use EGit?
In git you can have any number of remote repositories that you want to pull from /push to.
In Egit terms:
In Window>Show view>Git repository
Now find Remotes node and expand it.
You should see one subnode 'origin', which is the default name for a remote reposiotory.
To add a new remote just right click on Remotes node and select Create Remote.
Now configure the address for your remote gitorious clone. You can define which if any tags / branches you want to push or map to.
Now you should see a new subnode under Remotes. You can fetch / push to your other repository now.
You can add as many remote repositories as you need to.
You can configure the pushes for example that you only push some branches to your private repo and only master to the main repo. If you have questions how to set this up I can write this too.
As a quick disclaimer, you need to push changes from main repository to your private, because it wont update automagically.
Yes (if you mean clone main repo), because the server side clone is a bare repository just like the main repo. Also as noted before you have to update your clone yourself. Data in the private clone stays at the revision you cloned at.do people who create server side clones also have to clone locally to use EGit?
Also if you ever use rebase feature of git don't publish the branch you rebase to general public. This leads to anyone who clones your repo will have a corrupted git index which can't be easily fixed. The standard procedure is to reclone your whole repo.
Re: does dmca push us further toward distributed rev control
by jeffwadsworth » 23 Jul 2011, 20:11
To the HowTo contributors. You may want to include a section on actually building Forge using this Maven deal...
- 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 Jaedayr » 23 Jul 2011, 20:12
I am running WinXP. I just downloaded and installed JDK 1.6 u26 but it doesn't seem to make any difference in the errors.you need to install java 6 for your mac that includes the javac program. yes, with a c at the end. this is probably described as some sort of java 6 developer package. you might be able to find something from http://developer.apple.com/technologies/mac/features.html. it's actually quite hard to find.
Last edited by Jaedayr on 23 Jul 2011, 20:49, edited 1 time in total.
Re: does dmca push us further toward distributed rev control
by Braids » 23 Jul 2011, 20:44
oh, my mistake. have you tried Window menu, Preferences item, Java category, Installed JREs category, and pressing the Search button?Jaedayr wrote:I am running WinXP. I just downloaded and installed JDK 1.6 u26 but it doesn't seem to make any difference in the errors.Braids wrote:you need to install java 6 for your mac that includes the javac program. yes, with a c at the end. this is probably described as some sort of java 6 developer package. you might be able to find something from http://developer.apple.com/technologies/mac/features.html. it's actually quite hard to find.
if that' doesn't work, i suggest closing eclipse, uninstalling all of your jdks and jres (in that order), reboot, install the latest jdk 6, reboot, then see if that helps.
"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 Chris H. » 23 Jul 2011, 21:25
Ah, a Personal clone is like Braids trunk build on the SVN except that the Personal clone is located on your own computer at not at the server farm at google.
-
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: No registered users and 42 guests