Show
Ignore:
Timestamp:
05/29/09 02:04:27 (15 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

Přidána závislost na projektu SuperDAO.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • java/sql-vyuka/nbproject/build-impl.xml

    r8 r15  
    361361                COMPILATION SECTION 
    362362            --> 
    363     <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps"/> 
    364     <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps"/> 
     363    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps"> 
     364        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"/> 
     365    </target> 
     366    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps"> 
     367        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar"/> 
     368    </target> 
    365369    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/> 
    366370    <target depends="init,deps-jar" name="-pre-pre-compile"> 
     
    499503    <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/> 
    500504    <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest"> 
     505        <copyfiles files="${reference.SuperDAO.jar}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.reference.SuperDAO.jar" todir="${dist.ear.dir}"/> 
    501506        <mkdir dir="${build.web.dir}/META-INF"/> 
    502         <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/> 
    503     </target> 
    504     <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir"/> 
     507        <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"> 
     508            <attribute name="Class-Path" value="${manifest.reference.SuperDAO.jar} "/> 
     509        </manifest> 
     510    </target> 
     511    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir"> 
     512        <copyfiles files="${reference.SuperDAO.jar}" todir="${build.web.dir}/WEB-INF/lib"/> 
     513    </target> 
    505514    <target depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" name="do-ear-dist"> 
    506515        <dirname file="${dist.ear.war}" property="dist.jar.dir"/> 
     
    778787                CLEANUP SECTION 
    779788            --> 
    780     <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps"/> 
     789    <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps"> 
     790        <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="clean"/> 
     791    </target> 
    781792    <target depends="init" name="do-clean"> 
    782793        <condition property="build.dir.to.clean" value="${build.web.dir}">