cloud-apidoc module depends on cloud-client-ui#958
Conversation
|
ping @DaanHoogland this is the error you were asking me about right? |
|
@miguelaferreira , yes this is one of the obstakels I encountered the last few days. |
|
I built ACS and the RPMs based on this PR, with 4 threads - as suggested in @miguelaferreira's comment. All worked fine! LGTM 👍 Cheers, |
ran all tests with three errors in "Test VPC offering without ...". those are not related.Ran 40 tests in 7302.424s FAILED (errors=3) |
|
LGTM 👍 -T2C == two threads per core. |
|
@miguelaferreira Can you please force push to have Jenkins run again? Will merge once it succeeds, or when we are OK with it not being successful. |
|
Error is not related anyway: |
9f9f6a2 to
9cbd321
Compare
…cloud-client-ui
cloud-apidoc module depends on cloud-client-uiWhen building the cloud-apidoc module a script called `./build-apidoc.sh` is executed with an argument that points to `../../client/target/cloud-client-ui-${project.version}/WEB-INF/lib`. The script uses that argument to build a Java classpath. However, since the cloud-apidoc module does not explicitly depend on cloud-client-ui, a parallel maven build will often fail because the required jars are not present when needed.
Error message when build fails:
```
Error: Could not find or load main class com.cloud.api.doc.ApiXmlDocWriter
```
This PR makes the dependency explicit.
Resulting build:
```
mvn clean install -T4 -Pdeveloper,systemvm
....
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:02 min (Wall Clock)
[INFO] Finished at: 2015-10-20T13:31:30+02:00
[INFO] Final Memory: 98M/1526M
[INFO] ------------------------------------------------------------------------
```
* pr/958:
cloud-apidoc module depends on cloud-client-ui
Signed-off-by: Remi Bergsma <github@remi.nl>
When building the cloud-apidoc module a script called
./build-apidoc.shis executed with an argument that points to../../client/target/cloud-client-ui-${project.version}/WEB-INF/lib. The script uses that argument to build a Java classpath. However, since the cloud-apidoc module does not explicitly depend on cloud-client-ui, a parallel maven build will often fail because the required jars are not present when needed.Error message when build fails:
This PR makes the dependency explicit.
Resulting build: