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
guidelines:gamebots_maven [2012/02/08 11:46]
martin.cerny
guidelines:gamebots_maven [2012/02/15 11:57]
martin.cerny
Line 13: 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 75: Line 75:
                                             <type>zip</type>                                             <type>zip</type>
                                             <outputDirectory>${udk.home}</outputDirectory>                                             <outputDirectory>${udk.home}</outputDirectory>
 +                                            <overWrite>true</overWrite>
                                         </artifactItem>                                         </artifactItem>
                                     </artifactItems>                                                                 </artifactItems>                            
Line 96: Line 97:
                                 <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>
guidelines/gamebots_maven.txt · Last modified: 2012/02/15 11:57 by martin.cerny