Commit Graph

144 Commits

Author SHA1 Message Date
ben marsh
0f201db161 Add support for UAT script projects using foreign engine builds, and for game projects to output binaries under their own project directory.
* UAT will now read each *.Automation.csproj file to determine the output path, and load from there rather than just loading anything under Engine\Binaries\AutomationScripts.
* When compiling *.Automation.csproj files, UAT will set the $(EngineDir) directory to the current engine directory, allowing the project to resolve assembly references to the correct location.
* When generating project files, UBT will create an *.Automation.csproj.props file next to the project containing the path to the engine directory, allowing the assembly to be compiled correctly from Visual Studio.

#rb none
#jira UE-77934

#ROBOMERGE-SOURCE: CL 11601626 in //UE4/Release-4.25/... via CL 11601635
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533)

[CL 11601659 by ben marsh in Main branch]
2020-02-25 09:26:12 -05:00
Ben Marsh
0e6aa011b3 Copying //UE4/Dev-Build @ CL 11166028 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11166227 by Ben Marsh in Main branch]
2020-01-29 14:48:18 -05:00
ryan durand
282b7051e2 Fixing an edge case crash when trying to word wrap a very long "word" and the current sentence is already full.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10955034 via CL 10972174 via CL 10972336
#ROBOMERGE-BOT: (v632-10940481)

[CL 10972496 by ryan durand in Main branch]
2020-01-13 19:33:59 -05:00
ben marsh
03ae195b79 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536 via CL 10870955
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v624-10872983)

[CL 10876681 by ben marsh in Dev-Build branch]
2020-01-05 17:24:44 -05:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
MilkyEngineer
f6c91ff260 PR #6412: FIX: Added support for FileReference to fix serialisation of RemoteMac.SshPrivateKey (Contributed by MilkyEngineer)
#rb none

[CL 10488810 by Ben Marsh in Dev-Build branch]
2019-12-02 15:32:14 -05:00
Ryan Durand
e2eeda3ff3 Refactor how we find child process IDs.
#rnx
#rb ben.marsh
#jira none

[CL 10075533 by Ryan Durand in Dev-Build branch]
2019-11-07 16:18:10 -05:00
Ryan Durand
cd14b5d4ac Adding WriteFileTask so we can write out a "build complete" file onto the share so the stuff Rene is working on can upload the build.
#rnx
#rb ben.marsh
#jira none

