我試圖用NetBeans 6.5.1編譯iReport 4.0.2。在iReport論壇上,它表示這是與之兼容的NetBeans平臺。使用NetBeans 6.5.1從源代碼編譯iReport 4.0.2 java.io.IOException
然而,編譯項目時,我得到這個錯誤:
C:\ Program Files文件\的NetBeans 6.5.1 \安全帶\ suite.xml:106:以下 發生錯誤而執行這一行:
C:\ Program Files \ NetBeans 6.5.1 \ harness \ build.xml:98:java.io.IOException:沒有定義netbeans.dest.dir在 V:\ iReport-4.0.2-src \ iReport -4.0.2-src \ jasperreports-components
這是行1 06在suite.xml
<subant target="netbeans" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false"/>
這是build.xml中的管線98:
>
...它基本上是關閉的XML的開始標記(parseprojectxml) - 這是的上下文線(單個尖括號):
<parseprojectxml
project="."
publicpackagesproperty="public.packages"
friendsproperty="friends"
javadocpackagesproperty="module.javadoc.packages"
moduledependenciesproperty="module.dependencies"
moduleclasspathproperty="module.classpath"
publicpackagejardir="${public.package.jar.dir}"
modulerunclasspathproperty="module.run.classpath"
classpathextensionsproperty="class.path.extensions"
>
<testtype name="unit"
folder="test.unit.folder"
runtimecp="test.unit.runtime.cp"
compilecp="test.unit.compile.cp"
compiledep="test.unit.testdep"/>
<testtype name="qa-functional"
folder="test.qa-functional.folder"
runtimecp="test.qa-functional.runtime.cp"
compilecp="test.qa-functional.compile.cp"
compiledep="test.qa-functional.testdep"/>
</parseprojectxml>