Commit Graph

91 Commits

Author SHA1 Message Date
Ben Marsh
0aa484bda0 Toolchains are now instanced to allow storing project and target specific configuration details. Required for UBT to support multiple targets. Removed IUEToolChain, which wasn't being used directly.
[CL 2707252 by Ben Marsh in Main branch]
2015-09-27 13:05:49 -04:00
Ben Marsh
57097692aa Change deployment context and project params to use file references rather than raw paths.
[CL 2707182 by Ben Marsh in Main branch]
2015-09-26 14:41:15 -04:00
Ben Marsh
385dcb4a3d Instance deployment handlers, rather than having a single shared instance. Required to support multiple build targets in UBT. Creation is through a method on the UEBuildPlatform.
[CL 2706031 by Ben Marsh in Main branch]
2015-09-25 08:37:49 -04:00
Peter Sauerbrei
1c13d7d910 Addition of mobile provision selection
no error messaging as of yet when selecting something which then expires

[CL 2697295 by Peter Sauerbrei in Main branch]
2015-09-18 13:42:25 -04:00
Peter Sauerbrei
34146c450d refactored Log to LogLog and LogConsole to Log
#uat

[CL 2662556 by Peter Sauerbrei in Main branch]
2015-08-20 09:37:11 -04:00
Ben Marsh
47c58ec57c Rename the ErrorCodes enum to ExitCode, and ErrorCodes.Error_Success to ExitCode.Success.
[CL 2662478 by Ben Marsh in Main branch]
2015-08-20 08:38:09 -04:00
buildmachine
ce42430211 Code documentation from CL#2636592
[CL 2636758 by buildmachine in Main branch]
2015-07-29 07:47:34 -04:00
Peter Sauerbrei
dc1d815f84 refactored the logging system for UAT/UBT to be more like UE4
we now use an enum similar to UE4 with Fatal, Error, Warning, Display, Log, Verbose, and VeryVerbose
Log will only go to the log file unless -verbose is passed on the command line
reduced some of the output from UAT to be Log only

[CL 2631062 by Peter Sauerbrei in Main branch]
2015-07-23 14:51:46 -04:00
Wes Hunt
7fa290bb33 Summary: running UAT from VS is simpler and faster.
UEB-261 - Ensure that compiling AutomationTool in VS will compile all other Automation Projects
* Just set AutomationTool as your startup project and pass the command to execute.
* VS will build the script modules at build time, instead of every time at runtime.
* To make this happen, "UBT.exe -ProjectFiles" now generates a companion AutomationTool.csproj.References that make AutomationTool depend on all Automation modules.
* AutomationTool.exe defaults to not building script modules at runtime. Pass -compile if you want to dynamically build them.
* Without the .references file, AutomationTool will only build itself and you will need to pass -compile.
* RunUAT.bat still works that same, defaulting to runtime compilation and supporting -nocompile flag. It then passes -compile (or nothing) to AutomationTool.

Other
* All Automation projects target .Net 4.5. Some already were and had hard dependencies on them (Rocket and SyncGithub -> Octokit). Now that AutomationTool directly depends on them, everything had to use .Net 4.5.
* Decoupled logic for -NoCompile and -NoCompileEditor. The flags are still confusing, but -NoCompile is no longer linked to -NoCompileEditor.
* Had to leave in stub support in UAT for -NoCompile else RunUAT.bat passes it along and UAT complains that it doesn't understand it.
* Added a CommandUtils.Run option to support run command, but still output the run duration.
* Reduced the verbosity when UAT.proj is run from dozens of lines per module to a single Module -> Output line. It was looking like there were problems, but it was just msbuild spew.
#codereview:ben.marsh

[CL 2615060 by Wes Hunt in Main branch]
2015-07-09 10:15:37 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00
Peter Sauerbrei
05e307eccd messaging for when instruments launch fails
UE-12395, UE-9979
#ios

[CL 2546258 by Peter Sauerbrei in Main branch]
2015-05-11 19:34:55 -04:00
Peter Sauerbrei
6ad20d0cb2 fix for missing extension when checking for iOS executable on PC (needs a .stub)
UE-9471
#ios
#codereview terence.burns, josh.adams

[CL 2438899 by Peter Sauerbrei in Main branch]
2015-02-09 17:55:04 -05:00
Peter Sauerbrei
326af37151 fix for deploying the development executable instead of the specified executable to the payload directory
UE-7226
#ios

[CL 2435948 by Peter Sauerbrei in Main branch]
2015-02-06 15:44:00 -05:00
Terence Burns
9634f75278 UE-8433
Fix for missing checks for IOS UE4Game binaries in the Windows Editor

[CL 2433858 by Terence Burns in Main branch]
2015-02-05 12:47:11 -05:00
Josh Adams
e889589983 - Fixing OBB In APK with Launch On [UE-9150]
[CL 2432773 by Josh Adams in Main branch]
2015-02-04 20:05:59 -05:00
Terence Burns
6f98decbcd UE-8433
Added an error code for missing ue4game binaries when packaging a non code project.
Added a check in main frame actions to determine whether we display a dialog with the error message in it.

Fix for incorrect IOS stub path being logged
Fix for incorrect Android apk path being generated for non ue4game renames in ::GetFinalApkName

[CL 2427458 by Terence Burns in Main branch]
2015-02-01 12:33:30 -05:00
Peter Sauerbrei
03e68d8a28 fix for path separators on Mac
UE-8395
#ios

[CL 2424487 by Peter Sauerbrei in Main branch]
2015-01-29 17:04:04 -05:00
Peter Sauerbrei
aaa32eb119 fix for missing App directory when generating the plist on mac.
#ios

[CL 2420518 by Peter Sauerbrei in Main branch]
2015-01-27 11:47:26 -05:00
Peter Sauerbrei
1022227e33 fix for not generating the plist when changing content only projects
UE-8293
#ios

[CL 2419089 by Peter Sauerbrei in Main branch]
2015-01-26 15:42:02 -05:00
Peter Sauerbrei
dd68f2131d updates to generate plist as part of a build which moves all of the plist data in to the ini files
UEPLAT-114
#ios

[CL 2414979 by Peter Sauerbrei in Main branch]
2015-01-22 00:20:01 -05:00
Peter Sauerbrei
68da2ee57e fix for trying to delete a directory that doesn't exist
UE-7640
#ios

[CL 2411002 by Peter Sauerbrei in Main branch]
2015-01-19 11:44:55 -05:00
Peter Sauerbrei
f632b947fd fix for failure message when closing iOS game from Launch On
UE-5146
#ios

[CL 2402395 by Peter Sauerbrei in Main branch]
2015-01-09 17:44:23 -05:00
Marcus Wassmer
50304bc878 Implement iterative deploy for PS4
games also now sandbox their own files on /data/.
#codereview peter.sauerbrei,lee.clark

[CL 2393136 by Marcus Wassmer in Main branch]
2014-12-18 17:37:28 -05:00
Peter Sauerbrei
376e80fc53 UE-6681 Cook on the Fly on iOS wait loop
fixed issue with PC side never making a process which the cross platform code used to determine if it was done or not.
#ios

[CL 2391250 by Peter Sauerbrei in Main branch]
2014-12-17 11:17:53 -05:00
Michael Trepka
98dc0aa5fe Removed conditional inclusion of most platform files in UBT project so the same project can be used in Visual Studio and Mono Develop/Xamarin Studio, removed _Mono UBT and UAT projects, updated automation scripts to be compatible with Mono 3.10
[CL 2388812 by Michael Trepka in Main branch]
2014-12-15 15:28:22 -05:00