From: John D. G. <jd...@di...> - 2011-12-11 23:19:16
|
I want to create a new variant, but the .zip file doesn't seem to contain any XML, or for that matter any Java code. Where is it? (If I'm expected to use SVN or some newer gadget to get it, then I need instructions and passwords.) |
From: brett l. <bre...@gm...> - 2011-12-12 00:08:18
|
On Sun, Dec 11, 2011 at 6:19 PM, John David Galt <jd...@di...> wrote: > I want to create a new variant, but the .zip file doesn't seem to contain any > XML, or for that matter any Java code. Where is it? (If I'm expected to use > SVN or some newer gadget to get it, then I need instructions and passwords.) The source is available via the Git repository. Most of the basic instructions on cloning the git repository are here: http://sourceforge.net/projects/rails/develop It's basically just that single "git clone" command. There's a ton of documentation on learning Git located here: http://git-scm.com/documentation I'm looking forward to seeing your patches posted to the list when they're ready. :-) ---Brett. |
From: John D. G. <jd...@di...> - 2011-12-13 23:12:17
|
On 2011-12-11 16:07, brett lentz wrote: > On Sun, Dec 11, 2011 at 6:19 PM, John David Galt > <jd...@di...> wrote: >> I want to create a new variant, but the .zip file doesn't seem to contain any >> XML, or for that matter any Java code. Where is it? (If I'm expected to use >> SVN or some newer gadget to get it, then I need instructions and passwords.) > > The source is available via the Git repository. > > Most of the basic instructions on cloning the git repository are here: > http://sourceforge.net/projects/rails/develop > > It's basically just that single "git clone" command. > > There's a ton of documentation on learning Git located here: > http://git-scm.com/documentation OK, I've gotten that far (after installing Cygwin). But I can't tell what to do to build the code. "make_rails_pkg.sh" seems to be about creating a tarball, while I don't think I have either the programs that created "build.xml" and "buildRails.xml" or the ones that can use them. I have the latest JDK (7u2), but Cygwin installed its own version of Java and I'm not sure how you build a program under *either* version. If there's a "makefile" I haven't found it yet. > I'm looking forward to seeing your patches posted to the list when > they're ready. :-) Me, too. I've got a huge to-do list, about half bugs, half features. :) |
From: brett l. <bre...@gm...> - 2011-12-13 23:57:32
|
On Tue, Dec 13, 2011 at 5:49 PM, John David Galt <jd...@di...> wrote: > On 2011-12-11 16:07, brett lentz wrote: >> On Sun, Dec 11, 2011 at 6:19 PM, John David Galt >> <jd...@di...> wrote: >>> I want to create a new variant, but the .zip file doesn't seem to contain any >>> XML, or for that matter any Java code. Where is it? (If I'm expected to use >>> SVN or some newer gadget to get it, then I need instructions and passwords.) >> >> The source is available via the Git repository. >> >> Most of the basic instructions on cloning the git repository are here: >> http://sourceforge.net/projects/rails/develop >> >> It's basically just that single "git clone" command. >> >> There's a ton of documentation on learning Git located here: >> http://git-scm.com/documentation > > OK, I've gotten that far (after installing Cygwin). > > But I can't tell what to do to build the code. "make_rails_pkg.sh" seems to > be about creating a tarball, while I don't think I have either the programs > that created "build.xml" and "buildRails.xml" or the ones that can use them. > > I have the latest JDK (7u2), but Cygwin installed its own version of Java > and I'm not sure how you build a program under *either* version. If there's > a "makefile" I haven't found it yet. > I believe all of the build functionality is contained in the Ant build.xml, so you should be able to just run "ant build" to get the source to build. I believe you can install Ant via Cygwin's installer, too. For reference, Ant's docs are here: http://ant.apache.org/ >> I'm looking forward to seeing your patches posted to the list when >> they're ready. :-) > > Me, too. I've got a huge to-do list, about half bugs, half features. :) > ---Brett. |
From: John D. G. <jd...@di...> - 2011-12-14 01:39:04
|
On 2011-12-13 15:28, brett lentz wrote: > I believe all of the build functionality is contained in the Ant > build.xml, so you should be able to just run "ant build" to get the > source to build. I believe you can install Ant via Cygwin's installer, > too. > > For reference, Ant's docs are here: http://ant.apache.org/ Cygwin doesn't have ant, and maybe doesn't support it. I downloaded and unpacked the Ant distribution and set the PATH, but when I try to test the install by typing "ant" from the Cygwin shell, I get this: > $ ant > /cygdrive/c/Program Files/ant/bin/ant: line 2: $'\r': command not found > /cygdrive/c/Program Files/ant/bin/ant: line 17: $'\r': command not found > /cygdrive/c/Program Files/ant/bin/ant: line 24: syntax error near unexpected token > `$'do\r'' > 'cygdrive/c/Program Files/ant/bin/ant: line 24: `for arg in "$@" ; do > > Root@Mikey ~ > $ |
From: brett l. <bre...@gm...> - 2011-12-14 01:45:10
|
On Tue, Dec 13, 2011 at 8:38 PM, John David Galt <jd...@di...> wrote: > On 2011-12-13 15:28, brett lentz wrote: >> I believe all of the build functionality is contained in the Ant >> build.xml, so you should be able to just run "ant build" to get the >> source to build. I believe you can install Ant via Cygwin's installer, >> too. >> >> For reference, Ant's docs are here: http://ant.apache.org/ > > Cygwin doesn't have ant, and maybe doesn't support it. I downloaded and unpacked > the Ant distribution and set the PATH, but when I try to test the install by > typing "ant" from the Cygwin shell, I get this: > >> $ ant >> /cygdrive/c/Program Files/ant/bin/ant: line 2: $'\r': command not found >> /cygdrive/c/Program Files/ant/bin/ant: line 17: $'\r': command not found >> /cygdrive/c/Program Files/ant/bin/ant: line 24: syntax error near unexpected token > `$'do\r'' >> 'cygdrive/c/Program Files/ant/bin/ant: line 24: `for arg in "$@" ; do >> >> Root@Mikey ~ >> $ > Unfortunately, this is where we hit the limits on my knowledge of Cygwin. It's been a few years since I regularly did much of anything on a Windows machine. Does Google give you anything useful searching on that error? I believe Erik uses Windows, but I think he does everything through Eclipse, which has plugins for Git and built-in support for doing Ant builds from within the IDE. ---Brett. |
From: Erik V. <eri...@xs...> - 2011-12-14 10:37:14
|
> From: brett lentz [mailto:bre...@gm...] > On Tue, Dec 13, 2011 at 8:38 PM, John David Galt > <jd...@di...> wrote: > >> $ ant > >> /cygdrive/c/Program Files/ant/bin/ant: line 2: $'\r': command not > >> found /cygdrive/c/Program Files/ant/bin/ant: line 17: $'\r': command > >> not found /cygdrive/c/Program Files/ant/bin/ant: line 24: syntax error > near unexpected token > `$'do\r'' > >> 'cygdrive/c/Program Files/ant/bin/ant: line 24: `for arg in "$@" ; do > > Unfortunately, this is where we hit the limits on my knowledge of Cygwin. > It's been a few years since I regularly did much of anything on a Windows > machine. Does Google give you anything useful searching on that error? > > I believe Erik uses Windows, but I think he does everything through Eclipse, > which has plugins for Git and built-in support for doing Ant builds from within > the IDE. I don't do ant builds, I'm just running inside Eclipse (or from the Rails jar in case I'm looking back to past releases). But it seems to me that the commands you're running suffer from spurious CR ('\r') end-of-line characters. Perhaps you should convert some file(s) with dos2unix? Erik. |
From: brett l. <bre...@gm...> - 2011-12-12 00:14:34
|
On Sun, Dec 11, 2011 at 7:07 PM, brett lentz <bre...@gm...> wrote: > On Sun, Dec 11, 2011 at 6:19 PM, John David Galt > <jd...@di...> wrote: >> I want to create a new variant, but the .zip file doesn't seem to contain any >> XML, or for that matter any Java code. Where is it? (If I'm expected to use >> SVN or some newer gadget to get it, then I need instructions and passwords.) > > The source is available via the Git repository. > > Most of the basic instructions on cloning the git repository are here: > http://sourceforge.net/projects/rails/develop > > It's basically just that single "git clone" command. > > There's a ton of documentation on learning Git located here: > http://git-scm.com/documentation > > I'm looking forward to seeing your patches posted to the list when > they're ready. :-) > I just realized that I probably left out some details. There's no passwords or anything you need to obtain a copy of the source code. The Git repository can be cloned read-only by anyone that wants a copy of the source code. The code is licensed under the terms of the GPL (http://www.gnu.org/copyleft/gpl.html). If memory serves, it's licensed under "version 2 or later", so you can use it under the terms of either version 2 or version 3 of the GPL, whichever suits your preferences. Obtaining Git for your platform depends on which OS you're running. Most Linux distros have Git available in their package repositories. For Mac, it's available from MacPorts, Fink, or HomeBrew. For Windows, you can use Cygwin, MSysGit, or TortoiseGit. In addition, there's the Egit plugin for Eclipse, if you'd like to work with a full IDE. ---Brett. |
From: Stefan F. <ste...@we...> - 2011-12-12 11:13:05
|
Some more info about the Rails development setup is found here: http://sourceforge.net/apps/mediawiki/rails/index.php?title=Main_Page#Developer_Information The xml-configuration files reside inside the Rails jar file which itself is part of the released zip-file. On Linux the usual archive/zip-tools allow viewing/editing the jar-archives similar to zip-archives, I assume that is true for Windows/Mac too. This allows testing changes of the xml-files without installing a full development setup. However java-files are not part of the release. Stefan On Monday, December 12, 2011 01:14:06 am brett lentz wrote: > On Sun, Dec 11, 2011 at 7:07 PM, brett lentz <bre...@gm...> wrote: > > On Sun, Dec 11, 2011 at 6:19 PM, John David Galt > > > > <jd...@di...> wrote: > >> I want to create a new variant, but the .zip file doesn't seem to > >> contain any XML, or for that matter any Java code. Where is it? (If > >> I'm expected to use SVN or some newer gadget to get it, then I need > >> instructions and passwords.) > > > > The source is available via the Git repository. > > > > Most of the basic instructions on cloning the git repository are here: > > http://sourceforge.net/projects/rails/develop > > > > It's basically just that single "git clone" command. > > > > There's a ton of documentation on learning Git located here: > > http://git-scm.com/documentation > > > > I'm looking forward to seeing your patches posted to the list when > > they're ready. :-) > > I just realized that I probably left out some details. > > There's no passwords or anything you need to obtain a copy of the > source code. The Git repository can be cloned read-only by anyone that > wants a copy of the source code. > > The code is licensed under the terms of the GPL > (http://www.gnu.org/copyleft/gpl.html). If memory serves, it's > licensed under "version 2 or later", so you can use it under the terms > of either version 2 or version 3 of the GPL, whichever suits your > preferences. > > Obtaining Git for your platform depends on which OS you're running. > Most Linux distros have Git available in their package repositories. > For Mac, it's available from MacPorts, Fink, or HomeBrew. For Windows, > you can use Cygwin, MSysGit, or TortoiseGit. > > In addition, there's the Egit plugin for Eclipse, if you'd like to > work with a full IDE. > > ---Brett. > > --------------------------------------------------------------------------- > --- Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: <Dr....@t-...> - 2011-12-12 12:09:32
|
HI, and please be aware that outside of a vanilla implementation of the 1830 basic rules and the 1835 basic rules (maybe an 18EU and 1856 clone rulewise) most likely modifactions to game mechanics outside of the XML-configuration files will be necessary at this stage. Regards, Martin Von: Stefan Frey <ste...@we...> An: "Development list for Rails: an 18xx game" <rai...@li...> Betreff: Re: [Rails-devel] How do I get the source? Datum: Mon, 12 Dec 2011 12:16:40 +0100 Some more info about the Rails development setup is found here: http://sourceforge.net/apps/mediawiki/rails/index.php?title=Main_Page#Developer_Information The xml-configuration files reside inside the Rails jar file which itself is part of the released zip-file. On Linux the usual archive/zip-tools allow viewing/editing the jar-archives similar to zip-archives, I assume that is true for Windows/Mac too. This allows testing changes of the xml-files without installing a full development setup. However java-files are not part of the release. Stefan On Monday, December 12, 2011 01:14:06 am brett lentz wrote: > On Sun, Dec 11, 2011 at 7:07 PM, brett lentz wrote: > > On Sun, Dec 11, 2011 at 6:19 PM, John David Galt > > > > wrote: > >> I want to create a new variant, but the .zip file doesn't seem to > >> contain any XML, or for that matter any Java code. Where is it? (If > >> I'm expected to use SVN or some newer gadget to get it, then I need > >> instructions and passwords.) > > > > The source is available via the Git repository. > > > > Most of the basic instructions on cloning the git repository are here: > > http://sourceforge.net/projects/rails/develop > > > > It's basically just that single "git clone" command. > > > > There's a ton of documentation on learning Git located here: > > http://git-scm.com/documentation > > > > I'm looking forward to seeing your patches posted to the list when > > they're ready. :-) > > I just realized that I probably left out some details. > > There's no passwords or anything you need to obtain a copy of the > source code. The Git repository can be cloned read-only by anyone that > wants a copy of the source code. > > The code is licensed under the terms of the GPL > (http://www.gnu.org/copyleft/gpl.html). If memory serves, it's > licensed under "version 2 or later", so you can use it under the terms > of either version 2 or version 3 of the GPL, whichever suits your > preferences. > > Obtaining Git for your platform depends on which OS you're running. > Most Linux distros have Git available in their package repositories. > For Mac, it's available from MacPorts, Fink, or HomeBrew. For Windows, > you can use Cygwin, MSysGit, or TortoiseGit. > > In addition, there's the Egit plugin for Eclipse, if you'd like to > work with a full IDE. > > ---Brett. > > --------------------------------------------------------------------------- > --- Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel |