This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/38251] [4.4 Regression] tools.zip doesn't build on systems with short command lines
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 24 Nov 2008 18:04:30 -0000
- Subject: [Bug libgcj/38251] [4.4 Regression] tools.zip doesn't build on systems with short command lines
- References: <bug-38251-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ro at techfak dot uni-bielefeld dot de 2008-11-24 18:04 -------
Subject: Re: [4.4 Regression] tools.zip doesn't build on systems with short
command lines
aph at gcc dot gnu dot org writes:
> Please try
>
> jar cf ../tools.zip `find . -name .svn -prune -o -type d -print`
while this works, many files are added several times, e.g.
% jar tf ../tools.zip |grep classes/com/sun/javadoc/ProgramElementDoc.class
classes/com/sun/javadoc/ProgramElementDoc.class
classes/com/sun/javadoc/ProgramElementDoc.class
classes/com/sun/javadoc/ProgramElementDoc.class
classes/com/sun/javadoc/ProgramElementDoc.class
classes/com/sun/javadoc/ProgramElementDoc.class
If one wanted to go this path, one would need to prune all but the deepest
directories.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38251