How to configure the sub-project to CC server

This should be the template for the specified sub-project under the cis-java/cis2000.
Ex.
There are two projects under the cis2000 in CVS
cis2000/com/stefli/project1
cis2000/com/stefli/project2
BUT, the project1 and project2 depend on the source codes under the cis2000.
the package of the file under project1 may use com.stefli.project1.XX to realize the biz.
 
1. Use cvs command in build file to update the specified sub-project, so it will not checkout/update the other projects.
2. Use your own target of build file to do the compilation task.
 
The hierarchy might be:
${CC}/projects/${your project}/build-cruisecontrol.xml
${CC}/projects/${your project}/cis-java
${CC}/projects/${your project}/cis-java/com/....
 
config.xml
================================================================================
  
build-cruisecontrol.xml
================================================================================
Another simple method:
Config.xml
================================================================================
Caution: you need to remove the CVS folders which you don't want to do the update.
That means if i want to only update the source code under the hpbigdeal folder, i need to only reserve the CVS folder
under the hpbigdeal, and remove others.
Executing tasks: [:app:clean, :app:assembleDebug, :app:assembleDebugUnitTest, :app:assembleDebugAndroidTest] in project C:\Users\dsyde\IdeaProjects\HealthApp > Configure project : Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle.kts' Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'build.gradle.kts' Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle.kts' Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'build.gradle.kts' > Task :app:clean UP-TO-DATE > Task :app:preBuild UP-TO-DATE > Task :app:preDebugBuild UP-TO-DATE > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE > Task :app:checkKotlinGradlePluginConfigurationErrors > Task :app:checkDebugAarMetadata FAILED > Task :app:generateDebugResValues > Task :app:mapDebugSourceSetPaths FAILED > Task :app:generateDebugResources > Task :app:mergeDebugResources FAILED > Task :app:packageDebugResources > Task :app:createDebugCompatibleScreenManifests > Task :app:extractDeepLinksDebug > Task :app:processDebugMainManifest FAILED > Task :app:javaPreCompileDebug > Task :app:mergeDebugShaders > Task :app:compileDebugShaders NO-SOURCE > Task :app:generateDebugAssets UP-TO-DATE > Task :app:mergeDebugAssets FAILED > Task :app:desugarDebugFileDependencies FAILED > Task :app:checkDebugDuplicateClasses FAILED > Task :app:mergeDebugJniLibFolders > Task :app:parseDebugLocalResources > Task :app:mergeDebugNativeLibs FAILED > Task :app:validateSigningDebug > Task :app:writeDebugAppMetadata > Task :app:writeDebugSigningConfigVersions > Task :app:preDebugUnitTestBuild UP-TO-DATE > Task :app:preDebugAndroidTestBuild SKIPPED > Task :app:javaPreCompileDebugUnitTest > Task :app:checkDebugAndroidTestAarMetadata FAILED > Task :app:generateDebugAndroidTestResValues > Task :app:mapDebugAndroidTestSourceSetPaths > Task :app:generateDebugAndroidTestResources > Task :app:mergeDebugAndroidTestResources > Task :app:processDebugAndroidTestManifest FAILED > Task :app:javaPreCompileDebugAndroidTest > Task :app:mergeDebugAndroidTestShaders > Task :app:compileDebugAndroidTestShaders NO-SOURCE > Task :app:generateDebugAndroidTestAssets UP-TO-DATE > Task :app:mergeDebugAndroidTestAssets FAILED > Task :app:desugarDebugAndroidTestFileDependencies > Task :app:checkDebugAndroidTestDuplicateClasses FAILED > Task :app:mergeDebugAndroidTestJniLibFolders > Task :app:validateSigningDebugAndroidTest > Task :app:writeDebugAndroidTestSigningConfigVersions [Incubating] Problems report is available at: file:///C:/Users/dsyde/IdeaProjects/HealthApp/build/reports/problems/problems-report.html FAILURE: Build completed with 12 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mapDebugSourceSetPaths'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 3: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugResources'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 4: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:processDebugMainManifest'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 5: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugAssets'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 6: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:desugarDebugFileDependencies'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 7: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 8: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 9: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAndroidTestAarMetadata'. > Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 10: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:processDebugAndroidTestManifest'. > Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 11: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugAndroidTestAssets'. > Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 12: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAndroidTestDuplicateClasses'. > Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find com.github.PhilJay:MPAndroidChart:v3.1.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom - https://repo.maven.apache.org/maven2/com/github/PhilJay/MPAndroidChart/v3.1.0/MPAndroidChart-v3.1.0.pom Required by: project :app > Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.json:json:20240321. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/json/json/20240321/json-20240321.pom - https://repo.maven.apache.org/maven2/org/json/json/20240321/json-20240321.pom Required by: project :app * Try: > The project declares repositories, effectively ignoring the repositories you have declared in the settings. To determine how project repositories are declared, configure your build to fail on project repositories. For more information, please refer to https://docs.gradle.org/8.11.1/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1s 37 actionable tasks: 36 executed, 1 up-to-date
05-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值