diff --git a/.gitignore b/.gitignore
index 969729983939e330df1d24f8c803c4c97743d59d..9efdbca5626a5d39b6551e574cb23fc6288ad2ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ ID
 .project
 .settings/org.eclipse.jdt.core.prefs
 .settings/org.eclipse.jdt.ui.prefs
+local.properties
 
 
 SFLPhoneservice*
diff --git a/jenkins-sflphone-android.sh b/jenkins-sflphone-android.sh
index a7acfde11e1f325ab78e074eaacd6c8061a50878..1c7a8e1cb62d857b73f48d43cdf3337dd9f6ed93 100755
--- a/jenkins-sflphone-android.sh
+++ b/jenkins-sflphone-android.sh
@@ -112,13 +112,17 @@ build_sflphone_android() {
     make dep && make
     popd
 
-    ./make-swig.h
+    ./make-swig.sh
+    ./make-glue.sh
+
+
 
     echo "Build JNI related libraries"
     # ndk-build clean
     ndk-build
 
     echo "Build Java application"
+    ant update project -p .
     ant clean 
     ant debug