Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
guidelines:gamebots_maven [2012/02/08 11:43]
martin.cerny
guidelines:gamebots_maven [2012/02/10 14:48]
martin.cerny
Line 1: Line 1:
 ====== Installing gamebots as a part of Maven build ====== ====== Installing gamebots as a part of Maven build ======
  
-(this is a work in progress page) 
 Following procedure is considered best practice to deploy Gamebots and other extensions to UDK along with your project. Following procedure is considered best practice to deploy Gamebots and other extensions to UDK along with your project.
  
-This article was written for PogamutUDK version 3.2.5. It should seamlessly apply to future versions and with further modifications it is applicable to Pogamut for other versions of unreal.+This article was written for PogamutUDK version 3.2.5. It should seamlessly apply to future versions and with further modifications it is applicable to Pogamut for other versions of unreal. This article was written by Martin Černý.
  
  
Line 14: Line 13:
 ===== Setting UDK home in settings.xml ===== ===== Setting UDK home in settings.xml =====
  
-As a convention the property for UDK installation dir is called udk.home. Since UDK installation dir is different on every system, it is a good idea to set it in your [[http://maven.apache.org/ref/3.0.4/maven-settings/settings.html|settings.xml]]. (in NetBeans you usually find your settings.xml under "Project files" folder of any Maven project). However specifying a property in your settings.xml is not the most straightforward thing, it is not such a hassle - you only need to declare a custom profile. Example follows:+As a convention the property for UDK installation dir is called udk.home. Since UDK installation dir is different on every system, it is a good idea to set it in your [[http://maven.apache.org/ref/3.0.4/maven-settings/settings.html|settings.xml]]. (in NetBeans you usually find your settings.xml under "Project files" folder of any Maven project). Although specifying a property in your settings.xml is not the most straightforward thing, it is not such a hassle - you only need to declare a custom profile. Example follows:
  
 <code xml> <code xml>
Line 97: Line 96:
                                 <configuration>                                 <configuration>
                                     <executable>${udk.home}/Binaries/UDKLift.exe</executable>                                     <executable>${udk.home}/Binaries/UDKLift.exe</executable>
-                                    <commandlineArgs>make -full</commandlineArgs><!-- Adding -full is important for first-time compilation -->+                                    <commandlineArgs>make</commandlineArgs>
                                 </configuration>                                 </configuration>
                             </execution>                             </execution>
Line 114: Line 113:
                 </dependency>                 </dependency>
             </dependencies>             </dependencies>
-        </profile>    </profiles>+        </profile>     
 +    </profiles>
 </code> </code>
  
guidelines/gamebots_maven.txt · Last modified: 2012/02/15 11:57 by martin.cerny