Stripes

Ant target dist builds corrupt Maven2 bundle

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: Release 1.5
  • Fix Version/s: Release 1.5.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Ant

Description

The created package hierarchy in source file jar (stripes-1.5b1-sources.jar) starts with a folder named "." (dot). Should start with "net".
This will cause an IDE like eclipse to fail integrating sources to the environment.

Created like:
./net/sourceforge/stripes/...

Should be created like:
net/sourceforge/stripes/...

Tested on Ubuntu 8.0.4 and Windows XP
Ant 1.7.x
Java version 1.6.0_x

Activity

Hide
Tony Dalbrekt added a comment - 22/May/08 2:06 AM

This is also the case with the bundle jar. It's caused by the Ant zipfileset "prefix" attribute. This will not cause any errors though. By removing attribute "prefix" from source packaging will fix the problem. Can't see why the prefix is there in the first place?

Show
Tony Dalbrekt added a comment - 22/May/08 2:06 AM This is also the case with the bundle jar. It's caused by the Ant zipfileset "prefix" attribute. This will not cause any errors though. By removing attribute "prefix" from source packaging will fix the problem. Can't see why the prefix is there in the first place?
Hide
Tony Dalbrekt added a comment - 01/Sep/08 3:09 AM

stripes-1.5 jar sent for deployment to maven contains this error and should be replaced with a fixed version before it gets deployed.

http://jira.codehaus.org/browse/MAVENUPLOAD-2179

Show
Tony Dalbrekt added a comment - 01/Sep/08 3:09 AM stripes-1.5 jar sent for deployment to maven contains this error and should be replaced with a fixed version before it gets deployed. http://jira.codehaus.org/browse/MAVENUPLOAD-2179
Hide
Ben Gunter added a comment - 01/Oct/08 9:34 PM

Fixed. Removed the prefix="." attribute from zipfileset tasks.

Show
Ben Gunter added a comment - 01/Oct/08 9:34 PM Fixed. Removed the prefix="." attribute from zipfileset tasks.

People

Vote (0)
Watch (0)

Dates

  • Created:
    22/May/08 1:25 AM
    Updated:
    04/Jan/11 2:50 PM
    Resolved:
    01/Oct/08 9:34 PM