[sword-svn] r152 - in trunk: . app/src/org/crosswire/flashcards micro/bin
Apache
apache at www.crosswire.org
Sun Sep 7 03:48:35 MST 2008
Author:
Date: 2008-09-07 03:48:35 -0700 (Sun, 07 Sep 2008)
New Revision: 152
Modified:
trunk/app/src/org/crosswire/flashcards/MainFrame.java
trunk/app/src/org/crosswire/flashcards/QuizPane.java
trunk/build.xml
trunk/genfcmobile.sh
trunk/micro/bin/fc.jad
Log:
Added some changes to make dynamic building of packages easier
Modified: trunk/app/src/org/crosswire/flashcards/MainFrame.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/MainFrame.java 2008-03-21 03:24:29 UTC (rev 151)
+++ trunk/app/src/org/crosswire/flashcards/MainFrame.java 2008-09-07 10:48:35 UTC (rev 152)
@@ -15,8 +15,7 @@
* 59 Temple Place - Suite 330
* Boston, MA 02111-1307, USA
*
- * The copyright to this program is held by it's authors
- * Copyright: 2004
+ * Copyright: 2008 CrossWire Bible Society
*/
package org.crosswire.flashcards;
@@ -67,7 +66,7 @@
Container contentPane = this.getContentPane();
contentPane.setLayout(new BorderLayout());
this.setSize(new Dimension(600, 480));
- this.setTitle("FlashCards - (c) 2004 CrossWire Bible Society http://crosswire.org");
+ this.setTitle("FlashCards - (c) 2008 CrossWire Bible Society http://crosswire.org");
JTabbedPane tabs = new JTabbedPane();
tabs.addTab("Setup", setupPane);
Modified: trunk/app/src/org/crosswire/flashcards/QuizPane.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/QuizPane.java 2008-03-21 03:24:29 UTC (rev 151)
+++ trunk/app/src/org/crosswire/flashcards/QuizPane.java 2008-09-07 10:48:35 UTC (rev 152)
@@ -174,7 +174,7 @@
//Component initialization
private void jbInit() {
- choicesPanel.setBorder(BorderFactory.createEmptyBorder(0, 20, 0, 10));
+ choicesPanel.setBorder(BorderFactory.createEmptyBorder(0, 20, 10, 10));
startLessonButton.setText("Start");
startLessonButton.addActionListener(new QuizPane_startLessonButton_actionAdapter(this));
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-03-21 03:24:29 UTC (rev 151)
+++ trunk/build.xml 2008-09-07 10:48:35 UTC (rev 152)
@@ -177,7 +177,7 @@
<dname>
<param name="CN" value="The CrossWire Bible Society"/>
<param name="OU" value="FlashCards"/>
- <param name="O" value="Crosswire.org"/>
+ <param name="O" value="crosswire.org"/>
</dname>
</genkey>
</target>
Modified: trunk/genfcmobile.sh
===================================================================
--- trunk/genfcmobile.sh 2008-03-21 03:24:29 UTC (rev 151)
+++ trunk/genfcmobile.sh 2008-09-07 10:48:35 UTC (rev 152)
@@ -1,9 +1,10 @@
#!/bin/sh
-MAX_LESSON_WORDS=75
+MAX_LESSON_WORDS=125
#JAVA_HOME=/usr/java/j2sdk1.4.2_05
WORKDIR=fcMobilePackage.$$
+HTMLBASE=http://crosswire.org/fc
# prepares a lessons/ directory and packages into a jar for a mobile phone
genpackage() {
@@ -36,6 +37,7 @@
cd ${WORKDIR}
JARSIZE=`ls -l ${PKGNAME}.jar |cut -f5 -d' '`
sed -i s/##SIZE##/${JARSIZE}/ ${PKGNAME}.jad
+ sed -i s/##HTMLBASE##/${HTMLBASE}/ ${PKGNAME}.jad
cat >> packages/index.jsp <<!
<a href="/fc/${PKGNAME}.jad">$i$partNumber</a><br/>
!
Modified: trunk/micro/bin/fc.jad
===================================================================
--- trunk/micro/bin/fc.jad 2008-03-21 03:24:29 UTC (rev 151)
+++ trunk/micro/bin/fc.jad 2008-09-07 10:48:35 UTC (rev 152)
@@ -1,6 +1,6 @@
MIDlet-1: ##NAME##, FlashcardsMobile.png, org.crosswire.flashcards.mobile.FlashCards
MIDlet-Jar-Size: ##SIZE##
-MIDlet-Jar-URL: http://crosswire.org/fc/##NAME##.jar
+MIDlet-Jar-URL: ##HTMLBASE##/##NAME##.jar
MIDlet-Name: ##NAME##
MIDlet-Vendor: CrossWire
MIDlet-Version: 1.0
More information about the sword-cvs
mailing list