From: brett l. <wak...@gm...> - 2006-05-20 00:34:25
|
I've added checking for a company with no trains to Operating Round's done() method. It will disallow the person to continue until the company has at least one train. In the future, we'll need to check for the existence of a valid route, but for now all floated companies will need to have a train. I've also expanded the buyTrain() method in Portfolio to verify that the train buyer has enough cash to purchase the train. I've also included stubs for the rest of the train purchasing logic that should trigger a forced stock sale and/or bankruptcy and ending the game. The other change I've made to the code tree is the addition of an AUTHORS file. I've removed all of the @author javadoc statements from each individual file in favor of having a single file where we can recognize all of the people who have contributed to this project in various ways. In recognition of the HUGE contributions that Erik has made to the project, his name comes first. ;-) ---Brett. |
From: Erik V. <eri...@hc...> - 2006-05-20 13:46:49
|
> I've added checking for a company with no trains to Operating Round's > done() method. It will disallow the person to continue until the > company has at least one train. > > In the future, we'll need to check for the existence of a valid route, > but for now all floated companies will need to have a train. My preference would have been to leave it as is, until we have route checking. > I've also expanded the buyTrain() method in Portfolio to verify that > the train buyer has enough cash to purchase the train. I've also > included stubs for the rest of the train purchasing logic that should > trigger a forced stock sale and/or bankruptcy and ending the game. Today I'll try to make a start with that. > The other change I've made to the code tree is the addition of an > AUTHORS file. I've removed all of the @author javadoc statements from > each individual file in favor of having a single file where we can > recognize all of the people who have contributed to this project in > various ways. > > In recognition of the HUGE contributions that Erik has made to the > project, his name comes first. ;-) Thanks. Erik. |
From: Erik V. <eri...@hc...> - 2006-05-20 14:12:05
|
> > I've also expanded the buyTrain() method in Portfolio to verify that > > the train buyer has enough cash to purchase the train. I've also > > included stubs for the rest of the train purchasing logic > that should > > trigger a forced stock sale and/or bankruptcy and ending the game. > > Today I'll try to make a start with that. Hmm, but the bad news is that I can't synchronize for some reason. This is what Eclipse tells me about it: Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized. An error occurred synchronizing /18xx: Authentication error: com.jcraft.jsch.JSchException: Session.connect: java.net.NoRouteToHostException: No route to host: connect org.eclipse.team.internal.ccvs.core.connection.CVSAuthenticationException: Authentication error: com.jcraft.jsch.JSchException: Session.connect: java.net.NoRouteToHostException: No route to host: connect org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVS SSH2ServerConnection.java:151) org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2Serv erConnection.java:99) org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.ja va:127) org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createC onnection(CVSRepositoryLocation.java:575) org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openCon nection(CVSRepositoryLocation.java:821) org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:142) org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.fetchD elta(RemoteFolderTreeBuilder.java:219) org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildT ree(RemoteFolderTreeBuilder.java:187) org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildR emoteTree(RemoteFolderTreeBuilder.java:159) org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRemoteTree (CVSWorkspaceRoot.java:230) org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.fetchVar iant(CVSResourceVariantTree.java:100) org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractR esourceVariantTree.java:94) org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.refresh( CVSResourceVariantTree.java:303) org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractR esourceVariantTree.java:63) org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(Resourc eVariantTreeSubscriber.java:158) org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(Resourc eVariantTreeSubscriber.java:123) org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(RefreshSub scriberJob.java:290) org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) I did not change anything at my side. Any clue? Otherwise I'll retry later. Erik. |
From: brett l. <wak...@gm...> - 2006-05-20 17:30:21
|
On 5/20/06, Erik Vos <eri...@hc...> wrote: > > > I've also expanded the buyTrain() method in Portfolio to verify that > > > the train buyer has enough cash to purchase the train. I've also > > > included stubs for the rest of the train purchasing logic > > that should > > > trigger a forced stock sale and/or bankruptcy and ending the game. > > > > Today I'll try to make a start with that. > > Hmm, but the bad news is that I can't synchronize for some reason. > This is what Eclipse tells me about it: > > Problems reported while synchronizing CVS Workspace. 0 of 1 resources wer= e > synchronized. > An error occurred synchronizing /18xx: Authentication error: > com.jcraft.jsch.JSchException: Session.connect: > java.net.NoRouteToHostException: No route to host: connect Ahh... that's right. I forgot to announce it to the list. Sourceforge made some changes to their CVS servers. So, now instead of needing to access "cvs.sourceforge.net" you need to access "rails.cvs.sourceforge.net" More info is available at the sourceforge site: http://sourceforge.net/cvs/?group_id=3D132173 ----Brett. |