Continuum

Release prepare not working

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-2
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    Java 5 Update 12
    Maven 2.0.4
  • Complexity:
    Intermediate
  • Number of attachments :
    2

Description

The following error occurs when trying to prepare a release of a project:
java.io.FileNotFoundException: 1/pom.xml (No such file or directory)

Note: It used to work on 1.1-beta-1 version.

I noticed that the WORKING_DIRECTORY column of the PROJECT table does not contain the absolute path anymore. So when invoking the project.getWorkingDirectory() method on ReleasePrepareAction class you will get as result the relative path only.

This bug can be reproduced by doing a fresh install, adding a new Maven 2 project and preparing its release.

Issue Links

Activity

Hide
Dário Oliveros added a comment -

The same issue was reported by another person on Continuum user list. Please refer to http://www.nabble.com/Release-FileNotFoundException--tf4348711s177.html#a12390186

Show
Dário Oliveros added a comment - The same issue was reported by another person on Continuum user list. Please refer to http://www.nabble.com/Release-FileNotFoundException--tf4348711s177.html#a12390186
Hide
Dário Oliveros added a comment -

The bug fix #1303 caused a collateral effect when performing release through Continuum.

Show
Dário Oliveros added a comment - The bug fix #1303 caused a collateral effect when performing release through Continuum.
Hide
Dário Oliveros added a comment -

I've made some changes to continuum release and webapp components and it seems to be working fine now. Please find enclosed the patch files and let me know if I got them right.

Show
Dário Oliveros added a comment - I've made some changes to continuum release and webapp components and it seems to be working fine now. Please find enclosed the patch files and let me know if I got them right.
Hide
Wendy Smoak added a comment -

Confirmed not working in r575816. Upgrading to blocking issue for the next release.

Show
Wendy Smoak added a comment - Confirmed not working in r575816. Upgrading to blocking issue for the next release.
Hide
Olivier Lamy added a comment -

Hi Dario,
Your patches look good. But it's patches and it looks you have made it with the 1.1-beta-2 tags.
It will be easier to apply if you provide only one patch file and running the svn diff cli in the continuum root directory.
Can you checkout the trunk and provide your patch against the trunk ?
Thanks,

Olivier

Show
Olivier Lamy added a comment - Hi Dario, Your patches look good. But it's patches and it looks you have made it with the 1.1-beta-2 tags. It will be easier to apply if you provide only one patch file and running the svn diff cli in the continuum root directory. Can you checkout the trunk and provide your patch against the trunk ? Thanks, – Olivier
Hide
Emmanuel Venisse added a comment -

Fixed.
I applied this match with few modifications because it introduced a cycle in dependencies between continuum-core and continuum-release so I move some classes from continuum-core to continuum-commons and removed the cycle.

Thanks Dario

Show
Emmanuel Venisse added a comment - Fixed. I applied this match with few modifications because it introduced a cycle in dependencies between continuum-core and continuum-release so I move some classes from continuum-core to continuum-commons and removed the cycle. Thanks Dario

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: