Changes between Version 5 and Version 6 of DeveloperGuideNew


Ignore:
Timestamp:
Nov 13, 2013 10:59:59 AM (4 years ago)
Author:
crabbe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuideNew

    v5 v6  
    1313== Initial Steps ==
    1414Because of the structure of the Multistage project, a few initial steps are required to set up your local Apache Maven repository before the platform can be compiled:
    15 1.  Build the Multistage base project, by navigating to the multistage root directory and running {{{mvn install:install}}} on the pom.xml file located there (or open the Multistage base project in NetBeans by Choosing ''Open Project'' and selecting the multistage directory, then right clicking on the open project and choosing ''Build''.
    16 2.  Build the Multistage plugins directory project, by navigating to the multistage/plugins directory and running {{{mvn install:install}}} on the pom.xml file located there (or open the Multistage plugins directory project in NetBeans by Choosing ''Open Project'' and selecting the multistage/plugins directory, then right clicking on the open project and choosing ''Build''.
     151.  Build the Multistage base project, by navigating to the multistage root directory and running {{{mvn install}}} on the pom.xml file located there (or open the Multistage base project in NetBeans by Choosing ''Open Project'' and selecting the multistage directory, then right clicking on the open project and choosing ''Build''.
     162.  Build the Multistage plugins directory project, by navigating to the multistage/plugins directory and running {{{mvn install}}} on the pom.xml file located there (or open the Multistage plugins directory project in NetBeans by Choosing ''Open Project'' and selecting the multistage/plugins directory, then right clicking on the open project and choosing ''Build''.
    1717
    1818Once these steps are taken, both the multistage project and multistage plugins directory project are compiled and installed in your local Maven repository, and the Multistage platform and individual plugins (which depend on these other projects) will be able to be compiled.
     
    2121To compile the multistage platform using your computer's system console, navigate to the project's {{{platform}}} subdirectory, and execute:
    2222{{{
    23 mvn install:install
     23mvn install
    2424}}}
    2525This should create a subdirectory in the {{{target}}} directory which contains everything necessary to run a session (once a game plugin for that session [http://multistage.ssel.caltech.edu/wiki/GamePlugins#InstallingAGamePlugin has been installed]).
     
    3434Similarly to building the whole platform using the maven executable, open the computer's console and navigate to the game plugin's directory (which is usually a subdirectory of the platform's {{{plugins}}} directory), and execute:
    3535{{{
    36 mvn install:install
     36mvn install
    3737}}}
    3838This will generate a set of directories containing a clean copy of the platform with this game plugin installed, which you can then execute.  If you wish to use the game plugin on a different Multistage installation, all that needs to be done is to copy the game's plugin directory from this installation to the new location.