From: Erik V. <eri...@hc...> - 2009-11-08 10:46:53
|
Brett, Thanks. I suppose you have compiled it under Java 1.6, because it did not run under my Java 1.5 because of a "version error". Fine with me, if this is really what we want. But I'm still maintaining code compatibility with Java 1.5. Would it still be possible to keep building Rails under Java 1.5? To make starting Rails by clicking on a saved file work, I had to tweak rails.bat. In the first place, to make Rails pick up the saved file name, %* (or possibly %1) needs be added to the end of the line. For rails.sh that will be $* or $1. For me, it was also necessary to put a cd into rails.bat, to enable Windows finding the jar file. Not sure if there's a better way to achieve that. My rails.bat now reads: cd c:\projects\rails\releases\rails-1.0.7-rc1 java -jar rails-1.0.7-rc1.jar %* Once this is in place, it works. Perhaps we should somehow publish instructions on how to make this work? One bug has crept in recently: I inadvertently had removed a DisplayBuffer.clear() statement, so that now, when a save file is loaded, all previous screen messages reappear. I will fix that. For the rest, on first sight all seems OK. Erik. > -----Original Message----- > From: brett lentz [mailto:wak...@gm...] > Sent: Sunday 08 November 2009 03:09 > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] 1.0.7-rc1 is up > > I've uploaded the release candidate for 1.0.7. Please test it, and > let us know if there are any bugs. > > I've also committed a preliminary build.xml file that compiles the > jar. It's rough, but functional. > > ---Brett. > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |