java/SuperDAOplugin/nbproject/build-impl.xml
author František Kučera <franta-hg@frantovo.cz>
Wed, 11 Feb 2009 22:23:22 +0100
changeset 2 3df37f25b286
parent 1 d32edd5bcb8a
permissions -rw-r--r--
Opravena chyba související s protected metodami:
pokud jsme dříve měli protected metodu, ve které jsme používali getSQL nebo getVlastnost
a tuto metodu jsme volali z potomka, hledaly se SQL a Vlastnosti v XML souboru patřícímu potomkovi.
Proto je v protected metodách potřeba zadávat kromě názvu požadované hodnoty i třídu,
aby bylo jasné, že se mají hodnoty bráz z jejího XML souboru a ne ze souboru potomka.
franta-hg@1
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@1
     2
<!--
franta-hg@1
     3
*** GENERATED FROM project.xml - DO NOT EDIT  ***
franta-hg@1
     4
***         EDIT ../build.xml INSTEAD         ***
franta-hg@1
     5
-->
franta-hg@1
     6
<project name="cz.frantovo.superDAO-impl" basedir="..">
franta-hg@2
     7
    <property file="nbproject/private/suite-private.properties"/>
franta-hg@2
     8
    <property file="nbproject/suite.properties"/>
franta-hg@2
     9
    <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
franta-hg@2
    10
    <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
franta-hg@2
    11
    <property file="${suite.dir}/nbproject/platform.properties"/>
franta-hg@1
    12
    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
franta-hg@1
    13
        <attribute name="name"/>
franta-hg@1
    14
        <attribute name="value"/>
franta-hg@1
    15
        <sequential>
franta-hg@1
    16
            <property name="@{name}" value="${@{value}}"/>
franta-hg@1
    17
        </sequential>
franta-hg@1
    18
    </macrodef>
franta-hg@1
    19
    <property file="${user.properties.file}"/>
franta-hg@1
    20
    <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
franta-hg@1
    21
    <nbmproject2:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
franta-hg@1
    22
    <fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
franta-hg@1
    23
        <condition>
franta-hg@1
    24
            <not>
franta-hg@1
    25
                <available file="${harness.dir}" type="dir"/>
franta-hg@1
    26
            </not>
franta-hg@1
    27
        </condition>
franta-hg@1
    28
    </fail>
franta-hg@1
    29
    <import file="${harness.dir}/build.xml"/>
franta-hg@1
    30
</project>