Home
last modified time | relevance | path

Searched refs:projectPath (Results 1 – 25 of 35) 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, '../../../../../'),
166 if (fs.existsSync(path.resolve(process.env.projectPath, 'i18n'))) {
170 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 …]
Drollup.config.js78 path.resolve(projectConfig.projectPath),
83 ...getResolveModules(path.resolve(projectConfig.projectPath), false) :
84 ...getResolveModules(path.resolve(projectConfig.projectPath), true)
Dmain.js78 projectConfig.projectPath = projectConfig.projectPath || process.env.aceModuleRoot ||
81 path.resolve(projectConfig.projectPath, 'build');
84 path.join(projectConfig.projectPath, 'manifest.json');
90 hashProjectPath(projectConfig.projectPath);
135 projectConfig.entryObj['./' + staticPreviewPage] = projectConfig.projectPath + path.sep +
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Drollup_plugin_mock.ts177 if (fs.existsSync(this.share.projectConfig.projectPath)) {
178 scanFiles(this.share.projectConfig.projectPath, this.share.allFiles);
180 …const tsFilePath = path.join(this.share.projectConfig.projectPath, '/entryability/EntryAbility.ts'…
181 …const jsFilePath = path.join(this.share.projectConfig.projectPath, '/entryability/EntryAbility.js'…
182 const etsFilePath = path.join(this.share.projectConfig.projectPath, '/pages/Index.ets');
Dproject_config.ts90 projectPath: string; property in ProjectConfig
155 this.projectPath = `${proPath}/${this.entryModuleName}/src`;
/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) {
/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.ts333 export function genTemporaryPath(filePath: string, projectPath: string, buildPath: string,
336 projectPath = toUnixPath(projectPath);
339 …const projectRootPath: string = toUnixPath(buildInHar ? projectPath : projectConfig.projectRootPat…
361 if (filePath.indexOf(projectPath) !== -1) {
362 const relativeFilePath: string = filePath.replace(projectPath, '');
556 watchModifiedFiles[0] === projectConfig.projectPath && !watchRemovedFiles.length)) {
587 watchRemovedFiles = watchRemovedFiles.map(file => path.relative(projectConfig.projectPath, file));
591 .map(file => path.relative(projectConfig.projectPath, file))]
599 export function getResolveModules(projectPath: string, faMode: boolean): string[] {
602 path.resolve(projectPath, '../../../../../'),
[all …]
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)
Dark_utils.ts255 …const filePath: string = genTemporaryPath(sourcePath, projectConfig.projectPath, process.env.cache…
533 export function genBuildPath(filePath: string, projectPath: string, buildPath: string, projectConfi…
541 projectPath = toUnixPath(projectPath);
558 if (filePath.indexOf(projectPath) !== -1) {
559 const sufStr: string = filePath.replace(projectPath, '');
580 …let jsFilePath: string = genTemporaryPath(sourcePath, projectConfig.projectPath, process.env.cache…
Dprocess_module_files.ts50 …let temporaryFile: string = genTemporaryPath(node.fileName, projectConfig.projectPath, process.env…
Dprocess_import.ts604 projectPath: string): string {
606 const defaultModule: string = path.join(projectPath, moduleFilePath);
622 entryModule = path.join(projectPath, '../../../../../', moduleFilePath);
623 etsModule = path.join(projectPath, '../../', moduleFilePath);
625 entryModule = path.join(projectPath, '../../../../', moduleFilePath);
626 etsModule = path.join(projectPath, '../', moduleFilePath);
688 …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…
542 …let tempFilePath = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cachePath, pr…
547 …let buildFilePath: string = genBuildPath(filePath, projectConfig.projectPath, projectConfig.buildP…
1090 …let relativeProjectPath = projectConfig.projectPath.slice(projectConfig.projectRootPath.length + p…
1096 let filePath: string = path.join(projectConfig.projectPath, file);
1098 …let tempFilePath: string = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cache…
Dcompile_info.ts134 …let absPath: string = path.resolve(projectConfig.projectPath, key.toString().replace('.js.map','.j…
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_hotreload_mode.ts99 return path.join(this.projectConfig.projectPath, file);
123 const relativeProjectPath: string = this.projectConfig.projectPath.slice(
/developtools/ace_ets2bundle/compiler/test/
Dtest.js48 projectConfig.projectPath = path.resolve(process.cwd());
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts125 …filePath = genTemporaryPath(id, projectConfig.projectPath, projectConfig.cachePath, projectConfig);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dob_config_resolver.ts644 …evedFileNameInIDEConfig(ohPackagePath: string, moduleJsonPath: string, projectPath: string, cacheP…
662 reservedFileNames.push(projectPath);

12