netbeans, ant
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 30 Mar 2012 15:35:26 +0200
changeset 16290074b53aca
parent 15 9175a185d9c0
child 17 9cb46ca7e26c
netbeans, ant
java/Postak/nbproject/build-impl.xml
java/Postak/nbproject/genfiles.properties
java/SuperPostak/nbproject/build-impl.xml
java/SuperPostak/nbproject/genfiles.properties
     1.1 --- a/java/Postak/nbproject/build-impl.xml	Fri Mar 30 15:35:17 2012 +0200
     1.2 +++ b/java/Postak/nbproject/build-impl.xml	Fri Mar 30 15:35:26 2012 +0200
     1.3 @@ -20,10 +20,10 @@
     1.4  
     1.5          -->
     1.6  <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="Postak-impl">
     1.7 -    <fail message="Please build using Ant 1.7.1 or higher.">
     1.8 +    <fail message="Please build using Ant 1.8.0 or higher.">
     1.9          <condition>
    1.10              <not>
    1.11 -                <antversion atleast="1.7.1"/>
    1.12 +                <antversion atleast="1.8.0"/>
    1.13              </not>
    1.14          </condition>
    1.15      </fail>
    1.16 @@ -198,6 +198,7 @@
    1.17          <property name="javac.fork" value="${jdkBug6558476}"/>
    1.18          <property name="jar.index" value="false"/>
    1.19          <property name="jar.index.metainf" value="${jar.index}"/>
    1.20 +        <property name="copylibs.rebase" value="true"/>
    1.21          <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
    1.22      </target>
    1.23      <target name="-post-init">
    1.24 @@ -384,6 +385,7 @@
    1.25                  <property environment="env"/>
    1.26                  <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
    1.27                  <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
    1.28 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
    1.29                      <jvmarg value="${profiler.info.jvmargs.agent}"/>
    1.30                      <jvmarg line="${profiler.info.jvmargs}"/>
    1.31                      <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
    1.32 @@ -514,7 +516,7 @@
    1.33                      </chainedmapper>
    1.34                  </pathconvert>
    1.35                  <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
    1.36 -                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
    1.37 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
    1.38                      <fileset dir="${build.classes.dir}"/>
    1.39                      <manifest>
    1.40                          <attribute name="Class-Path" value="${jar.classpath}"/>
    1.41 @@ -839,6 +841,14 @@
    1.42              -->
    1.43      <target depends="init" if="have.sources" name="-javadoc-build">
    1.44          <mkdir dir="${dist.javadoc.dir}"/>
    1.45 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
    1.46 +            <and>
    1.47 +                <isset property="endorsed.classpath.cmd.line.arg"/>
    1.48 +                <not>
    1.49 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
    1.50 +                </not>
    1.51 +            </and>
    1.52 +        </condition>
    1.53          <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}">
    1.54              <classpath>
    1.55                  <path path="${javac.classpath}"/>
    1.56 @@ -850,6 +860,7 @@
    1.57                  <include name="**/*.java"/>
    1.58                  <exclude name="*.java"/>
    1.59              </fileset>
    1.60 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
    1.61          </javadoc>
    1.62          <copy todir="${dist.javadoc.dir}">
    1.63              <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
     2.1 --- a/java/Postak/nbproject/genfiles.properties	Fri Mar 30 15:35:17 2012 +0200
     2.2 +++ b/java/Postak/nbproject/genfiles.properties	Fri Mar 30 15:35:26 2012 +0200
     2.3 @@ -4,5 +4,5 @@
     2.4  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     2.5  # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     2.6  nbproject/build-impl.xml.data.CRC32=ecce8ba0
     2.7 -nbproject/build-impl.xml.script.CRC32=c4083fc9
     2.8 -nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
     2.9 +nbproject/build-impl.xml.script.CRC32=8750d9a8
    2.10 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46
     3.1 --- a/java/SuperPostak/nbproject/build-impl.xml	Fri Mar 30 15:35:17 2012 +0200
     3.2 +++ b/java/SuperPostak/nbproject/build-impl.xml	Fri Mar 30 15:35:26 2012 +0200
     3.3 @@ -21,10 +21,10 @@
     3.4          -->
     3.5  <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="SuperPostak-impl">
     3.6      <import file="jnlp-impl.xml"/>
     3.7 -    <fail message="Please build using Ant 1.7.1 or higher.">
     3.8 +    <fail message="Please build using Ant 1.8.0 or higher.">
     3.9          <condition>
    3.10              <not>
    3.11 -                <antversion atleast="1.7.1"/>
    3.12 +                <antversion atleast="1.8.0"/>
    3.13              </not>
    3.14          </condition>
    3.15      </fail>
    3.16 @@ -199,6 +199,7 @@
    3.17          <property name="javac.fork" value="${jdkBug6558476}"/>
    3.18          <property name="jar.index" value="false"/>
    3.19          <property name="jar.index.metainf" value="${jar.index}"/>
    3.20 +        <property name="copylibs.rebase" value="true"/>
    3.21          <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
    3.22      </target>
    3.23      <target name="-post-init">
    3.24 @@ -385,6 +386,7 @@
    3.25                  <property environment="env"/>
    3.26                  <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
    3.27                  <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
    3.28 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
    3.29                      <jvmarg value="${profiler.info.jvmargs.agent}"/>
    3.30                      <jvmarg line="${profiler.info.jvmargs}"/>
    3.31                      <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
    3.32 @@ -515,7 +517,7 @@
    3.33                      </chainedmapper>
    3.34                  </pathconvert>
    3.35                  <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
    3.36 -                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
    3.37 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
    3.38                      <fileset dir="${build.classes.dir}"/>
    3.39                      <manifest>
    3.40                          <attribute name="Class-Path" value="${jar.classpath}"/>
    3.41 @@ -854,6 +856,14 @@
    3.42              -->
    3.43      <target depends="init" if="have.sources" name="-javadoc-build">
    3.44          <mkdir dir="${dist.javadoc.dir}"/>
    3.45 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
    3.46 +            <and>
    3.47 +                <isset property="endorsed.classpath.cmd.line.arg"/>
    3.48 +                <not>
    3.49 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
    3.50 +                </not>
    3.51 +            </and>
    3.52 +        </condition>
    3.53          <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.54              <classpath>
    3.55                  <path path="${javac.classpath}"/>
    3.56 @@ -865,6 +875,7 @@
    3.57                  <include name="**/*.java"/>
    3.58                  <exclude name="*.java"/>
    3.59              </fileset>
    3.60 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
    3.61          </javadoc>
    3.62          <copy todir="${dist.javadoc.dir}">
    3.63              <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
     4.1 --- a/java/SuperPostak/nbproject/genfiles.properties	Fri Mar 30 15:35:17 2012 +0200
     4.2 +++ b/java/SuperPostak/nbproject/genfiles.properties	Fri Mar 30 15:35:26 2012 +0200
     4.3 @@ -4,5 +4,5 @@
     4.4  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     4.5  # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     4.6  nbproject/build-impl.xml.data.CRC32=d917048a
     4.7 -nbproject/build-impl.xml.script.CRC32=ccb272cf
     4.8 -nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
     4.9 +nbproject/build-impl.xml.script.CRC32=c275334b
    4.10 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46