[sword-devel] Help/Volunteer needed to make minor changes to AlKitab Program

Tonny Kohar tonny.kohar at gmail.com
Thu Oct 13 22:00:44 MST 2011


Hi,

Thank you for your interest in Alkitab Bible Study,

Regarding re-branding Alkitab, do you familiar or comfortable to
recompile a program ?

Based on your description regarding re-branding, you don't need to have
programming knowledge, but you need to comfortable to run certain
command in computer.

Required tools
- Download Java SDK (need 1.6, does not work in 1.7)
- Download Netbeans 7.0.1
- Download Alkitab Bible Study source code

Step to change some text or resources in the source code
- Open Netbeans
- Go To Menu - File - Open Project, browse until
alkitab-suite/alkitab-suite
- Done
- On the left side the Project (alkitab should be shown here), go to
important file, and choose Project Properties
- find the text contained app.title.full=${app.title} Bible Study and
replaced it with string/text you required eg: ${app.title} Scripture
- then using any file manager, go to alkitab source code and navigate
until this folder
alkitab-suite/alkitab-suite/branding/core/core.jar/org/netbeans/core/startup
- in there should be several file about.png, splash.gif, etc, just
replace that file with the image you want
note: for splash.gif, it is actually png image but renamed to splash.gif
note: and if you replace the image make sure you use the same dimension
as original images eg: splash.gif and about.png dimension is 450x278
- Now Go Back to Netbeans
- and go to Menu - Run - Run Project (Alkitab), now alkitab will be run
and check is your modified text/string/images appear as you intended.

How to create installer distribution
- you need to download izpack installer
- and you need to modify the file
alkitab/source-code/alkitab-suite/alkitab-suite/installer/izpack/izpack-install-script.xml
below <pack name="[Optional] Books" required="no">, set your own module
- now modify the following file alkitab-suite/alkitab-suite/build.xml,
find the following text
<echo message="Copying books to be included with installer" />
        <unzip src="${basedir}/../../redist-books/KJV.zip"
dest="${nbdist-izpack.dir}/${nbdist-izpack-packs.dir}/KJV"/>
        <unzip src="${basedir}/../../redist-books/StrongsGreek.zip"
dest="${nbdist-izpack.dir}/${nbdist-izpack-packs.dir}/StrongsGreek"/>
        <unzip src="${basedir}/../../redist-books/StrongsHebrew.zip"
dest="${nbdist-izpack.dir}/${nbdist-izpack-packs.dir}/StrongsHebrew"/>
        <unzip src="${basedir}/../../redist-books/Robinson.zip"
dest="${nbdist-izpack.dir}/${nbdist-izpack-packs.dir}/Robinson"/>
        <unzip src="${basedir}/../../redist-books/Institutes.zip"
dest="${nbdist-izpack.dir}/${nbdist-izpack-packs.dir}/Institutes"/>

and replaced it with your own module that match the
izpack/izpack-install-script.xml naming, and you need to put the real
zip file in the folder eg: ${basedir}/../../redist-books/KJV.zip

- Now back to Netbeans
- On the Project Panel, navigate the important files - build script,
right click on the build-script file and choose
run-target/build-installer
- Done, the output will be under alkitab-suite/alkitab-suite/dist
folder. and you can distribute the output file eg: alkitab-2_7.zip to
your users
- to build the Mac OSX version, just run build-script and choose
run-target/build-mac, it will output under dist folder as above eg:
alkitab-2_7-mac.zip

Regards
Tonny Kohar
--
Alkitab Bible Study
http://www.kiyut.com/products/alkitab/index.html


On Thu, Oct 13, 2011 at 4:05 PM, luke <luke at motimail.com> wrote:
> I know that this is a lot to ask, but ask and you shall receive, so I'll try.  I am a week and a half away from a biannual conference of great importance to the work that we do.  I am trying to get a language (with over a million speakers) website ready to be published before the conference so that we can share the scriptures with the participants in both GoBible and sword format.  I would like to be able to provide AlKitab as a download from the website with the language module already installed.  I understand that AlKitab can be used portable and I would like to have the portable app .exe be the one that is downloaded from the site.  I would also like to strike the words Bible Study from the title bar of the program.  And if it wouldn't be digging too much it would be nice to make the two or so places that AlKitab says Biblical Works, say Scriptural Works (this is not priority).  Bible is not an acceptable word in our cultural context but AlKitab is. I am not too knowledgeable about recompiling .exe files and that is why I'm hoping someone would help.  If you can do this, please contact me and I will e-mail the sword module.  Thanks,
> Luke
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list