public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Keep the contents of the .jar file ordered.
@ 2008-01-18  4:37 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-01-18  4:37 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  8f9300fae4dc499d712ded780297e7eac0849485 (commit)
      from  4a5a9f45ef25a717ed2e7c5b03d96a972f3ee393 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 8f9300fae4dc499d712ded780297e7eac0849485
Author: Andrew Cagney <cagney@tortura.yyz.redhat.com>
Date:   Thu Jan 17 17:41:47 2008 -0500

    Keep the contents of the .jar file ordered.
    
    frysk-common/ChangeLog
    2008-01-17  Andrew Cagney  <cagney@redhat.com>
    
    	* Makefile.rules (.jar): Sort the .class file list.

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

Summary of changes:
 frysk-common/ChangeLog      |    4 ++++
 frysk-common/Makefile.rules |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog
index 74f85b9..acce967 100644
--- a/frysk-common/ChangeLog
+++ b/frysk-common/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-17  Andrew Cagney  <cagney@redhat.com>
+
+	* Makefile.rules (.jar): Sort the .class file list.
+
 2008-01-08  Andrew Cagney  <cagney@redhat.com>
 
 	* Makefile.rules (distclean-cvsignored): Add dependency on
diff --git a/frysk-common/Makefile.rules b/frysk-common/Makefile.rules
index af9d0c1..2087b81 100644
--- a/frysk-common/Makefile.rules
+++ b/frysk-common/Makefile.rules
@@ -649,6 +649,10 @@ files-java.list: files.list
 	else \
 	    cp /dev/null $@ ; \
 	fi
+
+# Compile all the .java files to .class and then insert into a .jar.
+# Sort the list to keep the contents stable.
+
 ${GEN_DIRNAME}.jar: files-java.list $(GEN_CLASSPATH)
 	rm -rf $(JAVAROOT)
 	mkdir -p $(JAVAROOT)
@@ -662,6 +666,7 @@ ${GEN_DIRNAME}.jar: files-java.list $(GEN_CLASSPATH)
 	rm -f $*.log
 	cd $(JAVAROOT) ; \
 		find * -name '*.class' -print \
+		| sort \
 		| $(JAR) -@ -cf $@
 	mv $(JAVAROOT)/$@ $@
 \f


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-18  4:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18  4:37 [SCM] master: Keep the contents of the .jar file ordered cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).