function hadoopCompiler(varargin)

%HADOOPCOMPILER Hadoop Compiler app
%
% HADOOPCOMPILER will be removed in a future release. Use mcc instead.
%
% This function will start the Hadoop Compiler. You can create, build
% and package Hadoop deployment projects using the Hadoop Compiler app.
%
% USAGE:
% hadoopCompiler will start the app with an empty Hadoop MapReduce project.
%
% hadoopCompiler projectname will open an existing project in the
% app. If the project does not exist, an error will be generated and the
% program will exit.
%
% See also deploytool, mcc

% Copyright 2014-2022 MathWorks, Inc.

narginchk(0,1)

% Verify Compiler license
status = license('checkout','Compiler');
if ~status
error(message('Compiler:deploytool:license_checkout_error'))
end

warning(message('Compiler:deploytool:HadoopCompilerToBeRemoved'));

compiler.internal.launchui(mfilename,varargin{:})