OSDN Git Service

NetBeans7.1.1アップデート
authoryukihane <yukihane.feather@gmail.com>
Wed, 21 Mar 2012 15:03:58 +0000 (00:03 +0900)
committeryukihane <yukihane.feather@gmail.com>
Wed, 21 Mar 2012 15:03:58 +0000 (00:03 +0900)
frontend/nbproject/build-impl.xml
frontend/nbproject/genfiles.properties
frontend/nbproject/project.properties
frontend/nbproject/project.xml

index bf929af..2b5e3bd 100644 (file)
@@ -20,10 +20,10 @@ is divided into following sections:
 \r
         -->\r
 <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="Saccubus-impl">\r
 \r
         -->\r
 <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="Saccubus-impl">\r
-    <fail message="Please build using Ant 1.7.1 or higher.">\r
+    <fail message="Please build using Ant 1.8.0 or higher.">\r
         <condition>\r
             <not>\r
         <condition>\r
             <not>\r
-                <antversion atleast="1.7.1"/>\r
+                <antversion atleast="1.8.0"/>\r
             </not>\r
         </condition>\r
     </fail>\r
             </not>\r
         </condition>\r
     </fail>\r
@@ -54,43 +54,6 @@ is divided into following sections:
         <property file="nbproject/project.properties"/>\r
     </target>\r
     <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
         <property file="nbproject/project.properties"/>\r
     </target>\r
     <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
-        <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>\r
-        <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>\r
-        <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>\r
-        <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>\r
-        <condition property="platform.javac" value="${platform.home}/bin/javac">\r
-            <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>\r
-        </condition>\r
-        <property name="platform.javac" value="${platform.javac.tmp}"/>\r
-        <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>\r
-        <condition property="platform.java" value="${platform.home}/bin/java">\r
-            <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>\r
-        </condition>\r
-        <property name="platform.java" value="${platform.java.tmp}"/>\r
-        <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>\r
-        <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">\r
-            <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>\r
-        </condition>\r
-        <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>\r
-        <condition property="platform.invalid" value="true">\r
-            <or>\r
-                <contains string="${platform.javac}" substring="$${platforms."/>\r
-                <contains string="${platform.java}" substring="$${platforms."/>\r
-                <contains string="${platform.javadoc}" substring="$${platforms."/>\r
-            </or>\r
-        </condition>\r
-        <fail unless="platform.home">Must set platform.home</fail>\r
-        <fail unless="platform.bootcp">Must set platform.bootcp</fail>\r
-        <fail unless="platform.java">Must set platform.java</fail>\r
-        <fail unless="platform.javac">Must set platform.javac</fail>\r
-        <fail if="platform.invalid">\r
- The J2SE Platform is not correctly set up.\r
- Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. \r
- Either open the project in the IDE and setup the Platform with the same name or add it manually.\r
- For example like this:\r
-     ant -Duser.properties.file=&lt;path_to_property_file&gt; jar (where you put the property "platforms.${platform.active}.home" in a .properties file)\r
-  or ant -Dplatforms.${platform.active}.home=&lt;path_to_JDK_home&gt; jar (where no properties file is used) \r
-  </fail>\r
         <available file="${manifest.file}" property="manifest.available"/>\r
         <condition property="splashscreen.available">\r
             <and>\r
         <available file="${manifest.file}" property="manifest.available"/>\r
         <condition property="splashscreen.available">\r
             <and>\r
@@ -224,8 +187,18 @@ is divided into following sections:
         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">\r
             <length length="0" string="${endorsed.classpath}" when="greater"/>\r
         </condition>\r
         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">\r
             <length length="0" string="${endorsed.classpath}" when="greater"/>\r
         </condition>\r
+        <condition else="false" property="jdkBug6558476">\r
+            <and>\r
+                <matches pattern="1\.[56]" string="${java.specification.version}"/>\r
+                <not>\r
+                    <os family="unix"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <property name="javac.fork" value="${jdkBug6558476}"/>\r
         <property name="jar.index" value="false"/>\r
         <property name="jar.index.metainf" value="${jar.index}"/>\r
         <property name="jar.index" value="false"/>\r
         <property name="jar.index.metainf" value="${jar.index}"/>\r
+        <property name="copylibs.rebase" value="true"/>\r
         <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>\r
     </target>\r
     <target name="-post-init">\r
         <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>\r
     </target>\r
     <target name="-post-init">\r
@@ -270,7 +243,7 @@ is divided into following sections:
                 <property location="${build.dir}/empty" name="empty.dir"/>\r
                 <mkdir dir="${empty.dir}"/>\r
                 <mkdir dir="@{apgeneratedsrcdir}"/>\r
                 <property location="${build.dir}/empty" name="empty.dir"/>\r
                 <mkdir dir="${empty.dir}"/>\r
                 <mkdir dir="@{apgeneratedsrcdir}"/>\r
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+                <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}">\r
                     <src>\r
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
                             <include name="*"/>\r
                     <src>\r
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
                             <include name="*"/>\r