[CL 9749288 by Ryan Durand in Dev-Build branch]
2019-10-22 15:08:57 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Andrew Grant
bf5ae63b7f Restoring changes from 9530618 with -
- Don't fall through to an exception if an Exists() clause fails
- Don't use an inline function for recursion (older .net versions?)
- Remove project reference in Gauntlet that was being added by new Platform/* wildcard

#fyi luke.thatcher, marc.audy
#jira UE-81525
#rb na

[CL 9537797 by Andrew Grant in Main branch]
2019-10-10 11:44:17 -04:00
Andrew Grant
54c420f6ac Undo //UE4/Main/Engine/Source/Programs/... changelist 9530618
#jira #rb na

[CL 9534305 by Andrew Grant in Main branch]
2019-10-10 10:39:08 -04:00
Andrew Grant
1e1d6f7e6e Fixing odd issue on builders with nested function
#jira na
#rb marc.audy

[CL 9534192 by Andrew Grant in Main branch]
2019-10-10 10:34:51 -04:00
Andrew Grant
b334dd8b98 The "platforms as plugins" work exposed two awesome issues...
1) The CsProjectinfo class was not processing <Choose> nodes so ItemGroups within those nodes were not having their compile files parsed

2) The CsProjectInfo class only supported fully formed paths, not the wildcard syntax that csproj files can use.

This CL corrects both of these by adding the following -

* <Choose> nodes are now descended into and their elements are processed.
* The condition evalutor now supports the Exists statement (e.g. Exists(path))
* Wildcard include statements are expanded into a list of files. File wildcards (Foo/*.cs), path wildcards (Foo/*/*.cs), and greedy wildcards (Foo/**) are all supported.

As part of this work the Gauntlet.csproj file has been modified to use wildcards.

#review-9493793 @ben.marsh,@luke.thatcher
#jira UE-81525
#rb reviewed

[CL 9530618 by Andrew Grant in Main branch]
2019-10-10 08:54:46 -04:00
bob tellez
8caa83dfc9 #UE4 Added copyright
[FYI] Ben.Marsh


#ROBOMERGE-SOURCE: CL 9421562 via CL 9421564 via CL 9421566 via CL 9421568 via CL 9422709
#ROBOMERGE-BOT: (v480-9420520)

[CL 9423042 by bob tellez in Main branch]
2019-10-04 16:48:38 -04:00
ben marsh
69d578b959 UBT: Add unique error messages for every site that can throw an exception when creating managed processes. Also retry creating a process if it fails with ERROR_ACCESS_DENIED, which we seem to be seeing intermittently on the builders.
#ROBOMERGE-SOURCE: CL 9420558 via CL 9420568 via CL 9420572 via CL 9420589 via CL 9422358
#ROBOMERGE-BOT: (v480-9420520)

[CL 9422426 by ben marsh in Main branch]
2019-10-04 16:19:09 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
ben marsh
66a035ff0e Fix exception stack traces being stomped when starting ManagedProcess instances.
#ROBOMERGE-SOURCE: CL 9412980 via CL 9412981 via CL 9412982 via CL 9412983 via CL 9412984
#ROBOMERGE-BOT: (v456-9359915)

[CL 9412985 by ben marsh in Main branch]
2019-10-04 00:33:51 -04:00
Ben Marsh
e0863b14d9 Improve error output when a file force-move fails. Show the file being moved, and actions that were taken to try and force the operation.
#rb none

[CL 9411488 by Ben Marsh in Dev-Build branch]
2019-10-03 22:47:24 -04:00
Ben Marsh
28572de2c0 Add functionality to issue commands to UGS servers to BuildAgent tool.
#rb none

[CL 9318529 by Ben Marsh in Dev-Build branch]
2019-10-01 13:55:24 -04:00
Ben Marsh
aadbcfea01 Updates to BuildAgent executable. Fix a few issues with the EC post-processor, and make it easier to pass command line arguments to the child process for a run command.
#rb none
#rnx

[CL 9317220 by Ben Marsh in Dev-Build branch]
2019-10-01 12:20:54 -04:00
Ben Marsh
3a34baed5e Merge log parser into WorkspaceTool (now renamed to "BuildAgent"). Also add some common functionality into DotNETUtilities.
#rb none

[CL 9233706 by Ben Marsh in Dev-Build branch]
2019-09-27 16:21:33 -04:00
Ben Marsh
6e309d2c22 UAT: Move functionality for creating attribute-driven help pages into DotNETCommon.
#rb none
#rnx

[CL 9153728 by Ben Marsh in Dev-Build branch]
2019-09-26 13:31:07 -04:00
Ben Marsh
ddf7620797 UBT: Fix parsing of nullable arguments passed via command line arguments.
#rb none
#fyi pj.kack
#rnx

[CL 8382982 by Ben Marsh in Dev-Build branch]
2019-08-30 09:07:48 -04:00
Ben Marsh
f0b21050a3 Add a "GenerateClangDatabase" mode to UBT, which will generate a compile_commands.json file in the workspace root directory for Clang tooling. Filter which files to include using the -Filter=... argument (eg. -Filter=QAGame/Source/...).
Example usage:

UnrealBuildTool.exe UnrealPak Win64 Development -Mode=GenerateClangDatabase -Filter=Engine/Source/Programs/...

#rb none

[CL 8121646 by Ben Marsh in Dev-Build branch]
2019-08-19 21:09:01 -04:00
Ryan Durand
1cda6a5d08 A couple of files that got missed in the Horde check in.
#rnx
#rb none
#jira none

[CL 8042290 by Ryan Durand in Dev-Build branch]
2019-08-14 16:24:58 -04:00