Patches item #898811, was opened at 2004-02-17 09:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=898811&group_id=22866

Category: None
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Vance Jay Klingman (vjk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Jar file corruption found after build on Windows

Initial Comment:
When building the current source for branch 3.2 on the 
Windows platform, the output from the build contains 
corrupted jar files.  One of the files that gets corrupted 
is:

jboss\console\output\resources\webconsole.war\imagesotherimages.jar

After the build was completed, WinZip was used to take 
a look at the jar file.  WinZip reported the following error:

Error
Start of central directory not found; Zip file corrupt.
Possible cause: file transfer error.

It looks like the file corruption is the result of an 
improper use of the Ant copy command during the build.  
In some of the build xml files, there are copy commands 
that have the filtering option set to �yes�.  Within the 
Ant documentation is the following warning about using 
filtering:

Note: If you employ filters in your copy operation, you 
should limit the copy to text files. Binary files will be 
corrupted by the copy operation. This applies whether 
the filters are implicitly defined by the filter or explicitly 
provided to the copy operation as filtersets.

When the build was run on Windows with filtering set 
to �no�, the file corruption went away.

The attached diff file contains modifications we made to 
build files to get around the problem.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=898811&group_id=22866


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to