@@ -309,7 +282,7 @@ is divided into following sections:
             <sequential>\r
                 <property location="${build.dir}/empty" name="empty.dir"/>\r
                 <mkdir dir="${empty.dir}"/>\r
             <sequential>\r
                 <property location="${build.dir}/empty" name="empty.dir"/>\r
                 <mkdir dir="${empty.dir}"/>\r
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+                <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}">\r
                     <src>\r
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
                             <include name="*"/>\r
                     <src>\r
                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
                             <include name="*"/>\r
@@ -366,7 +339,7 @@ is divided into following sections:
             <attribute default="**" name="testincludes"/>\r
             <sequential>\r
                 <property name="junit.forkmode" value="perTest"/>\r
             <attribute default="**" name="testincludes"/>\r
             <sequential>\r
                 <property name="junit.forkmode" value="perTest"/>\r
-                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}">\r
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
                     <batchtest todir="${build.test.results.dir}">\r
                         <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">\r
                             <filename name="@{testincludes}"/>\r
                     <batchtest todir="${build.test.results.dir}">\r
                         <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">\r
                             <filename name="@{testincludes}"/>\r
@@ -412,6 +385,7 @@ is divided into following sections:
                 <property environment="env"/>\r
                 <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>\r
                 <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">\r
                 <property environment="env"/>\r
                 <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>\r
                 <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">\r
+                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
                     <jvmarg value="${profiler.info.jvmargs.agent}"/>\r
                     <jvmarg line="${profiler.info.jvmargs}"/>\r
                     <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>\r
                     <jvmarg value="${profiler.info.jvmargs.agent}"/>\r
                     <jvmarg line="${profiler.info.jvmargs}"/>\r
                     <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>\r
@@ -442,9 +416,6 @@ is divided into following sections:
                     <classpath>\r
                         <path path="@{classpath}"/>\r
                     </classpath>\r
                     <classpath>\r
                         <path path="@{classpath}"/>\r
                     </classpath>\r
-                    <bootclasspath>\r
-                        <path path="${platform.bootcp}"/>\r
-                    </bootclasspath>\r
                 </nbjpdastart>\r
             </sequential>\r
         </macrodef>\r
                 </nbjpdastart>\r
             </sequential>\r
         </macrodef>\r
@@ -460,9 +431,7 @@ is divided into following sections:
         </macrodef>\r
     </target>\r
     <target name="-init-debug-args">\r
         </macrodef>\r
     </target>\r
     <target name="-init-debug-args">\r
-        <exec executable="${platform.java}" outputproperty="version-output">\r
-            <arg value="-version"/>\r
-        </exec>\r
+        <property name="version-output" value="java version &quot;${ant.java.version}"/>\r
         <condition property="have-jdk-older-than-1.4">\r
             <or>\r
                 <contains string="${version-output}" substring="java version &quot;1.0"/>\r
         <condition property="have-jdk-older-than-1.4">\r
             <or>\r
                 <contains string="${version-output}" substring="java version &quot;1.0"/>\r
@@ -487,7 +456,7 @@ is divided into following sections:
             <attribute default="${debug.classpath}" name="classpath"/>\r
             <element name="customize" optional="true"/>\r
             <sequential>\r
             <attribute default="${debug.classpath}" name="classpath"/>\r
             <element name="customize" optional="true"/>\r
             <sequential>\r
-                <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">\r
+                <java classname="@{classname}" dir="${work.dir}" fork="true">\r
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
                     <jvmarg line="${debug-args-line}"/>\r
                     <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
                     <jvmarg line="${debug-args-line}"/>\r
                     <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
@@ -512,7 +481,7 @@ is divided into following sections:
             <attribute default="${run.classpath}" name="classpath"/>\r
             <element name="customize" optional="true"/>\r
             <sequential>\r
             <attribute default="${run.classpath}" name="classpath"/>\r
             <element name="customize" optional="true"/>\r
             <sequential>\r
-                <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">\r
+                <java classname="@{classname}" dir="${work.dir}" fork="true">\r
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
                     <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>\r
                     <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>\r
                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
                     <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>\r
                     <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>\r
@@ -547,7 +516,7 @@ is divided into following sections:
                     </chainedmapper>\r
                 </pathconvert>\r
                 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>\r
                     </chainedmapper>\r
                 </pathconvert>\r
                 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>\r
-                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">\r
+                <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}">\r
                     <fileset dir="${build.classes.dir}"/>\r
                     <manifest>\r
                         <attribute name="Class-Path" value="${jar.classpath}"/>\r
                     <fileset dir="${build.classes.dir}"/>\r
                     <manifest>\r
                         <attribute name="Class-Path" value="${jar.classpath}"/>\r
