This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Exclude .svn directories from tools.zip
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at caviumnetworks dot com>
- Cc: classpath-patches ml <classpath-patches at gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Fri, 07 Nov 2008 18:53:54 +0000
- Subject: Re: Exclude .svn directories from tools.zip
- References: <4911A500.7090507@redhat.com> <49148BBB.3090408@caviumnetworks.com>
David Daney wrote:
> Andrew Haley wrote:
>> I found a lot of very surprising stuff in tools.zip; fixed thusly.
>> This doesn't affect straight Classpath builds, but it does affect gcj.
>>
>> Andrew.
>>
>>
>> 2008-11-05 Andrew Haley <aph@redhat.com>
>>
>> * tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
>> .svn directories.
>>
>> Index: classpath/tools/Makefile.am
>> ===================================================================
>> --- classpath/tools/Makefile.am (revision 141575)
>> +++ classpath/tools/Makefile.am (working copy)
>> @@ -380,11 +380,11 @@
>> endif
>>
>> if WITH_JAR
>> -CREATE_TOOLS_ZIP=$(JAR) cf ../$(TOOLS_ZIP) .
>> -UPDATE_TOOLS_ZIP=$(JAR) uf ../$(TOOLS_ZIP) .
>> +CREATE_TOOLS_ZIP=$(JAR) cf ../$(TOOLS_ZIP) `find . -name .svn -prune
>> -o -type f -print`
>> +UPDATE_TOOLS_ZIP=$(JAR) uf ../$(TOOLS_ZIP) `find . -name .svn -prune
>> -o -type f -print`
>> else
>> -CREATE_TOOLS_ZIP=$(ZIP) -r ../$(TOOLS_ZIP) .
>> -UPDATE_TOOLS_ZIP=$(ZIP) -u -r ../$(TOOLS_ZIP) .
>> +CREATE_TOOLS_ZIP=$(ZIP) -r ../$(TOOLS_ZIP) `find . -name .svn -prune
>> -o -type f -print`
>> +UPDATE_TOOLS_ZIP=$(ZIP) -u -r ../$(TOOLS_ZIP) `find . -name .svn
>> -prune -o -type f -print`
>> endif
>>
>> ## First add classpath tools stuff.
>>
>
> tools.zip is not the only jar/zip file affected by this malady. Take a
> look at libgcj-??.jar
zebedee:libjava $ jar tf libgcj-4.4.0.jar | fgrep .svn
zebedee:libjava $
Andrew.