Commit Graph

55 Commits

Author SHA1 Message Date
Peter Sauerbrei
ae83bee365 UE-19835 - fix for being able to stage the same file to multiple places
#uat

[CL 2683233 by Peter Sauerbrei in Main branch]
2015-09-08 12:48:02 -04:00
Ben Marsh
3d6c0e0a81 Convert target receipts to JSON, so they can be read early at startup like version manifests, and unify the way that target receipts and version manifests are loaded and saved.
[CL 2669100 by Ben Marsh in Main branch]
2015-08-26 08:25:10 -04:00
Ben Marsh
08a11f1fc9 Move RequireFilesToExist out of target receipts; it's just internal state for UAT, and doesn't belong there.
[CL 2661231 by Ben Marsh in Main branch]
2015-08-19 13:35:56 -04:00
Ben Marsh
0029698e42 Handle cases where BootstrapPackagedGame is read only.
[CL 2632082 by Ben Marsh in Main branch]
2015-07-24 08:17:01 -04:00
Ben Marsh
dd08437233 Rename BuildReceipt to TargetReceipt, to clarify its purpose.
[CL 2629145 by Ben Marsh in Main branch]
2015-07-22 13:10:12 -04:00
Peter Sauerbrei
e8d08e52fd UEB-117 - Move secure signing to the platforms
#codereview ben.marsh

[CL 2616956 by Peter Sauerbrei in Main branch]
2015-07-10 14:06:52 -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
ad60a7df56 fix for not finding plugins properly when running a packaged content-only game
UE-16540
#codereview ben.marsh

[CL 2576351 by Peter Sauerbrei in Main branch]
2015-06-03 18:25:44 -04:00
Ben Marsh
b2e72a89ad Allow staging runtime dependencies for all platforms, not just windows. Leave staging build products from receipts as opt-in, since most platforms already have custom code to deal with it.
[CL 2544488 by Ben Marsh in Main branch]
2015-05-09 11:37:24 -04:00
Ben.Marsh
2cae86c86f [INTEGRATE] Change 2534940 by Ben.Marsh@Ben.Marsh_T3245_Main on 2015/05/02 14:40:19
Fix name of bootstrap executable when packaging content-only projects. Should be ProjectName.exe, not UE4Game.exe.

[CL 2534943 by Ben Marsh in Main branch]
2015-05-02 14:41:23 -04:00
Josh Adams
9fd07ce722 - Made some changes to allow receipt based packaging to work with the Desktop platform. One hacky bit remains that I have entered a JIRA for [UE-14120]
#codereview ben.marsh

[CL 2519643 by Josh Adams in Main branch]
2015-04-21 14:25:42 -04:00
Ben Marsh
43a8c55dab Use build receipts to figure out what needs to be staged for Windows.
#codereview Marcus.Wassmer, Josh.Adams

[CL 2506770 by Ben Marsh in Main branch]
2015-04-09 10:13:10 -04:00
Josh Adams
86f2e08a55 - Added support for DesktopPlatform to package content and executables together (editor's File | Package)
- This is a first pass
  - Mac uses data outside the .app so that there's only one copy of the content. This should get a bootstrap executable like Windows has
  - Only tested on Mac so far, although it doesn't handle D3D11 shaders, or some of the icon updating for the bootstrap working
- Added Desktop platform icons

[CL 2505866 by Josh Adams in Main branch]
2015-04-08 16:59:20 -04:00
Ben Marsh
1fb275c1d9 Allow preventing the creation of a UE4CommandLine.txt if the target platform doesn't need one. Windows stages a bootstrap executable which directly launches the game with the project argument, and now that it can parse UE4CommandLine.txt too (it used to be staged even though it was always ignored), it causes the final command line to duplicate the project argument.
[CL 2502113 by Ben Marsh in Main branch]
2015-04-04 15:11:53 -04:00
Josh Adams
2dd1978156 - Fixed packaging error [UE-12571]
[CL 2497562 by Josh Adams in Main branch]
2015-03-31 14:58:59 -04:00
Matthew Griffin
728ea31018 Removed unnecessary code forcing Rocket build to use Development now that DebugGame is an option. Opted to retain the same intermediate folder naming though as these are technically always development.
Added IsEngineInstalled function to UBT to better explain why some of the Rocket code is different.

#codereview Ben.Marsh

[CL 2472268 by Matthew Griffin in Main branch]
2015-03-09 07:59:37 -04:00
Bart Bressler
ecdb763c35 Upgrade Steamworks to 1.32
#codereview josh.markiewicz

[CL 2467022 by Bart Bressler in Main branch]
2015-03-02 17:24:21 -05:00
Ben Marsh
e8b5b6af5b [INTEGRATE] Change 2444921 by Nick.Whiting@z2421_SSD on 2015/02/13 12:26:29
UEBP-34 - Integrate Leap Motion Plugin and Samples to UE4

	And because I can't lockdown myself...
	#lockdown james.golding

[CL 2458565 by Ben Marsh in Main branch]
2015-02-24 11:40:51 -05:00
Matthew Griffin
c06f1b7c4c [INTEGRATE] Change 2449441 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/02/17 18:57:48
Only stage CEF3 if bUsesCEF3 is set to true in the game's target.cs file. Fix for UE-9983.

	#codereview Josh.Adams, Matthew.Griffin, Peter.Knepley

[CL 2450041 by Matthew Griffin in Main branch]
2015-02-18 09:18:51 -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 Knepley
25a57ce282 Merging staging adjustments for non-monolithic builds
//depot/UE4-UT/...

to //depot/UE4/...

[CL 2420803 by Peter Knepley in Main branch]
2015-01-27 14:22:10 -05:00
Peter Knepley
d6b8aaebe8 Merging stage non-monolithic adjustment
//depot/UE4-UT/...

to //depot/UE4/...

[CL 2418798 by Peter Knepley in Main branch]
2015-01-26 12:47:16 -05:00
Peter Knepley
51790a730f Stage non-monolithic support for non-Development builds
[CL 2416062 by Peter Knepley in Main branch]
2015-01-22 18:17:16 -05:00
Matthew Griffin
864bb47720 Missed comma
[CL 2408775 by Matthew Griffin in Main branch]
2015-01-16 09:27:40 -05:00