@@ -709,7 +678,7 @@ is divided into following sections:
             <path path="${run.classpath}"/>\r
             <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
         </pathconvert>\r
             <path path="${run.classpath}"/>\r
             <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
         </pathconvert>\r
-        <echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
+        <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
     </target>\r
     <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">\r
         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
     </target>\r
     <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">\r
         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
@@ -736,7 +705,7 @@ is divided into following sections:
         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>\r
         <echo level="info">To run this application from the command line without Ant, try:</echo>\r
         <property location="${dist.jar}" name="dist.jar.resolved"/>\r
         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>\r
         <echo level="info">To run this application from the command line without Ant, try:</echo>\r
         <property location="${dist.jar}" name="dist.jar.resolved"/>\r
-        <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo>\r
+        <echo level="info">java -jar "${dist.jar.resolved}"</echo>\r
     </target>\r
     <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">\r
         <delete>\r
     </target>\r
     <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">\r
         <delete>\r
@@ -886,7 +855,15 @@ is divided into following sections:
             -->\r
     <target depends="init" if="have.sources" name="-javadoc-build">\r
         <mkdir dir="${dist.javadoc.dir}"/>\r
             -->\r
     <target depends="init" if="have.sources" name="-javadoc-build">\r
         <mkdir dir="${dist.javadoc.dir}"/>\r
-        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" 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}">\r
+        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">\r
+            <and>\r
+                <isset property="endorsed.classpath.cmd.line.arg"/>\r
+                <not>\r
+                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <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}">\r
             <classpath>\r
                 <path path="${javac.classpath}"/>\r
             </classpath>\r
             <classpath>\r
                 <path path="${javac.classpath}"/>\r
             </classpath>\r
@@ -897,6 +874,7 @@ is divided into following sections:
                 <include name="**/*.java"/>\r
                 <exclude name="*.java"/>\r
             </fileset>\r
                 <include name="**/*.java"/>\r
                 <exclude name="*.java"/>\r
             </fileset>\r
+            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>\r
         </javadoc>\r
         <copy todir="${dist.javadoc.dir}">\r
             <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">\r
         </javadoc>\r
         <copy todir="${dist.javadoc.dir}">\r
             <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">\r
index e22626d..d5ace33 100644 (file)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=db63afaa\r
+build.xml.data.CRC32=35872fd9\r
 build.xml.script.CRC32=df4c1a98\r
 build.xml.stylesheet.CRC32=28e38971@1.44.1.45\r
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.\r
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.\r
 build.xml.script.CRC32=df4c1a98\r
 build.xml.stylesheet.CRC32=28e38971@1.44.1.45\r
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.\r
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.\r
-nbproject/build-impl.xml.data.CRC32=db63afaa\r
-nbproject/build-impl.xml.script.CRC32=b24da6b2\r
-nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45\r
+nbproject/build-impl.xml.data.CRC32=35872fd9\r
+nbproject/build-impl.xml.script.CRC32=2f695b46\r
+nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.2.46\r
index 6d5c205..6a4947d 100644 (file)
@@ -78,7 +78,7 @@ main.class=yukihane.inqubus.Main
 manifest.file=manifest.mf\r
 meta.inf.dir=${src.dir}/META-INF\r
 mkdist.disabled=false\r
 manifest.file=manifest.mf\r
 meta.inf.dir=${src.dir}/META-INF\r
 mkdist.disabled=false\r
-platform.active=JDK_1.7\r
+platform.active=default_platform\r
 project.MediaInfoWrapper=../../MediaInfoWrapper\r
 project.NicoBrowser=../../NicoBrowser\r
 reference.MediaInfoWrapper.jar=${project.MediaInfoWrapper}/dist/MediaInfoWrapper.jar\r
 project.MediaInfoWrapper=../../MediaInfoWrapper\r
 project.NicoBrowser=../../NicoBrowser\r
 reference.MediaInfoWrapper.jar=${project.MediaInfoWrapper}/dist/MediaInfoWrapper.jar\r
index dc9e5b5..3b374a8 100755 (executable)
@@ -5,7 +5,6 @@
         <data xmlns="http://www.netbeans.org/ns/j2se-project/3">\r
             <name>Saccubus</name>\r
             <minimum-ant-version>1.6.5</minimum-ant-version>\r
         <data xmlns="http://www.netbeans.org/ns/j2se-project/3">\r
             <name>Saccubus</name>\r
             <minimum-ant-version>1.6.5</minimum-ant-version>\r
-            <explicit-platform explicit-source-supported="true"/>\r
             <source-roots>\r
                 <root id="src.dir"/>\r
             </source-roots>\r
             <source-roots>\r
                 <root id="src.dir"/>\r
             </source-roots>\r