1.1 --- a/java/UpozorneniEmailem/nbproject/build-impl.xml Sat Mar 07 14:12:27 2009 +0100
1.2 +++ b/java/UpozorneniEmailem/nbproject/build-impl.xml Sat Mar 07 15:36:13 2009 +0100
1.3 @@ -498,10 +498,15 @@
1.4 </target>
1.5 <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
1.6 <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
1.7 + <copyfiles files="${libs.Kaptcha.classpath}" iftldtodir="${build.web.dir}/WEB-INF" manifestproperty="manifest.libs.Kaptcha.classpath" todir="${dist.ear.dir}"/>
1.8 <mkdir dir="${build.web.dir}/META-INF"/>
1.9 - <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
1.10 + <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update">
1.11 + <attribute name="Class-Path" value="${manifest.libs.Kaptcha.classpath} "/>
1.12 + </manifest>
1.13 </target>
1.14 - <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir"/>
1.15 + <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
1.16 + <copyfiles files="${libs.Kaptcha.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
1.17 + </target>
1.18 <target depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" name="do-ear-dist">
1.19 <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
1.20 <mkdir dir="${dist.jar.dir}"/>