Funny; I just figured out why this is happening.

At the end of $BEEHIVE_HOME/netui/ant/javadoc.xml in the "build" target, there's a call to:

  <fixcrlf>

which fixes CRLF for the entire docs directory, including the JARs. That's why the JARs are getting modified.

Running step (4) below with a fresh netui/docs dir will work fine when run repeatedly. But, if you run "ant docs" in netui/, it will corrupt the JARs and then both "ant docs" and (4) will fail from then on.

  <g>

Eddie




Steve Hanson wrote:
Hi again:

When anyone out there gets a minute, could you run the following test?

(1) Sync to trunk/netui/
(2) Try to open trunk/netui/docs/lib/xalan.jar and jsptagrefdoclet_single.jar 
using WinZIP.
(3) cd to trunk/netui/ant/
(4) Run: ant -f javadoc.xml generate-taglib-ref
(5) Once again try to open xalan.jar and jsptagrefdoclet_single.jar using 
WinZIP.

If anything goes wrong at any point, please send me a heads up.
Thanks,
Steve H.



-----Original Message-----
From: Steve Hanson Sent: Thursday, October 21, 2004 10:46 AM
To: Beehive Developers
Subject: SVN spontaneously corrupting JAR files?



Hi all:

I am running into a strange problem.

Two of my JAR files are becoming corrupted spontaneously, for no apparent 
reason.  The JARs in question: trunk\netui\docs\external\xalan241.jar and 
C:\dev-apache\beehive\trunk\netui\docs\tools\lib\jsp\jsptagrefdoclet.jar.

SVN is saying that xalan241.jar has been "modified"...but I haven't changed it 
at all.

Does anyone know what is going on here?

Thanks,
Steve Hanson

Reply via email to