--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+*** GENERATED FROM project.xml - DO NOT EDIT ***\r
+*** EDIT ../build.xml INSTEAD ***\r
+\r
+For the purpose of easier reading the script\r
+is divided into following sections:\r
+\r
+ - initialization\r
+ - compilation\r
+ - jar\r
+ - execution\r
+ - debugging\r
+ - javadoc\r
+ - junit compilation\r
+ - junit execution\r
+ - junit debugging\r
+ - applet\r
+ - cleanup\r
+\r
+ -->\r
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" 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="NicoBrowser-impl">\r
+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>\r
+ <!-- \r
+ ======================\r
+ INITIALIZATION SECTION \r
+ ======================\r
+ -->\r
+ <target name="-pre-init">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="-pre-init" name="-init-private">\r
+ <property file="nbproject/private/config.properties"/>\r
+ <property file="nbproject/private/configs/${config}.properties"/>\r
+ <property file="nbproject/private/private.properties"/>\r
+ </target>\r
+ <target depends="-pre-init,-init-private" name="-init-user">\r
+ <property file="${user.properties.file}"/>\r
+ <!-- The two properties below are usually overridden -->\r
+ <!-- by the active platform. Just a fallback. -->\r
+ <property name="default.javac.source" value="1.4"/>\r
+ <property name="default.javac.target" value="1.4"/>\r
+ </target>\r
+ <target depends="-pre-init,-init-private,-init-user" name="-init-project">\r
+ <property file="nbproject/configs/${config}.properties"/>\r
+ <property file="nbproject/project.properties"/>\r
+ </target>\r
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
+ <available file="${manifest.file}" property="manifest.available"/>\r
+ <condition property="manifest.available+main.class">\r
+ <and>\r
+ <isset property="manifest.available"/>\r
+ <isset property="main.class"/>\r
+ <not>\r
+ <equals arg1="${main.class}" arg2="" trim="true"/>\r
+ </not>\r
+ </and>\r
+ </condition>\r
+ <condition property="manifest.available+main.class+mkdist.available">\r
+ <and>\r
+ <istrue value="${manifest.available+main.class}"/>\r
+ <isset property="libs.CopyLibs.classpath"/>\r
+ </and>\r
+ </condition>\r
+ <condition property="have.tests">\r
+ <or>\r
+ <available file="${test.src.dir}"/>\r
+ </or>\r
+ </condition>\r
+ <condition property="have.sources">\r
+ <or>\r
+ <available file="${src.dir}"/>\r
+ </or>\r
+ </condition>\r
+ <condition property="netbeans.home+have.tests">\r
+ <and>\r
+ <isset property="netbeans.home"/>\r
+ <isset property="have.tests"/>\r
+ </and>\r
+ </condition>\r
+ <condition property="no.javadoc.preview">\r
+ <and>\r
+ <isset property="javadoc.preview"/>\r
+ <isfalse value="${javadoc.preview}"/>\r
+ </and>\r
+ </condition>\r
+ <property name="run.jvmargs" value=""/>\r
+ <property name="javac.compilerargs" value=""/>\r
+ <property name="work.dir" value="${basedir}"/>\r
+ <condition property="no.deps">\r
+ <and>\r
+ <istrue value="${no.dependencies}"/>\r
+ </and>\r
+ </condition>\r
+ <property name="javac.debug" value="true"/>\r
+ <property name="javadoc.preview" value="true"/>\r
+ <property name="application.args" value=""/>\r
+ <property name="source.encoding" value="${file.encoding}"/>\r
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">\r
+ <and>\r
+ <isset property="javadoc.encoding"/>\r
+ <not>\r
+ <equals arg1="${javadoc.encoding}" arg2=""/>\r
+ </not>\r
+ </and>\r
+ </condition>\r
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>\r
+ <property name="includes" value="**"/>\r
+ <property name="excludes" value=""/>\r
+ <property name="do.depend" value="false"/>\r
+ <condition property="do.depend.true">\r
+ <istrue value="${do.depend}"/>\r
+ </condition>\r
+ <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">\r
+ <and>\r
+ <isset property="jaxws.endorsed.dir"/>\r
+ <available file="nbproject/jaxws-build.xml"/>\r
+ </and>\r
+ </condition>\r
+ </target>\r
+ <target name="-post-init">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">\r
+ <fail unless="src.dir">Must set src.dir</fail>\r
+ <fail unless="test.src.dir">Must set test.src.dir</fail>\r
+ <fail unless="build.dir">Must set build.dir</fail>\r
+ <fail unless="dist.dir">Must set dist.dir</fail>\r
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>\r
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>\r
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>\r
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>\r
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>\r
+ <fail unless="dist.jar">Must set dist.jar</fail>\r
+ </target>\r
+ <target name="-init-macrodef-property">\r
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+ <attribute name="name"/>\r
+ <attribute name="value"/>\r
+ <sequential>\r
+ <property name="@{name}" value="${@{value}}"/>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-macrodef-javac">\r
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+ <attribute default="${src.dir}" name="srcdir"/>\r
+ <attribute default="${build.classes.dir}" name="destdir"/>\r
+ <attribute default="${javac.classpath}" name="classpath"/>\r
+ <attribute default="${includes}" name="includes"/>\r
+ <attribute default="${excludes}" name="excludes"/>\r
+ <attribute default="${javac.debug}" name="debug"/>\r
+ <attribute default="" name="sourcepath"/>\r
+ <element name="customize" optional="true"/>\r
+ <sequential>\r
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">\r
+ <classpath>\r
+ <path path="@{classpath}"/>\r
+ </classpath>\r
+ <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>\r
+ <customize/>\r
+ </javac>\r
+ </sequential>\r
+ </macrodef>\r
+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+ <attribute default="${src.dir}" name="srcdir"/>\r
+ <attribute default="${build.classes.dir}" name="destdir"/>\r
+ <attribute default="${javac.classpath}" name="classpath"/>\r
+ <sequential>\r
+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">\r
+ <classpath>\r
+ <path path="@{classpath}"/>\r
+ </classpath>\r
+ </depend>\r
+ </sequential>\r
+ </macrodef>\r
+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+ <attribute default="${build.classes.dir}" name="destdir"/>\r
+ <sequential>\r
+ <fail unless="javac.includes">Must set javac.includes</fail>\r
+ <pathconvert pathsep="," property="javac.includes.binary">\r
+ <path>\r
+ <filelist dir="@{destdir}" files="${javac.includes}"/>\r
+ </path>\r
+ <globmapper from="*.java" to="*.class"/>\r
+ </pathconvert>\r
+ <delete>\r
+ <files includes="${javac.includes.binary}"/>\r
+ </delete>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-macrodef-junit">\r
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+ <attribute default="${includes}" name="includes"/>\r
+ <attribute default="${excludes}" name="excludes"/>\r
+ <attribute default="**" name="testincludes"/>\r
+ <sequential>\r
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">\r
+ <batchtest todir="${build.test.results.dir}">\r
+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">\r
+ <filename name="@{testincludes}"/>\r
+ </fileset>\r
+ </batchtest>\r
+ <classpath>\r
+ <path path="${run.test.classpath}"/>\r
+ </classpath>\r
+ <syspropertyset>\r
+ <propertyref prefix="test-sys-prop."/>\r
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+ </syspropertyset>\r
+ <formatter type="brief" usefile="false"/>\r
+ <formatter type="xml"/>\r
+ <jvmarg line="${run.jvmargs}"/>\r
+ </junit>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-macrodef-nbjpda">\r
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+ <attribute default="${main.class}" name="name"/>\r
+ <attribute default="${debug.classpath}" name="classpath"/>\r
+ <attribute default="" name="stopclassname"/>\r
+ <sequential>\r
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">\r
+ <classpath>\r
+ <path path="@{classpath}"/>\r
+ </classpath>\r
+ </nbjpdastart>\r
+ </sequential>\r
+ </macrodef>\r
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+ <attribute default="${build.classes.dir}" name="dir"/>\r
+ <sequential>\r
+ <nbjpdareload>\r
+ <fileset dir="@{dir}" includes="${fix.includes}*.class"/>\r
+ </nbjpdareload>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-debug-args">\r
+ <property name="version-output" value="java version "${ant.java.version}"/>\r
+ <condition property="have-jdk-older-than-1.4">\r
+ <or>\r
+ <contains string="${version-output}" substring="java version "1.0"/>\r
+ <contains string="${version-output}" substring="java version "1.1"/>\r
+ <contains string="${version-output}" substring="java version "1.2"/>\r
+ <contains string="${version-output}" substring="java version "1.3"/>\r
+ </or>\r
+ </condition>\r
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">\r
+ <istrue value="${have-jdk-older-than-1.4}"/>\r
+ </condition>\r
+ </target>\r
+ <target depends="-init-debug-args" name="-init-macrodef-debug">\r
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+ <attribute default="${main.class}" name="classname"/>\r
+ <attribute default="${debug.classpath}" name="classpath"/>\r
+ <element name="customize" optional="true"/>\r
+ <sequential>\r
+ <java classname="@{classname}" dir="${work.dir}" fork="true">\r
+ <jvmarg line="${debug-args-line}"/>\r
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>\r
+ <jvmarg line="${run.jvmargs}"/>\r
+ <classpath>\r
+ <path path="@{classpath}"/>\r
+ </classpath>\r
+ <syspropertyset>\r
+ <propertyref prefix="run-sys-prop."/>\r
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>\r
+ </syspropertyset>\r
+ <customize/>\r
+ </java>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-macrodef-java">\r
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+ <attribute default="${main.class}" name="classname"/>\r
+ <element name="customize" optional="true"/>\r
+ <sequential>\r
+ <java classname="@{classname}" dir="${work.dir}" fork="true">\r
+ <jvmarg line="${run.jvmargs}"/>\r
+ <classpath>\r
+ <path path="${run.classpath}"/>\r
+ </classpath>\r
+ <syspropertyset>\r
+ <propertyref prefix="run-sys-prop."/>\r
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>\r
+ </syspropertyset>\r
+ <customize/>\r
+ </java>\r
+ </sequential>\r
+ </macrodef>\r
+ </target>\r
+ <target name="-init-presetdef-jar">\r
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+ <jar compress="${jar.compress}" jarfile="${dist.jar}">\r
+ <j2seproject1:fileset dir="${build.classes.dir}"/>\r
+ </jar>\r
+ </presetdef>\r
+ </target>\r
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>\r
+ <!--\r
+ ===================\r
+ COMPILATION SECTION\r
+ ===================\r
+ -->\r
+ <target depends="init" name="deps-jar" unless="no.deps"/>\r
+ <target depends="init,deps-jar" name="-pre-pre-compile">\r
+ <mkdir dir="${build.classes.dir}"/>\r
+ </target>\r
+ <target name="-pre-compile">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target if="do.depend.true" name="-compile-depend">\r
+ <j2seproject3:depend/>\r
+ </target>\r
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">\r
+ <j2seproject3:javac/>\r
+ <copy todir="${build.classes.dir}">\r
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+ </copy>\r
+ </target>\r
+ <target name="-post-compile">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>\r
+ <target name="-pre-compile-single">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">\r
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>\r
+ <j2seproject3:force-recompile/>\r
+ <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>\r
+ </target>\r
+ <target name="-post-compile-single">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>\r
+ <!--\r
+ ====================\r
+ JAR BUILDING SECTION\r
+ ====================\r
+ -->\r
+ <target depends="init" name="-pre-pre-jar">\r
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>\r
+ <mkdir dir="${dist.jar.dir}"/>\r
+ </target>\r
+ <target name="-pre-jar">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">\r
+ <j2seproject1:jar/>\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">\r
+ <j2seproject1:jar manifest="${manifest.file}"/>\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">\r
+ <j2seproject1:jar manifest="${manifest.file}">\r
+ <j2seproject1:manifest>\r
+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>\r
+ </j2seproject1:manifest>\r
+ </j2seproject1:jar>\r
+ <echo>To run this application from the command line without Ant, try:</echo>\r
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
+ <property location="${dist.jar}" name="dist.jar.resolved"/>\r
+ <pathconvert property="run.classpath.with.dist.jar">\r
+ <path path="${run.classpath}"/>\r
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
+ </pathconvert>\r
+ <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">\r
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
+ <pathconvert property="run.classpath.without.build.classes.dir">\r
+ <path path="${run.classpath}"/>\r
+ <map from="${build.classes.dir.resolved}" to=""/>\r
+ </pathconvert>\r
+ <pathconvert pathsep=" " property="jar.classpath">\r
+ <path path="${run.classpath.without.build.classes.dir}"/>\r
+ <chainedmapper>\r
+ <flattenmapper/>\r
+ <globmapper from="*" to="lib/*"/>\r
+ </chainedmapper>\r
+ </pathconvert>\r
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>\r
+ <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">\r
+ <fileset dir="${build.classes.dir}"/>\r
+ <manifest>\r
+ <attribute name="Main-Class" value="${main.class}"/>\r
+ <attribute name="Class-Path" value="${jar.classpath}"/>\r
+ </manifest>\r
+ </copylibs>\r
+ <echo>To run this application from the command line without Ant, try:</echo>\r
+ <property location="${dist.jar}" name="dist.jar.resolved"/>\r
+ <echo>java -jar "${dist.jar.resolved}"</echo>\r
+ </target>\r
+ <target name="-post-jar">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>\r
+ <!--\r
+ =================\r
+ EXECUTION SECTION\r
+ =================\r
+ -->\r
+ <target depends="init,compile" description="Run a main class." name="run">\r
+ <j2seproject1:java>\r
+ <customize>\r
+ <arg line="${application.args}"/>\r
+ </customize>\r
+ </j2seproject1:java>\r
+ </target>\r
+ <target name="-do-not-recompile">\r
+ <property name="javac.includes.binary" value=""/>\r
+ </target>\r
+ <target depends="init,-do-not-recompile,compile-single" name="run-single">\r
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>\r
+ <j2seproject1:java classname="${run.class}"/>\r
+ </target>\r
+ <!--\r
+ =================\r
+ DEBUGGING SECTION\r
+ =================\r
+ -->\r
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">\r
+ <j2seproject1:nbjpdastart name="${debug.class}"/>\r
+ </target>\r
+ <target depends="init,compile" name="-debug-start-debuggee">\r
+ <j2seproject3:debug>\r
+ <customize>\r
+ <arg line="${application.args}"/>\r
+ </customize>\r
+ </j2seproject3:debug>\r
+ </target>\r
+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>\r
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">\r
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>\r
+ </target>\r
+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>\r
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">\r
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>\r
+ <j2seproject3:debug classname="${debug.class}"/>\r
+ </target>\r
+ <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>\r
+ <target depends="init" name="-pre-debug-fix">\r
+ <fail unless="fix.includes">Must set fix.includes</fail>\r
+ <property name="javac.includes" value="${fix.includes}.java"/>\r
+ </target>\r
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">\r
+ <j2seproject1:nbjpdareload/>\r
+ </target>\r
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>\r
+ <!--\r
+ ===============\r
+ JAVADOC SECTION\r
+ ===============\r
+ -->\r
+ <target depends="init" name="-javadoc-build">\r
+ <mkdir dir="${dist.javadoc.dir}"/>\r
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">\r
+ <classpath>\r
+ <path path="${javac.classpath}"/>\r
+ </classpath>\r
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">\r
+ <filename name="**/*.java"/>\r
+ </fileset>\r
+ </javadoc>\r
+ </target>\r
+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">\r
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>\r
+ </target>\r
+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>\r
+ <!--\r
+ =========================\r
+ JUNIT COMPILATION SECTION\r
+ =========================\r
+ -->\r
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">\r
+ <mkdir dir="${build.test.classes.dir}"/>\r
+ </target>\r
+ <target name="-pre-compile-test">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target if="do.depend.true" name="-compile-test-depend">\r
+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">\r
+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>\r
+ <copy todir="${build.test.classes.dir}">\r
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+ </copy>\r
+ </target>\r
+ <target name="-post-compile-test">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>\r
+ <target name="-pre-compile-test-single">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">\r
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>\r
+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>\r
+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>\r
+ <copy todir="${build.test.classes.dir}">\r
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+ </copy>\r
+ </target>\r
+ <target name="-post-compile-test-single">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>\r
+ <!--\r
+ =======================\r
+ JUNIT EXECUTION SECTION\r
+ =======================\r
+ -->\r
+ <target depends="init" if="have.tests" name="-pre-test-run">\r
+ <mkdir dir="${build.test.results.dir}"/>\r
+ </target>\r
+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">\r
+ <j2seproject3:junit testincludes="**/*Test.java"/>\r
+ </target>\r
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">\r
+ <fail if="tests.failed">Some tests failed; see details above.</fail>\r
+ </target>\r
+ <target depends="init" if="have.tests" name="test-report"/>\r
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>\r
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>\r
+ <target depends="init" if="have.tests" name="-pre-test-run-single">\r
+ <mkdir dir="${build.test.results.dir}"/>\r
+ </target>\r
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">\r
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>\r
+ <j2seproject3:junit excludes="" includes="${test.includes}"/>\r
+ </target>\r
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">\r
+ <fail if="tests.failed">Some tests failed; see details above.</fail>\r
+ </target>\r
+ <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>\r
+ <!--\r
+ =======================\r
+ JUNIT DEBUGGING SECTION\r
+ =======================\r
+ -->\r
+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">\r
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>\r
+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>\r
+ <delete file="${test.report.file}"/>\r
+ <mkdir dir="${build.test.results.dir}"/>\r
+ <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">\r
+ <customize>\r
+ <syspropertyset>\r
+ <propertyref prefix="test-sys-prop."/>\r
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+ </syspropertyset>\r
+ <arg value="${test.class}"/>\r
+ <arg value="showoutput=true"/>\r
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>\r
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>\r
+ </customize>\r
+ </j2seproject3:debug>\r
+ </target>\r
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">\r
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>\r
+ </target>\r
+ <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>\r
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">\r
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>\r
+ </target>\r
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>\r
+ <!--\r
+ =========================\r
+ APPLET EXECUTION SECTION\r
+ =========================\r
+ -->\r
+ <target depends="init,compile-single" name="run-applet">\r
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>\r
+ <j2seproject1:java classname="sun.applet.AppletViewer">\r
+ <customize>\r
+ <arg value="${applet.url}"/>\r
+ </customize>\r
+ </j2seproject1:java>\r
+ </target>\r
+ <!--\r
+ =========================\r
+ APPLET DEBUGGING SECTION\r
+ =========================\r
+ -->\r
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">\r
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>\r
+ <j2seproject3:debug classname="sun.applet.AppletViewer">\r
+ <customize>\r
+ <arg value="${applet.url}"/>\r
+ </customize>\r
+ </j2seproject3:debug>\r
+ </target>\r
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>\r
+ <!--\r
+ ===============\r
+ CLEANUP SECTION\r
+ ===============\r
+ -->\r
+ <target depends="init" name="deps-clean" unless="no.deps"/>\r
+ <target depends="init" name="-do-clean">\r
+ <delete dir="${build.dir}"/>\r
+ <delete dir="${dist.dir}"/>\r
+ </target>\r
+ <target name="-post-clean">\r
+ <!-- Empty placeholder for easier customization. -->\r
+ <!-- You can override this target in the ../build.xml file. -->\r
+ </target>\r
+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>\r
+</project>\r
--- /dev/null
+/*
+ * MainWindow.java
+ *
+ * Created on 2008/01/05, 15:28
+ */
+package nicobrowser;
+
+import javax.swing.table.DefaultTableModel;
+
+/**
+ *
+ * @author yuki
+ */
+public class MainWindow extends javax.swing.JFrame {
+
+ private static final String COLUMN_NAMES[] = {"サムネイル", "タイトル", "説明", "投稿日"};
+ private DefaultTableModel tableModel = new DefaultTableModel(COLUMN_NAMES, 0);
+
+ /** Creates new form MainWindow */
+ public MainWindow() {
+ initComponents();
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is
+ * always regenerated by the Form Editor.
+ */
+ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jScrollPane1 = new javax.swing.JScrollPane();
+ jTable1 = new javax.swing.JTable();
+ jPanel1 = new javax.swing.JPanel();
+ jButton1 = new javax.swing.JButton();
+ jLabel1 = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ jTextField1 = new javax.swing.JTextField();
+ jTextField2 = new javax.swing.JTextField();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jTable1.setModel(tableModel);
+ jScrollPane1.setViewportView(jTable1);
+
+ jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
+
+ jButton1.setText("Load");
+
+ jLabel1.setText("mail");
+
+ jLabel2.setText("password");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jButton1)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jLabel1)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jLabel2)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ jPanel1Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jTextField1, jTextField2});
+
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton1)
+ .addComponent(jLabel1)
+ .addComponent(jLabel2)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 476, Short.MAX_VALUE)
+ .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );
+
+ pack();
+ }// </editor-fold>//GEN-END:initComponents
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ java.awt.EventQueue.invokeLater(new Runnable() {
+
+ public void run() {
+ new MainWindow().setVisible(true);
+ }
+ });
+ }
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JTable jTable1;
+ private javax.swing.JTextField jTextField1;
+ private javax.swing.JTextField jTextField2;
+ // End of variables declaration//GEN-END:variables
+}