Ant tool on Mac Maverick 10.9.2

Apple as usually is playing a game with developers:

$ ant clean
-bash: ant: command not found


$ xcode-select --install
xcode-select: note: install requested for command line developer tools
- Agree
- Finding Software
- Server not available 


Another way:

$ which brew
- nothing
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

$ brew install ant
==> Downloading http://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.3-bin.tar.gz
Error: Failed to download resource "ant"
Couldn't determine mirror, try again later.

Trying another approach:

@ ~ $ brew install homebrew/dupes/ant
Cloning into '/usr/local/Library/Taps/homebrew-dupes'...
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
@ ~ $ ant

-bash: ant: command not found

Another approach:
got to http://ant.apache.org/bindownload.cgi
for half a day I was getting server error, but finally in the evening I was able to download:

/usr/local/apache-ant-1.9.3-bin.zip
upzip it
$ cd /usr/local/apache-ant-1.9.3/bin
$ ./ant
Buildfile: build.xml does not exist!
WORKS!
$ edit ~/.profile

Add this to your .profile file

# ANT
export ANT_HOME=/usr/local/apache-ant-1.9.3
export PATH=${PATH}:${ANT_HOME}/bin

Save and Restart terminal 

Now ant command works from any directory.








As an Amazon Associate I earn from qualifying purchases.

Ant tool on Mac Maverick 10.9.2

Apple as usually is playing a game with developers:

$ ant clean
-bash: ant: command not found


$ xcode-select --install
xcode-select: note: install requested for command line developer tools
- Agree
- Finding Software
- Server not available 


Another way:

$ which brew
- nothing
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

$ brew install ant
==> Downloading http://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.3-bin.tar.gz
Error: Failed to download resource "ant"
Couldn't determine mirror, try again later.

Trying another approach:

@ ~ $ brew install homebrew/dupes/ant
Cloning into '/usr/local/Library/Taps/homebrew-dupes'...
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
@ ~ $ ant

-bash: ant: command not found

Another approach:
got to http://ant.apache.org/bindownload.cgi
for half a day I was getting server error, but finally in the evening I was able to download:

/usr/local/apache-ant-1.9.3-bin.zip
upzip it
$ cd /usr/local/apache-ant-1.9.3/bin
$ ./ant
Buildfile: build.xml does not exist!
WORKS!
$ edit ~/.profile

Add this to your .profile file

# ANT
export ANT_HOME=/usr/local/apache-ant-1.9.3
export PATH=${PATH}:${ANT_HOME}/bin

Save and Restart terminal 

Now ant command works from any directory.








As an Amazon Associate I earn from qualifying purchases.

ADB via USB on Samsung Galaxy Note 12.1 running KitKat

Many of you already know that, but since it is easy to forget here is a reminder how to turn ON the

"{}Developer options"

on devices running Android 4.4.x KitKat

Go to: Settings > General (tab) > About device

tap few times on "Build number" until the "{}Developer options" show in the left menu.



In "{}Developer options" 
- select USB debugging
I also often keep these 2 options selected when I share the device screen in demonstrations:
- Show touches
- Show pointer location
You can see the infinite sign I drew with my finger


For the screen sharing and capture I use command line software called "droid@screen"




As an Amazon Associate I earn from qualifying purchases.

ADB via USB on Samsung Galaxy Note 12.1 running KitKat

Many of you already know that, but since it is easy to forget here is a reminder how to turn ON the

"{}Developer options"

on devices running Android 4.4.x KitKat

Go to: Settings > General (tab) > About device

tap few times on "Build number" until the "{}Developer options" show in the left menu.



In "{}Developer options" 
- select USB debugging
I also often keep these 2 options selected when I share the device screen in demonstrations:
- Show touches
- Show pointer location
You can see the infinite sign I drew with my finger


For the screen sharing and capture I use command line software called "droid@screen"




As an Amazon Associate I earn from qualifying purchases.

Munich

I decided to write a few words about Munich Airport, because, honestly, I did not remember I was here until I have seen it again.

I had a great flight over Atlantic ocean, sitting in the middle row of sits I had all 3 of them to my diposal, this also meant I had 3 pillows, so the night was close in quality to that you would spend on the couch watching great movies, the monitors were tablets built in the sit's bach, selection was good. I have seen 3 movies and got a pretty good sleep in between them, too. I've been promising myself to read, or study on the plane, but somehow I did not have energy for that, beside movies were good.

Arriving at Munich was good, the first thing I did was to stand at the window and look outside at the tree line. I am not German, but Polish, but I felt suprisingly at home, somehow feeling safe, a feeling that I cannot explain, but having something to do with having in addition to American also the European passport, I lost that feeling as soon I stepped aboard the flight to Moldova, I felt like a tourist again.

I had pleanty of time until the next leg of my trip to Moldova, so I started with the restroom where I brushed my teeth and shaved. I don't mind a facial hair, I sported it several time sin my life, but I really hate one day growth, I feel dirty and uncomfortable. I must have looked odd to pleople, standing there bare to my waist and shaving, but nobody gave me any bad looks.

Munich airport is excellent, absolutely clean, efficient and the stores are great. Fashion seems much better than what I am used to see and it seems geared toward men at least as much as to women, something I don't see much at home. Except for the prices, everything I looked at was expensive. Jacket I liked 490 Euro, breakfast consisting of eggs, ham, fresh bun, orange juice and quality coffee $21, I am happy I had it. I think in USA we have a slightly different approach to things, but i will not get into it now, I would be proably wrong, anyway. The staff in the airport were weraing nametags with little flags for the languages they speak: Brittish, Italian and of course German. I felt great being able to order in English, which the guy spoke fluently and pay in dollars without a problem. Considering how many countries and languages EU has, that was a nice touch.

One thing that is not very good about Munich is that a bus takes you to the airplane, but I think this is only for the local, inter city flights and smaller planes.

On the flight out of Munich, I was looking at the houses and I was thinking that life here is like life anywhere, homes look like homes  anywhere else. What I was suprised to see that as soon as we let ariport a farmlands started, maybe this is a coincidence of the airport's location, but I was expecting to see the city, or at least some suburbs.

Flying to Moldova I realized again, that I should have studied my Russian, a lot of people around me speaking Russian, many of them young elegant and attractive, not the old communist era folks, the lady next to me is reading a book in Russian. I like talking to people, too bad I did not study since my last visit here.

I met a guy in the airport from Georgia (Gruzia, not USA), he looked like software developer, or such, he asked me what network I am logged in. We spoke briefly about Georgian vs. Moldovan wines and the fast he is going to Phoenix, Arizona. I like meeting new people.



As an Amazon Associate I earn from qualifying purchases.

apt quotation..