Lines Matching refs:projectPath
70 for (const projectPath of projectPaths) { constant
71 if (!fs.existsSync(projectPath)) {
72 console.error(`File ${FileUtils.getFileName(projectPath)} is not found.`);
76 const sourcPath = isOHProject ? path.join(projectPath, 'src', 'main') : projectPath;
78 const sdkProperties: string[] = readThirdPartyLibProperties(projectPath);
93 function readThirdPartyLibProperties(projectPath: string): string[] {
96 if (!fs.lstatSync(projectPath).isDirectory()) {
101 const fileNames: string[] = fs.readdirSync(projectPath);
108 throw new Error(`There are both node_modules and oh_modules folders in ${projectPath}`);
113 filePath = path.join(projectPath, 'node_modules');
115 filePath = path.join(projectPath, 'oh_modules');