Home
last modified time | relevance | path

Searched refs:projectPath (Results 1 – 25 of 28) sorted by relevance

12

/developtools/packing_tool/adapter/ohos/
DConvertHapToBin.java52 String projectPath = file.getParent() + File.separator + OUTPUT_PATH; in packHapTobin() local
53 FileUtils.unzip(absHapPath.get(), projectPath); in packHapTobin() local
55 if (!BinaryTool.generateBinaryFile(projectPath, binPath)) { in packHapTobin()
60 FileUtils.deleteDirectory(projectPath); in packHapTobin()
71 public static boolean packProjectTobin(final String projectPath, final String binPath) { in packProjectTobin() argument
72 if (projectPath.isEmpty() || binPath.isEmpty()) { in packProjectTobin()
77 if (!FileUtils.checkFileIsExists(projectPath)) { in packProjectTobin()
81 Optional<String> absProjectPath = FileUtils.getFormatedPath(projectPath); in packProjectTobin()
101 String projectPath = ""; in main() local
109 projectPath = args[count + 1]; in main()
[all …]
/developtools/ace_js2bundle/ace-loader/
Dmain.product.js63 function loadEntryObj(projectPath, device_level, abilityType, manifestFilePath) { argument
67 const appJSPath = path.resolve(projectPath, 'app.js');
69 entryObj = addPageEntryObj(readManifest(manifestFilePath), projectPath);
74 entryObj['./app'] = path.resolve(projectPath, './app.js?entry');
78 entryObj = addPageEntryObj(readManifest(manifestFilePath), projectPath);
79 entryObj[`./${abilityType}`] = path.resolve(projectPath, `./${abilityType}.js?entry`);
84 entryObj[`./${abilityType}`] = path.resolve(projectPath, `./${abilityType}.js?entry`);
90 function addPageEntryObj(manifest, projectPath) { argument
98 const hmlPath = path.join(projectPath, sourcePath + '.hml');
106 entryObj['./' + element] = path.resolve(projectPath, './' + sourcePath + '.hml?entry');
[all …]
Dwebpack.lite.config.js119 process.env.projectPath = env.aceModuleRoot || process.env.aceModuleRoot || process.cwd();
120 …env.aceModuleBuild || process.env.aceModuleBuild || path.resolve(process.env.projectPath, 'build');
122 …process.env.aceManifestPath = process.env.aceManifestPath || path.resolve(process.env.projectPath,…
143 webpackConfig.entry = loadEntryObj(process.env.projectPath, process.env.DEVICE_LEVEL,
147 new ResourcePlugin(process.env.projectPath, process.env.buildPath,
160 process.env.projectPath,
161 path.join(process.env.projectPath, '../../../../../'),
167 if (fs.existsSync(path.resolve(process.env.projectPath, 'i18n'))) {
171 from: path.resolve(process.env.projectPath, 'i18n'),
Dwebpack.rich.config.js201 process.env.projectPath = env.aceModuleRoot || process.env.aceModuleRoot || process.cwd();
202 hashProjectPath(process.env.projectPath);
204 path.resolve(process.env.projectPath, 'build');
206 …process.env.aceManifestPath = process.env.aceManifestPath || path.resolve(process.env.projectPath,…
290 config.entry = loadEntryObj(process.env.projectPath, process.env.DEVICE_LEVEL,
292 existsPackageJson(config, path.resolve(process.env.projectPath, '../../../../../package.json'),
293 path.resolve(process.env.projectPath, '../../../../package.json'));
296 path.basename(process.env.projectPath));
299 new ResourcePlugin(process.env.projectPath, process.env.buildPath,
311 process.env.projectPath,
[all …]
/developtools/ace_ets2bundle/compiler/
Dwebpack.config.js49 const projectPath = path.resolve(projectConfig.projectPath);
108 projectPath,
129 path.basename(projectConfig.projectPath))
133 config.resolve.modules.push(...getResolveModules(projectPath, true));
134 existsPackageJson(config, path.resolve(projectPath, '../../../../../package.json'),
135 path.resolve(projectPath, '../../../../package.json'));
137 config.resolve.modules.push(...getResolveModules(projectPath, false));
138 existsPackageJson(config, path.resolve(projectPath, '../../../../package.json'),
139 path.resolve(projectPath, '../../../package.json'));
205 projectConfig.projectPath = path.join(process.cwd(), args[args.length - 1]);
[all …]
Dmain.js76 projectConfig.projectPath = projectConfig.projectPath || process.env.aceModuleRoot ||
79 path.resolve(projectConfig.projectPath, 'build');
82 path.join(projectConfig.projectPath, 'manifest.json');
88 hashProjectPath(projectConfig.projectPath);
127 projectConfig.entryObj['./' + staticPreviewPage] = projectConfig.projectPath + path.sep +
Drollup.config.js78 path.resolve(projectConfig.projectPath),
83 ...getResolveModules(path.resolve(projectConfig.projectPath), false) :
84 ...getResolveModules(path.resolve(projectConfig.projectPath), true)
/developtools/ace_js2bundle/ace-loader/src/
Dmanifest-loader.js19 let projectPath = process.env.aceModuleRoot || process.cwd(); variable
20 const manifestFilePath = process.env.aceManifestPath || path.resolve(projectPath, 'manifest.json');
Dloader-gen.js186 …let jsFileName = this.resourcePath.replace(process.env.aceSuperVisualPath, process.env.projectPath)
DcardJson-plugin.js57 …jsonOutKey, JSON.parse(jsonOut[jsonOutKey]), compilation, path.join(process.env.projectPath, key));
Dcompile-plugin.js64 if (module.context.indexOf(process.env.projectPath) >= 0) {
DgenAbc-plugin.js143 const projectI18nPath = outI18nPath.replace(output, process.env.projectPath);
145 path.resolve(__dirname, process.env.projectPath, 'i18n')) > -1) {
/developtools/ace_ets2bundle/compiler/src/fast_build/common/
Dprocess_project_config.ts51 path.resolve(projectConfig.projectPath, '**/*'),
59 const sharePath: string = path.resolve(projectConfig.projectPath, BUILD_SHARE_PATH);
63 path.resolve(projectConfig.projectPath, BUILD_SHARE_PATH, '**/*'),
/developtools/ace_ets2bundle/compiler/src/
Dutils.ts315 export function genTemporaryPath(filePath: string, projectPath: string, buildPath: string,
318 projectPath = toUnixPath(projectPath);
321 …const projectRootPath: string = toUnixPath(buildInHar ? projectPath : projectConfig.projectRootPat…
343 if (filePath.indexOf(projectPath) !== -1) {
344 const relativeFilePath: string = filePath.replace(projectPath, '');
519 watchModifiedFiles[0] === projectConfig.projectPath && !watchRemovedFiles.length)) {
550 watchRemovedFiles = watchRemovedFiles.map(file => path.relative(projectConfig.projectPath, file));
554 .map(file => path.relative(projectConfig.projectPath, file))]
562 export function getResolveModules(projectPath: string, faMode: boolean): string[] {
565 path.resolve(projectPath, '../../../../../'),
[all …]
Dark_utils.ts206 …const filePath: string = genTemporaryPath(sourcePath, projectConfig.projectPath, process.env.cache…
431 export function genBuildPath(filePath: string, projectPath: string, buildPath: string, projectConfi…
439 projectPath = toUnixPath(projectPath);
456 if (filePath.indexOf(projectPath) !== -1) {
457 const sufStr: string = filePath.replace(projectPath, '');
478 …let jsFilePath: string = genTemporaryPath(sourcePath, projectConfig.projectPath, process.env.cache…
Dprocess_visual.ts275 const etsDirPath: string = path.parse(projectConfig.projectPath).dir;
297 projectRootPath = path.resolve(projectConfig.projectPath, '../../../../../');
299 projectRootPath = path.resolve(projectConfig.projectPath, '../../../../');
309 let etsDirPath: string = path.parse(projectConfig.projectPath).dir;
311 let resolvePath = filePath.replace(projectConfig.projectPath, projectConfig.aceSuperVisualPath)
Dprocess_module_files.ts43 …let temporaryFile: string = genTemporaryPath(node.fileName, projectConfig.projectPath, process.env…
Dprocess_import.ts611 projectPath: string): string {
613 const defaultModule: string = path.join(projectPath, moduleFilePath);
628 entryModule = path.join(projectPath, '../../../../../', moduleFilePath);
629 etsModule = path.join(projectPath, '../../', moduleFilePath);
631 entryModule = path.join(projectPath, '../../../../', moduleFilePath);
632 etsModule = path.join(projectPath, '../', moduleFilePath);
694 …leResolvePath = getFileResolvePath(fileResolvePath, pagesDir, filePath, projectConfig.projectPath);
Dgen_abc_plugin.ts323 …const tempFakeEntryPath: string = genTemporaryPath(fakeEntryPath, projectConfig.projectPath, proce…
325 …const buildFakeEntryPath: string = genBuildPath(fakeEntryPath, projectConfig.projectPath, projectC…
541 …let tempFilePath = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cachePath, pr…
546 …let buildFilePath: string = genBuildPath(filePath, projectConfig.projectPath, projectConfig.buildP…
1089 …let relativeProjectPath = projectConfig.projectPath.slice(projectConfig.projectRootPath.length + p…
1095 let filePath: string = path.join(projectConfig.projectPath, file);
1097 …let tempFilePath: string = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cache…
Dcompile_info.ts135 …let absPath: string = path.resolve(projectConfig.projectPath, key.toString().replace('.js.map','.j…
Dets_checker.ts95 const basePath: string = path.resolve(projectConfig.projectPath);
579 const srcIndex: number = projectConfig.projectPath.indexOf('src' + path.sep + 'main');
583 …projectConfig.projectPath.substring(0, srcIndex), moduleName + path.sep + 'index' + EXTNAME_D_ETS);
728 path.resolve(fileName) !== path.resolve(projectConfig.projectPath, 'app.ets')) {
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_hotreload_mode.ts96 return path.join(this.projectConfig.projectPath, file);
117 const relativeProjectPath: string = this.projectConfig.projectPath.slice(
/developtools/ace_ets2bundle/compiler/test/
Dtest.js47 projectConfig.projectPath = path.resolve(process.cwd());
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts116 …filePath = genTemporaryPath(id, projectConfig.projectPath, projectConfig.cachePath, projectConfig);
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcomponent_validator.js21 const projectPath = process.env.aceModuleRoot || process.cwd() constant
1182 attrValue = attrValue.replace(projectPath, '').replace(/\\/g, '/')

12