Why is no one using make for Java?

The fundamental issue with Make and Java is that Make works on the premise that you have specify a dependency, and then a rule to resolve that dependency. With basic C, that typically “to convert a main.c file to a main.o file, run “cc main.c”. You can do that in java, but you quickly learn … Read more

How to create a signed APK file using Cordova command line interface?

Step 1: D:\projects\Phonegap\Example> cordova plugin rm org.apache.cordova.console –save add the –save so that it removes the plugin from the config.xml file. Step 2: To generate a release build for Android, we first need to make a small change to the AndroidManifest.xml file found in platforms/android. Edit the file and change the line: <application android:debuggable=”true” android:hardwareAccelerated=”true” … Read more

How can I install Apache Ant on Mac OS X?

Ant is already installed on some older versions of Mac OS X, so you should run ant -version to test if it is installed before attempting to install it. If it is not already installed, then your best bet is to install Homebrew (brew install ant) or MacPorts (sudo port install apache-ant), and use those … Read more

How can I get a list of build targets in Ant?

The -p or -projecthelp option does exactly this, so you can just try: ant -p build.xml From ant’s command line documentation: The -projecthelp option prints out a list of the build file’s targets. Targets that include a description attribute are listed as “Main targets”, those without a description are listed as “Other targets”, then the … Read more

ant warning: “‘includeantruntime’ was not set”

Ant Runtime Simply set includeantruntime=”false”: <javac includeantruntime=”false” …>…</javac> If you have to use the javac-task multiple times you might want to consider using PreSetDef to define your own javac-task that always sets includeantruntime=”false”. Additional Details From http://www.coderanch.com/t/503097/tools/warning-includeantruntime-was-not-set: That’s caused by a misfeature introduced in Ant 1.8. Just add an attribute of that name to the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)