Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using ECJ to generate compile logs in a Maven project

 The title pretty much says it all:

This guide demonstrates how I can configure an Ant project to give detailed (ECJ/JUnit) information to RTC (using Jenkins);
And this guide shows how I can configure an Maven project, but using the standard Java compiler, so no compile XML information. (I used JBE for this one, following the guide)

I want to know if there is a way to generate ECJ compile logs in a Maven project, so they can be uploaded and analysed by RTC.

Thanks!

0 votes



One answer

Permanent link
Have you looked into the JKE Banking example that ships with RTC? As far as I know that uses ECJ to generate JUNit and Compile logs and publishes them to the JBE. I don't see why you should not be able to use the same approach to generate the output you want.

0 votes

Comments

 The JKE Banking example surely is interesting, showing how to achieve the same results in .NET as well, but it doesn't have an example using the Maven build system. I am aware that I can use ant-tasks plugin in Maven to run ECJ, but using the standard Maven approach (maven-compiler-plugin with plexus-eclipse-compiler), I have not succeeded in generating ECJ compile logs so far. I just wonder if there is a way to fully integrate RTC functionality in Maven builds more cleanly.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,029
× 151
× 76
× 45
× 2

Question asked: Mar 07 '14, 12:02 p.m.

Question was seen: 5,781 times

Last updated: Mar 11 '14, 1:49 p.m.

Confirmation Cancel Confirm