Commit Graph

601 Commits

Author SHA1 Message Date
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
6b93b48172 Fix log output location to be symmetrical
[CL 2614421 by Wes Hunt in Main branch]
2015-07-08 20:02:18 -04:00
bruce nesbit
2393775b56 Added support for shared packs to builder
#codereview ben.marsh

[CL 2613710 by bruce nesbit in Main branch]
2015-07-08 12:53:50 -04:00
Ben Marsh
66c2c56514 Move all GUBP legacy state variables into GUBPBranchConfig.
[CL 2613382 by Ben Marsh in Main branch]
2015-07-08 08:05:50 -04:00
Ben Marsh
2f02ad3592 Move handling of the GUBPNodes and GUBPAggregateNodes dictionaries out into LegacyBranchSetup.
[CL 2612854 by Ben Marsh in Main branch]
2015-07-07 16:34:24 -04:00
Marcus Wassmer
91aee7e0be Only generate obsolete manifests when deploying. Don't want to attempt to retreive manifests when there are no devices
#codereview Chris.Babcock

[CL 2612732 by Marcus Wassmer in Main branch]
2015-07-07 15:08:08 -04:00
Marcus Wassmer
f66a43bcac Add Obsolete file Manifest for deployment. Platforms can delete unreferenced files easily now to clean up the deployment area.
[CL 2611240 by Marcus Wassmer in Main branch]
2015-07-06 12:52:16 -04:00
Daniel Lamb
36568c0f27 Added support for multiprocess cooking into unreal frontend.
Fixes for multiprocesscooking.

[CL 2611006 by Daniel Lamb in Main branch]
2015-07-06 10:03:34 -04:00
Ben Marsh
9629faba9c Change aggregates to be a different class hierarchy to regular build nodes. They don't have many properties in common; they're never actually executed, so they have to be manually filtered out before passing to EC and handled specially when traversing the graph, and they don't suffer the same limitations with being behind a single trigger. Instead of being included in the graph directly, references to them are expanded out to their dependencies when the graph is linked.
[CL 2610562 by Ben Marsh in Main branch]
2015-07-04 09:37:13 -04:00
Ben Marsh
ce757909c5 Convert a few GUBP variables into instance variables rather than statics.
[CL 2610508 by Ben Marsh in Main branch]
2015-07-03 14:55:27 -04:00
Timothy Reynolds
9cb4b611b6 Button added under File -> Package Project for zipping up the project. Allows you to choose desired location. Filters applied to zip only necessary information.
UE-17086

#codereview Matt.Kuhlenschmidt

[CL 2609763 by Timothy Reynolds in Main branch]
2015-07-02 17:08:22 -04:00
Graeme Thornton
641adb6529 Dependency preloading stuff
- Generate a new cooker file open log for unrealpak to use if it can't find a game file order
 - Add dependency data into the "mini" asset registry
 - Load mini asset registry at runtime and use it to load package dependencies BEFORE opening the requested package. Hopefully, all in the same order as the cooker file log

[CL 2608850 by Graeme Thornton in Main branch]
2015-07-02 06:43:49 -04:00
Ben Marsh
8031112b2e Make ActivePlatforms a local variable for the purposes of branch setup. Also fix FortniteAutoTestNode adding references to Linux nodes, even if Linux is not available.
[CL 2607801 by Ben Marsh in Main branch]
2015-07-01 14:08:12 -04:00
bruce nesbit
c04cdb06e5 Temporarily removed shared feature pack names from CurrentFeaturePacks list
[CL 2606386 by bruce nesbit in Main branch]
2015-06-30 16:17:24 -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
bruce nesbit
98e35cf237 Added shared feature packs to list in rocket build list
[CL 2605649 by bruce nesbit in Main branch]
2015-06-30 10:06:41 -04:00
Ben Marsh
da46bb2941 Separate temp storage into its own class, rather than being part of CommandUtils.
[CL 2597682 by Ben Marsh in Main branch]
2015-06-23 15:31:37 -04:00
Ben Marsh
c1d7e92a22 Move GUBP into its own project.
[CL 2593354 by Ben Marsh in Main branch]
2015-06-19 09:12:47 -04:00
smokku
4279c09dda Unshelved from pending changelist '2589055':
PR #1262: AutomationTool unused variables cleanup (Contributed by smokku)

[CL 2589813 by Terence Burns in Main branch]
2015-06-17 04:54:04 -04:00
Josh Adams
b6e6bb26c4 - Fixed UAT to not error out when building for the unified Desktop platform (recent change with receipts and XP had to be fixed up a little)
#codereview terence.burns

[CL 2588696 by Josh Adams in Main branch]
2015-06-16 11:23:20 -04:00
Peter Sauerbrei
882f79f039 Changes to reduce log spew in stdout for UAT and GUBP
UEB-156
#uat
#codereview ben.marsh, robert.manuszewski

[CL 2588630 by Peter Sauerbrei in Main branch]
2015-06-16 10:42:46 -04:00
Peter Sauerbrei
a0a23ac68f removed the need for BlankProject from UAT unless you use the foreign option
UEB-73
#uat

[CL 2584811 by Peter Sauerbrei in Main branch]
2015-06-11 15:58:47 -04:00
Kellan Carr
ce4af8c597 build script, fix for -game on code projects that no longer contain promotion
[CL 2582916 by Kellan Carr in Main branch]
2015-06-10 12:59:45 -04:00
Ben Marsh
e0a010415b Treat shadow variable warnings as errors in non-unity builds.
[CL 2582001 by Ben Marsh in Main branch]
2015-06-09 18:14:52 -04:00
Saul Abreu
0d934fc742 Removed execution of translated word counts calculator for UDN files from the localization automation script for UE4.
[CL 2581851 by Saul Abreu in Main branch]
2015-06-09 17:04:19 -04:00