Vytvoření projektu v Netbeans.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.hgignore Wed Dec 30 02:35:15 2009 +0100
1.3 @@ -0,0 +1,3 @@
1.4 +java/abc-drupal-gui/dist/*
1.5 +java/abc-drupal-gui/build/*
1.6 +java/abc-drupal-gui/nbproject/private/*
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/java/abc-drupal-gui/manifest.mf Wed Dec 30 02:35:15 2009 +0100
2.3 @@ -0,0 +1,3 @@
2.4 +Manifest-Version: 1.0
2.5 +X-COMMENT: Main-Class will be added automatically by build
2.6 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/java/abc-drupal-gui/nbproject/build-impl.xml Wed Dec 30 02:35:15 2009 +0100
3.3 @@ -0,0 +1,805 @@
3.4 +<?xml version="1.0" encoding="UTF-8"?>
3.5 +<!--
3.6 +*** GENERATED FROM project.xml - DO NOT EDIT ***
3.7 +*** EDIT ../build.xml INSTEAD ***
3.8 +
3.9 +For the purpose of easier reading the script
3.10 +is divided into following sections:
3.11 +
3.12 + - initialization
3.13 + - compilation
3.14 + - jar
3.15 + - execution
3.16 + - debugging
3.17 + - javadoc
3.18 + - junit compilation
3.19 + - junit execution
3.20 + - junit debugging
3.21 + - applet
3.22 + - cleanup
3.23 +
3.24 + -->
3.25 +<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="abc-drupal-gui-impl">
3.26 + <fail message="Please build using Ant 1.7.1 or higher.">
3.27 + <condition>
3.28 + <not>
3.29 + <antversion atleast="1.7.1"/>
3.30 + </not>
3.31 + </condition>
3.32 + </fail>
3.33 + <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
3.34 + <!--
3.35 + ======================
3.36 + INITIALIZATION SECTION
3.37 + ======================
3.38 + -->
3.39 + <target name="-pre-init">
3.40 + <!-- Empty placeholder for easier customization. -->
3.41 + <!-- You can override this target in the ../build.xml file. -->
3.42 + </target>
3.43 + <target depends="-pre-init" name="-init-private">
3.44 + <property file="nbproject/private/config.properties"/>
3.45 + <property file="nbproject/private/configs/${config}.properties"/>
3.46 + <property file="nbproject/private/private.properties"/>
3.47 + </target>
3.48 + <target depends="-pre-init,-init-private" name="-init-user">
3.49 + <property file="${user.properties.file}"/>
3.50 + <!-- The two properties below are usually overridden -->
3.51 + <!-- by the active platform. Just a fallback. -->
3.52 + <property name="default.javac.source" value="1.4"/>
3.53 + <property name="default.javac.target" value="1.4"/>
3.54 + </target>
3.55 + <target depends="-pre-init,-init-private,-init-user" name="-init-project">
3.56 + <property file="nbproject/configs/${config}.properties"/>
3.57 + <property file="nbproject/project.properties"/>
3.58 + </target>
3.59 + <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
3.60 + <available file="${manifest.file}" property="manifest.available"/>
3.61 + <condition property="main.class.available">
3.62 + <and>
3.63 + <isset property="main.class"/>
3.64 + <not>
3.65 + <equals arg1="${main.class}" arg2="" trim="true"/>
3.66 + </not>
3.67 + </and>
3.68 + </condition>
3.69 + <condition property="manifest.available+main.class">
3.70 + <and>
3.71 + <isset property="manifest.available"/>
3.72 + <isset property="main.class.available"/>
3.73 + </and>
3.74 + </condition>
3.75 + <condition property="do.mkdist">
3.76 + <and>
3.77 + <isset property="libs.CopyLibs.classpath"/>
3.78 + <not>
3.79 + <istrue value="${mkdist.disabled}"/>
3.80 + </not>
3.81 + </and>
3.82 + </condition>
3.83 + <condition property="manifest.available+main.class+mkdist.available">
3.84 + <and>
3.85 + <istrue value="${manifest.available+main.class}"/>
3.86 + <isset property="do.mkdist"/>
3.87 + </and>
3.88 + </condition>
3.89 + <condition property="manifest.available+mkdist.available">
3.90 + <and>
3.91 + <istrue value="${manifest.available}"/>
3.92 + <isset property="do.mkdist"/>
3.93 + </and>
3.94 + </condition>
3.95 + <condition property="manifest.available-mkdist.available">
3.96 + <or>
3.97 + <istrue value="${manifest.available}"/>
3.98 + <isset property="do.mkdist"/>
3.99 + </or>
3.100 + </condition>
3.101 + <condition property="manifest.available+main.class-mkdist.available">
3.102 + <or>
3.103 + <istrue value="${manifest.available+main.class}"/>
3.104 + <isset property="do.mkdist"/>
3.105 + </or>
3.106 + </condition>
3.107 + <condition property="have.tests">
3.108 + <or>
3.109 + <available file="${test.src.dir}"/>
3.110 + </or>
3.111 + </condition>
3.112 + <condition property="have.sources">
3.113 + <or>
3.114 + <available file="${src.dir}"/>
3.115 + </or>
3.116 + </condition>
3.117 + <condition property="netbeans.home+have.tests">
3.118 + <and>
3.119 + <isset property="netbeans.home"/>
3.120 + <isset property="have.tests"/>
3.121 + </and>
3.122 + </condition>
3.123 + <condition property="no.javadoc.preview">
3.124 + <and>
3.125 + <isset property="javadoc.preview"/>
3.126 + <isfalse value="${javadoc.preview}"/>
3.127 + </and>
3.128 + </condition>
3.129 + <property name="run.jvmargs" value=""/>
3.130 + <property name="javac.compilerargs" value=""/>
3.131 + <property name="work.dir" value="${basedir}"/>
3.132 + <condition property="no.deps">
3.133 + <and>
3.134 + <istrue value="${no.dependencies}"/>
3.135 + </and>
3.136 + </condition>
3.137 + <property name="javac.debug" value="true"/>
3.138 + <property name="javadoc.preview" value="true"/>
3.139 + <property name="application.args" value=""/>
3.140 + <property name="source.encoding" value="${file.encoding}"/>
3.141 + <property name="runtime.encoding" value="${source.encoding}"/>
3.142 + <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
3.143 + <and>
3.144 + <isset property="javadoc.encoding"/>
3.145 + <not>
3.146 + <equals arg1="${javadoc.encoding}" arg2=""/>
3.147 + </not>
3.148 + </and>
3.149 + </condition>
3.150 + <property name="javadoc.encoding.used" value="${source.encoding}"/>
3.151 + <property name="includes" value="**"/>
3.152 + <property name="excludes" value=""/>
3.153 + <property name="do.depend" value="false"/>
3.154 + <condition property="do.depend.true">
3.155 + <istrue value="${do.depend}"/>
3.156 + </condition>
3.157 + <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
3.158 + <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
3.159 + <length length="0" string="${endorsed.classpath}" when="greater"/>
3.160 + </condition>
3.161 + <property name="javac.fork" value="false"/>
3.162 + </target>
3.163 + <target name="-post-init">
3.164 + <!-- Empty placeholder for easier customization. -->
3.165 + <!-- You can override this target in the ../build.xml file. -->
3.166 + </target>
3.167 + <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
3.168 + <fail unless="src.dir">Must set src.dir</fail>
3.169 + <fail unless="test.src.dir">Must set test.src.dir</fail>
3.170 + <fail unless="build.dir">Must set build.dir</fail>
3.171 + <fail unless="dist.dir">Must set dist.dir</fail>
3.172 + <fail unless="build.classes.dir">Must set build.classes.dir</fail>
3.173 + <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
3.174 + <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
3.175 + <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
3.176 + <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
3.177 + <fail unless="dist.jar">Must set dist.jar</fail>
3.178 + </target>
3.179 + <target name="-init-macrodef-property">
3.180 + <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
3.181 + <attribute name="name"/>
3.182 + <attribute name="value"/>
3.183 + <sequential>
3.184 + <property name="@{name}" value="${@{value}}"/>
3.185 + </sequential>
3.186 + </macrodef>
3.187 + </target>
3.188 + <target name="-init-macrodef-javac">
3.189 + <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
3.190 + <attribute default="${src.dir}" name="srcdir"/>
3.191 + <attribute default="${build.classes.dir}" name="destdir"/>
3.192 + <attribute default="${javac.classpath}" name="classpath"/>
3.193 + <attribute default="${includes}" name="includes"/>
3.194 + <attribute default="${excludes}" name="excludes"/>
3.195 + <attribute default="${javac.debug}" name="debug"/>
3.196 + <attribute default="${empty.dir}" name="sourcepath"/>
3.197 + <attribute default="${empty.dir}" name="gensrcdir"/>
3.198 + <element name="customize" optional="true"/>
3.199 + <sequential>
3.200 + <property location="${build.dir}/empty" name="empty.dir"/>
3.201 + <mkdir dir="${empty.dir}"/>
3.202 + <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
3.203 + <src>
3.204 + <dirset dir="@{gensrcdir}" erroronmissingdir="false">
3.205 + <include name="*"/>
3.206 + </dirset>
3.207 + </src>
3.208 + <classpath>
3.209 + <path path="@{classpath}"/>
3.210 + </classpath>
3.211 + <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
3.212 + <compilerarg line="${javac.compilerargs}"/>
3.213 + <customize/>
3.214 + </javac>
3.215 + </sequential>
3.216 + </macrodef>
3.217 + <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
3.218 + <attribute default="${src.dir}" name="srcdir"/>
3.219 + <attribute default="${build.classes.dir}" name="destdir"/>
3.220 + <attribute default="${javac.classpath}" name="classpath"/>
3.221 + <sequential>
3.222 + <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
3.223 + <classpath>
3.224 + <path path="@{classpath}"/>
3.225 + </classpath>
3.226 + </depend>
3.227 + </sequential>
3.228 + </macrodef>
3.229 + <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
3.230 + <attribute default="${build.classes.dir}" name="destdir"/>
3.231 + <sequential>
3.232 + <fail unless="javac.includes">Must set javac.includes</fail>
3.233 + <pathconvert pathsep="," property="javac.includes.binary">
3.234 + <path>
3.235 + <filelist dir="@{destdir}" files="${javac.includes}"/>
3.236 + </path>
3.237 + <globmapper from="*.java" to="*.class"/>
3.238 + </pathconvert>
3.239 + <delete>
3.240 + <files includes="${javac.includes.binary}"/>
3.241 + </delete>
3.242 + </sequential>
3.243 + </macrodef>
3.244 + </target>
3.245 + <target name="-init-macrodef-junit">
3.246 + <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
3.247 + <attribute default="${includes}" name="includes"/>
3.248 + <attribute default="${excludes}" name="excludes"/>
3.249 + <attribute default="**" name="testincludes"/>
3.250 + <sequential>
3.251 + <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
3.252 + <batchtest todir="${build.test.results.dir}">
3.253 + <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
3.254 + <filename name="@{testincludes}"/>
3.255 + </fileset>
3.256 + </batchtest>
3.257 + <classpath>
3.258 + <path path="${run.test.classpath}"/>
3.259 + </classpath>
3.260 + <syspropertyset>
3.261 + <propertyref prefix="test-sys-prop."/>
3.262 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
3.263 + </syspropertyset>
3.264 + <formatter type="brief" usefile="false"/>
3.265 + <formatter type="xml"/>
3.266 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.267 + <jvmarg line="${run.jvmargs}"/>
3.268 + </junit>
3.269 + </sequential>
3.270 + </macrodef>
3.271 + </target>
3.272 + <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
3.273 + <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
3.274 + <attribute default="${main.class}" name="name"/>
3.275 + <attribute default="${debug.classpath}" name="classpath"/>
3.276 + <attribute default="" name="stopclassname"/>
3.277 + <sequential>
3.278 + <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
3.279 + <classpath>
3.280 + <path path="@{classpath}"/>
3.281 + </classpath>
3.282 + </nbjpdastart>
3.283 + </sequential>
3.284 + </macrodef>
3.285 + <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
3.286 + <attribute default="${build.classes.dir}" name="dir"/>
3.287 + <sequential>
3.288 + <nbjpdareload>
3.289 + <fileset dir="@{dir}" includes="${fix.classes}">
3.290 + <include name="${fix.includes}*.class"/>
3.291 + </fileset>
3.292 + </nbjpdareload>
3.293 + </sequential>
3.294 + </macrodef>
3.295 + </target>
3.296 + <target name="-init-debug-args">
3.297 + <property name="version-output" value="java version "${ant.java.version}"/>
3.298 + <condition property="have-jdk-older-than-1.4">
3.299 + <or>
3.300 + <contains string="${version-output}" substring="java version "1.0"/>
3.301 + <contains string="${version-output}" substring="java version "1.1"/>
3.302 + <contains string="${version-output}" substring="java version "1.2"/>
3.303 + <contains string="${version-output}" substring="java version "1.3"/>
3.304 + </or>
3.305 + </condition>
3.306 + <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
3.307 + <istrue value="${have-jdk-older-than-1.4}"/>
3.308 + </condition>
3.309 + <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
3.310 + <os family="windows"/>
3.311 + </condition>
3.312 + <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
3.313 + <isset property="debug.transport"/>
3.314 + </condition>
3.315 + </target>
3.316 + <target depends="-init-debug-args" name="-init-macrodef-debug">
3.317 + <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
3.318 + <attribute default="${main.class}" name="classname"/>
3.319 + <attribute default="${debug.classpath}" name="classpath"/>
3.320 + <element name="customize" optional="true"/>
3.321 + <sequential>
3.322 + <java classname="@{classname}" dir="${work.dir}" fork="true">
3.323 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.324 + <jvmarg line="${debug-args-line}"/>
3.325 + <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
3.326 + <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
3.327 + <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
3.328 + <jvmarg line="${run.jvmargs}"/>
3.329 + <classpath>
3.330 + <path path="@{classpath}"/>
3.331 + </classpath>
3.332 + <syspropertyset>
3.333 + <propertyref prefix="run-sys-prop."/>
3.334 + <mapper from="run-sys-prop.*" to="*" type="glob"/>
3.335 + </syspropertyset>
3.336 + <customize/>
3.337 + </java>
3.338 + </sequential>
3.339 + </macrodef>
3.340 + </target>
3.341 + <target name="-init-macrodef-java">
3.342 + <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
3.343 + <attribute default="${main.class}" name="classname"/>
3.344 + <attribute default="${run.classpath}" name="classpath"/>
3.345 + <element name="customize" optional="true"/>
3.346 + <sequential>
3.347 + <java classname="@{classname}" dir="${work.dir}" fork="true">
3.348 + <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
3.349 + <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
3.350 + <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
3.351 + <jvmarg line="${run.jvmargs}"/>
3.352 + <classpath>
3.353 + <path path="@{classpath}"/>
3.354 + </classpath>
3.355 + <syspropertyset>
3.356 + <propertyref prefix="run-sys-prop."/>
3.357 + <mapper from="run-sys-prop.*" to="*" type="glob"/>
3.358 + </syspropertyset>
3.359 + <customize/>
3.360 + </java>
3.361 + </sequential>
3.362 + </macrodef>
3.363 + </target>
3.364 + <target name="-init-presetdef-jar">
3.365 + <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
3.366 + <jar compress="${jar.compress}" jarfile="${dist.jar}">
3.367 + <j2seproject1:fileset dir="${build.classes.dir}"/>
3.368 + </jar>
3.369 + </presetdef>
3.370 + </target>
3.371 + <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"/>
3.372 + <!--
3.373 + ===================
3.374 + COMPILATION SECTION
3.375 + ===================
3.376 + -->
3.377 + <target name="-deps-jar-init" unless="built-jar.properties">
3.378 + <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
3.379 + <delete file="${built-jar.properties}" quiet="true"/>
3.380 + </target>
3.381 + <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
3.382 + <echo level="warn" message="Cycle detected: abc-drupal-gui was already built"/>
3.383 + </target>
3.384 + <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
3.385 + <mkdir dir="${build.dir}"/>
3.386 + <touch file="${built-jar.properties}" verbose="false"/>
3.387 + <property file="${built-jar.properties}" prefix="already.built.jar."/>
3.388 + <antcall target="-warn-already-built-jar"/>
3.389 + <propertyfile file="${built-jar.properties}">
3.390 + <entry key="${basedir}" value=""/>
3.391 + </propertyfile>
3.392 + </target>
3.393 + <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
3.394 + <target depends="init" name="-check-automatic-build">
3.395 + <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
3.396 + </target>
3.397 + <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
3.398 + <antcall target="clean"/>
3.399 + </target>
3.400 + <target depends="init,deps-jar" name="-pre-pre-compile">
3.401 + <mkdir dir="${build.classes.dir}"/>
3.402 + </target>
3.403 + <target name="-pre-compile">
3.404 + <!-- Empty placeholder for easier customization. -->
3.405 + <!-- You can override this target in the ../build.xml file. -->
3.406 + </target>
3.407 + <target if="do.depend.true" name="-compile-depend">
3.408 + <pathconvert property="build.generated.subdirs">
3.409 + <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
3.410 + <include name="*"/>
3.411 + </dirset>
3.412 + </pathconvert>
3.413 + <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
3.414 + </target>
3.415 + <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
3.416 + <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
3.417 + <copy todir="${build.classes.dir}">
3.418 + <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.419 + </copy>
3.420 + </target>
3.421 + <target name="-post-compile">
3.422 + <!-- Empty placeholder for easier customization. -->
3.423 + <!-- You can override this target in the ../build.xml file. -->
3.424 + </target>
3.425 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
3.426 + <target name="-pre-compile-single">
3.427 + <!-- Empty placeholder for easier customization. -->
3.428 + <!-- You can override this target in the ../build.xml file. -->
3.429 + </target>
3.430 + <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
3.431 + <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
3.432 + <j2seproject3:force-recompile/>
3.433 + <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
3.434 + </target>
3.435 + <target name="-post-compile-single">
3.436 + <!-- Empty placeholder for easier customization. -->
3.437 + <!-- You can override this target in the ../build.xml file. -->
3.438 + </target>
3.439 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
3.440 + <!--
3.441 + ====================
3.442 + JAR BUILDING SECTION
3.443 + ====================
3.444 + -->
3.445 + <target depends="init" name="-pre-pre-jar">
3.446 + <dirname file="${dist.jar}" property="dist.jar.dir"/>
3.447 + <mkdir dir="${dist.jar.dir}"/>
3.448 + </target>
3.449 + <target name="-pre-jar">
3.450 + <!-- Empty placeholder for easier customization. -->
3.451 + <!-- You can override this target in the ../build.xml file. -->
3.452 + </target>
3.453 + <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
3.454 + <j2seproject1:jar/>
3.455 + </target>
3.456 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
3.457 + <j2seproject1:jar manifest="${manifest.file}"/>
3.458 + </target>
3.459 + <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">
3.460 + <j2seproject1:jar manifest="${manifest.file}">
3.461 + <j2seproject1:manifest>
3.462 + <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
3.463 + </j2seproject1:manifest>
3.464 + </j2seproject1:jar>
3.465 + <echo>To run this application from the command line without Ant, try:</echo>
3.466 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.467 + <property location="${dist.jar}" name="dist.jar.resolved"/>
3.468 + <pathconvert property="run.classpath.with.dist.jar">
3.469 + <path path="${run.classpath}"/>
3.470 + <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
3.471 + </pathconvert>
3.472 + <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
3.473 + </target>
3.474 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
3.475 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.476 + <pathconvert property="run.classpath.without.build.classes.dir">
3.477 + <path path="${run.classpath}"/>
3.478 + <map from="${build.classes.dir.resolved}" to=""/>
3.479 + </pathconvert>
3.480 + <pathconvert pathsep=" " property="jar.classpath">
3.481 + <path path="${run.classpath.without.build.classes.dir}"/>
3.482 + <chainedmapper>
3.483 + <flattenmapper/>
3.484 + <globmapper from="*" to="lib/*"/>
3.485 + </chainedmapper>
3.486 + </pathconvert>
3.487 + <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
3.488 + <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
3.489 + <fileset dir="${build.classes.dir}"/>
3.490 + <manifest>
3.491 + <attribute name="Main-Class" value="${main.class}"/>
3.492 + <attribute name="Class-Path" value="${jar.classpath}"/>
3.493 + </manifest>
3.494 + </copylibs>
3.495 + <echo>To run this application from the command line without Ant, try:</echo>
3.496 + <property location="${dist.jar}" name="dist.jar.resolved"/>
3.497 + <echo>java -jar "${dist.jar.resolved}"</echo>
3.498 + </target>
3.499 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+mkdist.available" name="-do-jar-with-libraries-without-mainclass" unless="main.class.available">
3.500 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.501 + <pathconvert property="run.classpath.without.build.classes.dir">
3.502 + <path path="${run.classpath}"/>
3.503 + <map from="${build.classes.dir.resolved}" to=""/>
3.504 + </pathconvert>
3.505 + <pathconvert pathsep=" " property="jar.classpath">
3.506 + <path path="${run.classpath.without.build.classes.dir}"/>
3.507 + <chainedmapper>
3.508 + <flattenmapper/>
3.509 + <globmapper from="*" to="lib/*"/>
3.510 + </chainedmapper>
3.511 + </pathconvert>
3.512 + <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
3.513 + <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
3.514 + <fileset dir="${build.classes.dir}"/>
3.515 + <manifest>
3.516 + <attribute name="Class-Path" value="${jar.classpath}"/>
3.517 + </manifest>
3.518 + </copylibs>
3.519 + </target>
3.520 + <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.mkdist" name="-do-jar-with-libraries-without-manifest" unless="manifest.available">
3.521 + <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
3.522 + <pathconvert property="run.classpath.without.build.classes.dir">
3.523 + <path path="${run.classpath}"/>
3.524 + <map from="${build.classes.dir.resolved}" to=""/>
3.525 + </pathconvert>
3.526 + <pathconvert pathsep=" " property="jar.classpath">
3.527 + <path path="${run.classpath.without.build.classes.dir}"/>
3.528 + <chainedmapper>
3.529 + <flattenmapper/>
3.530 + <globmapper from="*" to="lib/*"/>
3.531 + </chainedmapper>
3.532 + </pathconvert>
3.533 + <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
3.534 + <copylibs compress="${jar.compress}" jarfile="${dist.jar}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
3.535 + <fileset dir="${build.classes.dir}"/>
3.536 + <manifest>
3.537 + <attribute name="Class-Path" value="${jar.classpath}"/>
3.538 + </manifest>
3.539 + </copylibs>
3.540 + </target>
3.541 + <target name="-post-jar">
3.542 + <!-- Empty placeholder for easier customization. -->
3.543 + <!-- You can override this target in the ../build.xml file. -->
3.544 + </target>
3.545 + <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-do-jar-with-libraries-without-mainclass,-do-jar-with-libraries-without-manifest,-post-jar" description="Build JAR." name="jar"/>
3.546 + <!--
3.547 + =================
3.548 + EXECUTION SECTION
3.549 + =================
3.550 + -->
3.551 + <target depends="init,compile" description="Run a main class." name="run">
3.552 + <j2seproject1:java>
3.553 + <customize>
3.554 + <arg line="${application.args}"/>
3.555 + </customize>
3.556 + </j2seproject1:java>
3.557 + </target>
3.558 + <target name="-do-not-recompile">
3.559 + <property name="javac.includes.binary" value=""/>
3.560 + </target>
3.561 + <target depends="init,compile-single" name="run-single">
3.562 + <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
3.563 + <j2seproject1:java classname="${run.class}"/>
3.564 + </target>
3.565 + <target depends="init,compile-test-single" name="run-test-with-main">
3.566 + <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
3.567 + <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
3.568 + </target>
3.569 + <!--
3.570 + =================
3.571 + DEBUGGING SECTION
3.572 + =================
3.573 + -->
3.574 + <target depends="init" if="netbeans.home" name="-debug-start-debugger">
3.575 + <j2seproject1:nbjpdastart name="${debug.class}"/>
3.576 + </target>
3.577 + <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
3.578 + <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
3.579 + </target>
3.580 + <target depends="init,compile" name="-debug-start-debuggee">
3.581 + <j2seproject3:debug>
3.582 + <customize>
3.583 + <arg line="${application.args}"/>
3.584 + </customize>
3.585 + </j2seproject3:debug>
3.586 + </target>
3.587 + <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
3.588 + <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
3.589 + <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
3.590 + </target>
3.591 + <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
3.592 + <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
3.593 + <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
3.594 + <j2seproject3:debug classname="${debug.class}"/>
3.595 + </target>
3.596 + <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
3.597 + <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
3.598 + <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
3.599 + <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
3.600 + </target>
3.601 + <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
3.602 + <target depends="init" name="-pre-debug-fix">
3.603 + <fail unless="fix.includes">Must set fix.includes</fail>
3.604 + <property name="javac.includes" value="${fix.includes}.java"/>
3.605 + </target>
3.606 + <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
3.607 + <j2seproject1:nbjpdareload/>
3.608 + </target>
3.609 + <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
3.610 + <!--
3.611 + ===============
3.612 + JAVADOC SECTION
3.613 + ===============
3.614 + -->
3.615 + <target depends="init" name="-javadoc-build">
3.616 + <mkdir dir="${dist.javadoc.dir}"/>
3.617 + <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}">
3.618 + <classpath>
3.619 + <path path="${javac.classpath}"/>
3.620 + </classpath>
3.621 + <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
3.622 + <filename name="**/*.java"/>
3.623 + </fileset>
3.624 + <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
3.625 + <include name="**/*.java"/>
3.626 + </fileset>
3.627 + </javadoc>
3.628 + </target>
3.629 + <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
3.630 + <nbbrowse file="${dist.javadoc.dir}/index.html"/>
3.631 + </target>
3.632 + <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
3.633 + <!--
3.634 + =========================
3.635 + JUNIT COMPILATION SECTION
3.636 + =========================
3.637 + -->
3.638 + <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
3.639 + <mkdir dir="${build.test.classes.dir}"/>
3.640 + </target>
3.641 + <target name="-pre-compile-test">
3.642 + <!-- Empty placeholder for easier customization. -->
3.643 + <!-- You can override this target in the ../build.xml file. -->
3.644 + </target>
3.645 + <target if="do.depend.true" name="-compile-test-depend">
3.646 + <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
3.647 + </target>
3.648 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
3.649 + <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
3.650 + <copy todir="${build.test.classes.dir}">
3.651 + <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.652 + </copy>
3.653 + </target>
3.654 + <target name="-post-compile-test">
3.655 + <!-- Empty placeholder for easier customization. -->
3.656 + <!-- You can override this target in the ../build.xml file. -->
3.657 + </target>
3.658 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
3.659 + <target name="-pre-compile-test-single">
3.660 + <!-- Empty placeholder for easier customization. -->
3.661 + <!-- You can override this target in the ../build.xml file. -->
3.662 + </target>
3.663 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
3.664 + <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
3.665 + <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
3.666 + <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}"/>
3.667 + <copy todir="${build.test.classes.dir}">
3.668 + <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
3.669 + </copy>
3.670 + </target>
3.671 + <target name="-post-compile-test-single">
3.672 + <!-- Empty placeholder for easier customization. -->
3.673 + <!-- You can override this target in the ../build.xml file. -->
3.674 + </target>
3.675 + <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
3.676 + <!--
3.677 + =======================
3.678 + JUNIT EXECUTION SECTION
3.679 + =======================
3.680 + -->
3.681 + <target depends="init" if="have.tests" name="-pre-test-run">
3.682 + <mkdir dir="${build.test.results.dir}"/>
3.683 + </target>
3.684 + <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
3.685 + <j2seproject3:junit testincludes="**/*Test.java"/>
3.686 + </target>
3.687 + <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
3.688 + <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
3.689 + </target>
3.690 + <target depends="init" if="have.tests" name="test-report"/>
3.691 + <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
3.692 + <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
3.693 + <target depends="init" if="have.tests" name="-pre-test-run-single">
3.694 + <mkdir dir="${build.test.results.dir}"/>
3.695 + </target>
3.696 + <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
3.697 + <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
3.698 + <j2seproject3:junit excludes="" includes="${test.includes}"/>
3.699 + </target>
3.700 + <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
3.701 + <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
3.702 + </target>
3.703 + <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
3.704 + <!--
3.705 + =======================
3.706 + JUNIT DEBUGGING SECTION
3.707 + =======================
3.708 + -->
3.709 + <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
3.710 + <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
3.711 + <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
3.712 + <delete file="${test.report.file}"/>
3.713 + <mkdir dir="${build.test.results.dir}"/>
3.714 + <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}">
3.715 + <customize>
3.716 + <syspropertyset>
3.717 + <propertyref prefix="test-sys-prop."/>
3.718 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
3.719 + </syspropertyset>
3.720 + <arg value="${test.class}"/>
3.721 + <arg value="showoutput=true"/>
3.722 + <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
3.723 + <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
3.724 + </customize>
3.725 + </j2seproject3:debug>
3.726 + </target>
3.727 + <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
3.728 + <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
3.729 + </target>
3.730 + <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
3.731 + <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
3.732 + <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
3.733 + </target>
3.734 + <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
3.735 + <!--
3.736 + =========================
3.737 + APPLET EXECUTION SECTION
3.738 + =========================
3.739 + -->
3.740 + <target depends="init,compile-single" name="run-applet">
3.741 + <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
3.742 + <j2seproject1:java classname="sun.applet.AppletViewer">
3.743 + <customize>
3.744 + <arg value="${applet.url}"/>
3.745 + </customize>
3.746 + </j2seproject1:java>
3.747 + </target>
3.748 + <!--
3.749 + =========================
3.750 + APPLET DEBUGGING SECTION
3.751 + =========================
3.752 + -->
3.753 + <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
3.754 + <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
3.755 + <j2seproject3:debug classname="sun.applet.AppletViewer">
3.756 + <customize>
3.757 + <arg value="${applet.url}"/>
3.758 + </customize>
3.759 + </j2seproject3:debug>
3.760 + </target>
3.761 + <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
3.762 + <!--
3.763 + ===============
3.764 + CLEANUP SECTION
3.765 + ===============
3.766 + -->
3.767 + <target name="-deps-clean-init" unless="built-clean.properties">
3.768 + <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
3.769 + <delete file="${built-clean.properties}" quiet="true"/>
3.770 + </target>
3.771 + <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
3.772 + <echo level="warn" message="Cycle detected: abc-drupal-gui was already built"/>
3.773 + </target>
3.774 + <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
3.775 + <mkdir dir="${build.dir}"/>
3.776 + <touch file="${built-clean.properties}" verbose="false"/>
3.777 + <property file="${built-clean.properties}" prefix="already.built.clean."/>
3.778 + <antcall target="-warn-already-built-clean"/>
3.779 + <propertyfile file="${built-clean.properties}">
3.780 + <entry key="${basedir}" value=""/>
3.781 + </propertyfile>
3.782 + </target>
3.783 + <target depends="init" name="-do-clean">
3.784 + <delete dir="${build.dir}"/>
3.785 + <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
3.786 + </target>
3.787 + <target name="-post-clean">
3.788 + <!-- Empty placeholder for easier customization. -->
3.789 + <!-- You can override this target in the ../build.xml file. -->
3.790 + </target>
3.791 + <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
3.792 + <target name="-check-call-dep">
3.793 + <property file="${call.built.properties}" prefix="already.built."/>
3.794 + <condition property="should.call.dep">
3.795 + <not>
3.796 + <isset property="already.built.${call.subproject}"/>
3.797 + </not>
3.798 + </condition>
3.799 + </target>
3.800 + <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
3.801 + <ant antfile="${call.script}" inheritall="false" target="${call.target}">
3.802 + <propertyset>
3.803 + <propertyref prefix="transfer."/>
3.804 + <mapper from="transfer.*" to="*" type="glob"/>
3.805 + </propertyset>
3.806 + </ant>
3.807 + </target>
3.808 +</project>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/java/abc-drupal-gui/nbproject/genfiles.properties Wed Dec 30 02:35:15 2009 +0100
4.3 @@ -0,0 +1,8 @@
4.4 +build.xml.data.CRC32=af63bf49
4.5 +build.xml.script.CRC32=9a751b2b
4.6 +build.xml.stylesheet.CRC32=958a1d3e@1.32.1.45
4.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
4.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
4.9 +nbproject/build-impl.xml.data.CRC32=af63bf49
4.10 +nbproject/build-impl.xml.script.CRC32=a3b688d0
4.11 +nbproject/build-impl.xml.stylesheet.CRC32=576378a2@1.32.1.45
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/java/abc-drupal-gui/nbproject/project.properties Wed Dec 30 02:35:15 2009 +0100
5.3 @@ -0,0 +1,63 @@
5.4 +build.classes.dir=${build.dir}/classes
5.5 +build.classes.excludes=**/*.java,**/*.form
5.6 +# This directory is removed when the project is cleaned:
5.7 +build.dir=build
5.8 +build.generated.dir=${build.dir}/generated
5.9 +build.generated.sources.dir=${build.dir}/generated-sources
5.10 +# Only compile against the classpath explicitly listed here:
5.11 +build.sysclasspath=ignore
5.12 +build.test.classes.dir=${build.dir}/test/classes
5.13 +build.test.results.dir=${build.dir}/test/results
5.14 +# Uncomment to specify the preferred debugger connection transport:
5.15 +#debug.transport=dt_socket
5.16 +debug.classpath=\
5.17 + ${run.classpath}
5.18 +debug.test.classpath=\
5.19 + ${run.test.classpath}
5.20 +# This directory is removed when the project is cleaned:
5.21 +dist.dir=dist
5.22 +dist.jar=${dist.dir}/abc-drupal-gui.jar
5.23 +dist.javadoc.dir=${dist.dir}/javadoc
5.24 +excludes=
5.25 +includes=**
5.26 +jar.compress=false
5.27 +javac.classpath=
5.28 +# Space-separated list of extra javac options
5.29 +javac.compilerargs=
5.30 +javac.deprecation=false
5.31 +javac.source=1.5
5.32 +javac.target=1.5
5.33 +javac.test.classpath=\
5.34 + ${javac.classpath}:\
5.35 + ${build.classes.dir}:\
5.36 + ${libs.junit.classpath}:\
5.37 + ${libs.junit_4.classpath}
5.38 +javadoc.additionalparam=
5.39 +javadoc.author=false
5.40 +javadoc.encoding=${source.encoding}
5.41 +javadoc.noindex=false
5.42 +javadoc.nonavbar=false
5.43 +javadoc.notree=false
5.44 +javadoc.private=false
5.45 +javadoc.splitindex=true
5.46 +javadoc.use=true
5.47 +javadoc.version=false
5.48 +javadoc.windowtitle=
5.49 +jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
5.50 +main.class=cz.frantovo.abcDrupal.gui.HlavniOkno
5.51 +manifest.file=manifest.mf
5.52 +meta.inf.dir=${src.dir}/META-INF
5.53 +platform.active=default_platform
5.54 +run.classpath=\
5.55 + ${javac.classpath}:\
5.56 + ${build.classes.dir}
5.57 +# Space-separated list of JVM arguments used when running the project
5.58 +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
5.59 +# or test-sys-prop.name=value to set system properties for unit tests):
5.60 +run.jvmargs=
5.61 +run.test.classpath=\
5.62 + ${javac.test.classpath}:\
5.63 + ${build.test.classes.dir}
5.64 +source.encoding=UTF-8
5.65 +src.dir=src
5.66 +test.src.dir=test
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/java/abc-drupal-gui/nbproject/project.xml Wed Dec 30 02:35:15 2009 +0100
6.3 @@ -0,0 +1,15 @@
6.4 +<?xml version="1.0" encoding="UTF-8"?>
6.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
6.6 + <type>org.netbeans.modules.java.j2seproject</type>
6.7 + <configuration>
6.8 + <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6.9 + <name>abc-drupal-gui</name>
6.10 + <source-roots>
6.11 + <root id="src.dir"/>
6.12 + </source-roots>
6.13 + <test-roots>
6.14 + <root id="test.src.dir"/>
6.15 + </test-roots>
6.16 + </data>
6.17 + </configuration>
6.18 +</project>
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/java/abc-drupal-gui/src/cz/frantovo/abcDrupal/gui/HlavniOkno.form Wed Dec 30 02:35:15 2009 +0100
7.3 @@ -0,0 +1,59 @@
7.4 +<?xml version="1.0" encoding="UTF-8" ?>
7.5 +
7.6 +<Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
7.7 + <Properties>
7.8 + <Property name="defaultCloseOperation" type="int" value="3"/>
7.9 + </Properties>
7.10 + <SyntheticProperties>
7.11 + <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
7.12 + </SyntheticProperties>
7.13 + <AuxValues>
7.14 + <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
7.15 + <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
7.16 + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
7.17 + <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
7.18 + <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
7.19 + <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
7.20 + <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
7.21 + <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
7.22 + <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
7.23 + </AuxValues>
7.24 +
7.25 + <Layout>
7.26 + <DimensionLayout dim="0">
7.27 + <Group type="103" groupAlignment="0" attributes="0">
7.28 + <Group type="102" attributes="0">
7.29 + <EmptySpace max="-2" attributes="0"/>
7.30 + <Group type="103" groupAlignment="0" attributes="0">
7.31 + <Component id="jButton1" alignment="1" min="-2" max="-2" attributes="0"/>
7.32 + <Component id="jTextField1" alignment="0" pref="388" max="32767" attributes="0"/>
7.33 + </Group>
7.34 + <EmptySpace max="-2" attributes="0"/>
7.35 + </Group>
7.36 + </Group>
7.37 + </DimensionLayout>
7.38 + <DimensionLayout dim="1">
7.39 + <Group type="103" groupAlignment="0" attributes="0">
7.40 + <Group type="102" alignment="1" attributes="0">
7.41 + <EmptySpace max="-2" attributes="0"/>
7.42 + <Component id="jTextField1" min="-2" max="-2" attributes="0"/>
7.43 + <EmptySpace pref="234" max="32767" attributes="0"/>
7.44 + <Component id="jButton1" min="-2" max="-2" attributes="0"/>
7.45 + <EmptySpace max="-2" attributes="0"/>
7.46 + </Group>
7.47 + </Group>
7.48 + </DimensionLayout>
7.49 + </Layout>
7.50 + <SubComponents>
7.51 + <Component class="javax.swing.JButton" name="jButton1">
7.52 + <Properties>
7.53 + <Property name="text" type="java.lang.String" value=":-)"/>
7.54 + </Properties>
7.55 + </Component>
7.56 + <Component class="javax.swing.JTextField" name="jTextField1">
7.57 + <Properties>
7.58 + <Property name="text" type="java.lang.String" value="jTextField1"/>
7.59 + </Properties>
7.60 + </Component>
7.61 + </SubComponents>
7.62 +</Form>
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/java/abc-drupal-gui/src/cz/frantovo/abcDrupal/gui/HlavniOkno.java Wed Dec 30 02:35:15 2009 +0100
8.3 @@ -0,0 +1,94 @@
8.4 +/*
8.5 + * HlavniOkno.java
8.6 + *
8.7 + * Created on 30.12.2009, 2:22:41
8.8 + */
8.9 +package cz.frantovo.abcDrupal.gui;
8.10 +
8.11 +import com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel;
8.12 +import java.util.logging.Level;
8.13 +import java.util.logging.Logger;
8.14 +import javax.swing.UIManager;
8.15 +import javax.swing.UnsupportedLookAndFeelException;
8.16 +
8.17 +/**
8.18 + *
8.19 + * @author fiki
8.20 + */
8.21 +public class HlavniOkno extends javax.swing.JFrame {
8.22 +
8.23 + private static final Logger log = Logger.getLogger(HlavniOkno.class.getName());
8.24 +
8.25 + /** Creates new form HlavniOkno */
8.26 + public HlavniOkno() {
8.27 + initComponents();
8.28 + }
8.29 +
8.30 + /** This method is called from within the constructor to
8.31 + * initialize the form.
8.32 + * WARNING: Do NOT modify this code. The content of this method is
8.33 + * always regenerated by the Form Editor.
8.34 + */
8.35 + @SuppressWarnings("unchecked")
8.36 + // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
8.37 + private void initComponents() {
8.38 +
8.39 + jButton1 = new javax.swing.JButton();
8.40 + jTextField1 = new javax.swing.JTextField();
8.41 +
8.42 + setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
8.43 +
8.44 + jButton1.setText(":-)");
8.45 +
8.46 + jTextField1.setText("jTextField1");
8.47 +
8.48 + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
8.49 + getContentPane().setLayout(layout);
8.50 + layout.setHorizontalGroup(
8.51 + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
8.52 + .addGroup(layout.createSequentialGroup()
8.53 + .addContainerGap()
8.54 + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
8.55 + .addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING)
8.56 + .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE))
8.57 + .addContainerGap())
8.58 + );
8.59 + layout.setVerticalGroup(
8.60 + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
8.61 + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
8.62 + .addContainerGap()
8.63 + .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
8.64 + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 234, Short.MAX_VALUE)
8.65 + .addComponent(jButton1)
8.66 + .addContainerGap())
8.67 + );
8.68 +
8.69 + pack();
8.70 + }// </editor-fold>//GEN-END:initComponents
8.71 +
8.72 + /**
8.73 + * @param args the command line arguments
8.74 + */
8.75 + public static void main(String args[]) {
8.76 + nastavLaF();
8.77 +
8.78 + java.awt.EventQueue.invokeLater(new Runnable() {
8.79 +
8.80 + public void run() {
8.81 + new HlavniOkno().setVisible(true);
8.82 + }
8.83 + });
8.84 + }
8.85 +
8.86 + private static void nastavLaF() {
8.87 + try {
8.88 + UIManager.setLookAndFeel(new NimbusLookAndFeel());
8.89 + } catch (UnsupportedLookAndFeelException e) {
8.90 + log.log(Level.FINE, "Nepodařilo se načíst LaF. Nevadí.");
8.91 + }
8.92 + }
8.93 + // Variables declaration - do not modify//GEN-BEGIN:variables
8.94 + private javax.swing.JButton jButton1;
8.95 + private javax.swing.JTextField jTextField1;
8.96 + // End of variables declaration//GEN-END:variables
8.97 +}