Please make sure you explicitly checkout the branch that you want (git checkout S4-22). This is explained one the page that contains instructions for getting the code, quoted here:
Note: For the moment, you'll probably get this warning: "remote HEAD refers to nonexistent ref, unable to checkout."
This is because there is currently no branch named "master" in the repository (this would correspond to a previous Apache release).
Don't panic! Simply do "git checkout dev" or "git checkout piper" to get one of the available branches.
I'm unable to checkout the source code following the instruction in the piper walkthrough link you have provided.
It always says that the branch is not available.
NOTICE TO RECIPIENT: THIS E-MAIL (INCLUDING ANY ATTACHMENTS) IS MEANT FOR ONLY THE INTENDED RECIPIENT OF THE TRANSMISSION, MAY CONTAIN CONFIDENTIAL INFORMATION, AND IS PROTECTED BY LAW. IF YOU RECEIVED THIS E-MAIL IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER OF THE ERROR BY RETURN E-MAIL, DELETE THIS COMMUNICATION AND SHRED ANY ATTACHMENTS. UNAUTHORIZED REVIEW, USE, DISSEMINATION, DISTRIBUTION, COPYING OR TAKING OF ANY ACTION BASED ON THIS COMMUNICATION IS STRICTLY PROHIBITED.
From: Shailendra Mishra [mailto:firstname.lastname@example.org]
Sent: Wednesday, June 06, 2012 10:08 PM
Subject: Re: Question about creating a custom application
Look at https://cwiki.apache.org/S4/s4-piper-walkthrough.html. It
outlines how you code, build and deploy the stuff. - Shailendra
On Wed, Jun 6, 2012 at 9:33 AM, Amit S Namboothiry <email@example.com> wrote:
> Sorry, I'm new to S4. While creating our own S4 application, how do we
> compile the java files? Javac doesn't seem to work. I have Eclipse
> installed. What is the procedure?
> Thanks in advance
> Amit S Namboothiry
> Computer Science and Engineering(2009-2013)
> Govt. Model Engineering College