[sword-cvs] r12 - in trunk/app: . src/org/crosswire/flashcards

Apache apache at crosswire.org
Wed Sep 8 11:53:04 MST 2004


Author: 
Date: 2004-09-08 11:53:03 -0700 (Wed, 08 Sep 2004)
New Revision: 12

Added:
   trunk/app/src/org/crosswire/flashcards/flashcards.manifest
Modified:
   trunk/app/GNUmakefile
Log:
Fixed up jar file creation in Linux.


Modified: trunk/app/GNUmakefile
===================================================================
--- trunk/app/GNUmakefile	2004-09-08 18:26:35 UTC (rev 11)
+++ trunk/app/GNUmakefile	2004-09-08 18:53:03 UTC (rev 12)
@@ -27,9 +27,12 @@
 flashcards :
 	@$(CHECK_CLASSES_DIRECTORY)
 	javac -g -d $(CLASSES_DIRECTORY) `find . -type f -name '*.java'`
-	cp src/org/crosswire/flashcards/*png classes/org/crosswire/flashcards
+	cd src ; \
+	tar cf - `find . -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xvf - )
+	cd .. ; \
+	tar cf - `find lessons -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xvf - )
 	cd $(CLASSES_DIRECTORY) ; \
-	jar cvf $(CLASSES_DIRECTORY)/flashcards.jar org
+	jar cvmf org/crosswire/flashcards/flashcards.manifest flashcards.jar org lessons
 
 Editor :
 	java -classpath classes org.crosswire.flashcards.Editor &

Added: trunk/app/src/org/crosswire/flashcards/flashcards.manifest
===================================================================
--- trunk/app/src/org/crosswire/flashcards/flashcards.manifest	2004-09-08 18:26:35 UTC (rev 11)
+++ trunk/app/src/org/crosswire/flashcards/flashcards.manifest	2004-09-08 18:53:03 UTC (rev 12)
@@ -0,0 +1,2 @@
+Manifest-Version: 2.0
+Main-Class: org.crosswire.flashcards.Quiz



More information about the sword-cvs mailing list