This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
The attached patch updates gen-classpath-compare to also include shared
JNI C files (currently only the gtk-peers) in the libgcj/GNU Classpath
comparison page.
2004-04-17 Mark Wielaard <mark@klomp.org>
* bin/gen-classpath-compare: Include shared JNI C files.
OK to commit?
I noticed that there is no ChangeLog file in the wwwdocs repository.
Where do I add my ChangeLog entry?
Cheers,
Mark
Index: bin/gen-classpath-compare
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/gen-classpath-compare,v
retrieving revision 1.10
diff -u -r1.10 gen-classpath-compare
--- bin/gen-classpath-compare 20 Mar 2004 09:57:24 -0000 1.10
+++ bin/gen-classpath-compare 17 Apr 2004 20:12:01 -0000
@@ -85,9 +85,10 @@
# Note: for now, we omit much of gnu.*, as it differs too much.
(cd $LIBGCJ; find . -name '*.java' -print;
cd $CLASSPATH; find . -name '*.java' -print;
-cd $CLASSPATH/external/jaxp/source; find . -name '*.java' -print) |
+cd $CLASSPATH/external/jaxp/source; find . -name '*.java' -print
+cd $CLASSPATH/native; find jni/gtk-peer -name '*.c' -print) |
sort -u | sed -e 's,^\./,,' |
-grep -E '^(java|gnu/java/security|gnu/java|gnu/javax|javax)/' |
+grep -E '^(java|gnu/java/security|gnu/java|gnu/javax|javax|jni/gtk-peer)/' |
grep -E -v '^(gnu/java/io|gnu/java/lang|gnu/javax/swing/plaf/gtk|gnu/xml)' |
(cd $LIBGCJ
while read f; do
@@ -111,6 +112,7 @@
cpfile="$CLASSPATH/$f"
test -f "$cpfile" || cpfile="$CLASSPATH/external/jaxp/source/$f"
+ test -f "$cpfile" || cpfile="$CLASSPATH/native/$f"
if test -f "$cpfile"; then
clp=$Yes
@@ -166,7 +168,12 @@
then
: print nothing
else
- echo "<tr> <td class=\"$Style\">$class</td> $Merge </tr>"
+ if test -z "$(echo $f | grep ^jni/)"; then
+ Name=$class
+ else
+ Name=$f
+ fi
+ echo "<tr> <td class=\"$Style\">$Name</td> $Merge </tr>"
fi
done
) >> $outfile
Attachment:
signature.asc
Description: This is a digitally signed message part
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |