aAPT
dDebian
fFFmpeg
jJava
mMercurial: Usage
oOCaml
pPostgreSQL

Home Applications IDE

Netbeans

Configuration

Configuration is stored in etc/netbeans.conf file.

Enable font antialiasing

Add following to netbeans_default_options:

-J-Dawt.useSystemAAFontSettings=lcd

Ant tasks

Create single jar distribution

build-extra.xml example:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1"
         xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3"
         xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc"
         basedir=".." default="default" name="projectname-extra">

    <target name="-unjar-and-copy-lib-jars">
        <unjar dest="${build.classes.dir}">
            <fileset dir="lib">
                <include name="**/*.jar"/>
            </fileset>
            <patternset>
                <exclude name="META-INF/**"/>
                <exclude name="/*"/>
            </patternset>
        </unjar>
    </target>

    <target depends="init,compile,-pre-pre-jar,-pre-jar,-unjar-and-copy-lib-jars"
            name="uberjar"
            description="Build and package everything as single JAR.">
                
        <jar destfile="${dist.jar}">
            <fileset dir="${build.classes.dir}"/>
            <manifest>
                <attribute name="Main-Class" value="${main.class}"/>
            </manifest>
        </jar>
    </target>
</project>

Add import directive to build.xml:

<import file="nbproject/build-extra.xml"/>

Invocation:

ant uberjar