castor

Add ant build and maven pom to cpactf and cpaptf modules

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1.2.1
  • Component/s: JDO tests
  • Labels:
    None
  • Number of attachments :
    1

Description

As a result of the move of test suites for Castor persistence to their own modules we also need to add ant build and maven pom for them. In addition the current build as well as scripts to execute the tests need to be adapted.

Issue Links

Activity

Hide
Werner Guttmann added a comment -

POM for cpaptf project.

Show
Werner Guttmann added a comment - POM for cpaptf project.
Hide
Werner Guttmann added a comment -

On the cpacf module, I noted that the way things are configured, things will not work with Maven, as Maven assumes that any class in src/test/java is a plain JUnit test (or derived from it) and as such executable in a stand-alone way. We might have to move things out of src/test/java if we do not want to break things completely (at a later time when we switch to a true parent - child POM releationship).

Show
Werner Guttmann added a comment - On the cpacf module, I noted that the way things are configured, things will not work with Maven, as Maven assumes that any class in src/test/java is a plain JUnit test (or derived from it) and as such executable in a stand-alone way. We might have to move things out of src/test/java if we do not want to break things completely (at a later time when we switch to a true parent - child POM releationship).
Hide
Werner Guttmann added a comment -

Ralf, committed a new build.xml in the cpactf module so that Steven can test again. Changed bin/test.* as well to point to new build locations.

Show
Werner Guttmann added a comment - Ralf, committed a new build.xml in the cpactf module so that Steven can test again. Changed bin/test.* as well to point to new build locations.
Hide
Ralf Joachim added a comment -

Lucking at this issue and what Werner has committed so far I think only a pom.xml for cpactf module is missing. I am not sure if we will need a build.xml and a pom.xml for cpaptf.

Werner, can you please share your opinion and if time permits, add the missing pom.xml to cpactf?

Show
Ralf Joachim added a comment - Lucking at this issue and what Werner has committed so far I think only a pom.xml for cpactf module is missing. I am not sure if we will need a build.xml and a pom.xml for cpaptf. Werner, can you please share your opinion and if time permits, add the missing pom.xml to cpactf?
Hide
Werner Guttmann added a comment -

And I won't be able to provide you with a POM until all test cases have been converted to plain JUnit test cases. What I could do is exclude all test cases from being executed in the surefire plugin configuration. And hopefully re-enable them at a later time once they have been converted.

Show
Werner Guttmann added a comment - And I won't be able to provide you with a POM until all test cases have been converted to plain JUnit test cases. What I could do is exclude all test cases from being executed in the surefire plugin configuration. And hopefully re-enable them at a later time once they have been converted.
Hide
Werner Guttmann added a comment -

Can we agree that I provide a Maven POM with all tests in src/test/java disabled (for later re-enablement) ?

Show
Werner Guttmann added a comment - Can we agree that I provide a Maven POM with all tests in src/test/java disabled (for later re-enablement) ?
Hide
Ralf Joachim added a comment -

Seams to be the best we can do at the moment.

Show
Ralf Joachim added a comment - Seams to be the best we can do at the moment.
Hide
Werner Guttmann added a comment -

Given that I need to provide the last missing item, I guess this one is on me .. .

Show
Werner Guttmann added a comment - Given that I need to provide the last missing item, I guess this one is on me .. .
Hide
Werner Guttmann added a comment -

Allright, committed an Ant build file for CPAPTF and a Maven 2 POM for CPAPTF as well. Which leaves the Maven 2 POM for CPACTF to be added .. .

Show
Werner Guttmann added a comment - Allright, committed an Ant build file for CPAPTF and a Maven 2 POM for CPAPTF as well. Which leaves the Maven 2 POM for CPACTF to be added .. .
Hide
Werner Guttmann added a comment -

Somehow the remaining Maven POM is ... an oddity. Let me look at his again ....

Show
Werner Guttmann added a comment - Somehow the remaining Maven POM is ... an oddity. Let me look at his again ....
Hide
Ralf Joachim added a comment -

What's missing here before we can resolve this issue?

Show
Ralf Joachim added a comment - What's missing here before we can resolve this issue?
Hide
Werner Guttmann added a comment -

A MAven POM for the CPA CTF module, which I have just added.

Show
Werner Guttmann added a comment - A MAven POM for the CPA CTF module, which I have just added.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: