How Can jBilling Help You?
Who’s Using jBilling?

“I can certainly recommend jBilling.”
Kevin Nelson
Web Conferencing Central
See all testimonials >

Code Repository

Working with the very latest: getting the source files directly from the GIT repository.


  1. Install the binary version of jBilling and make sure it works by following these instructions
  2. Install Apache Ant. This is the tool we use to build jBilling. You can download it from here.
  3. Install GIT. This will allow you to get the source files directly from jbilling’s repository in sourceforge.
  4. Download the source code from the repository. From the command line, execute this from the directory /jbilling: git clone git://jbilling.git.sourceforge.net/gitroot/jbilling/jbilling src
  5. Download the source package of jBilling from here. Unzip the file in the same directory where you installed jBilling in step 1 WITHOUT overwriting existing files. This will add some additional dependencies to the source files you already have in the src directory.Example: unzip -n jbilling-1_0_6-src.zip
  6. Run 'git status' in the 'src' directory. This will show you if there are any files that have been deleted from the repository since the last release. You need to delete those files as well from your hard drive. Any source file from 'git status' that is shown in the 'Untracked files' section is not present in the repository and should be deleted.
  7. Go to the directory jbilling/src and run 'ant'. This will build and deploy the resulting binaries.

Now you can easily refresh all your source code with the very latest available in the repository. Run 'git pull' to do so

2 comments

 
othmanelmoulat wrote 21 weeks 1 day ago

git clone version 2.2

what is the git command to clone jbilling version 2.2 and not latest version?

 
MikeOliverAZ wrote 45 weeks 5 days ago

Should add 8. Build database

The instructions should add

8. The build will set the postgres database by default, you will need to setup a postgres database before it will run. See http://www.jbilling.com/documentation/database-guide to setup the postgres database (or other database) before running your new build.

Please register or login to post a comment.