2012-02-22 17 views
3

クリーンでビルド中に次のエラーが発生しています。このエラーを回避する方法。Netbeans 7.1ベータ版ではクリーンでビルドできません

Copying 1 file to E:\NIRAJ\Copyofcopyexample\build 
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:716: The following error occurred while executing this line: 
E:\NIRAJ\Copyofcopyexample\nbproject\build-impl.xml:544: copylibs doesn't support the "rebase" attribute 

これは、私は、Windows 7、JDK 1.6を使用していますビルドimpl.xml

<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}"> 

です。以前は、Netbeans 6.9.1で同じコードをコンパイルしました。

+0

なぜベータ版を使用しますか?最終版は約6ヶ月前にリリースされましたか? –

答えて

9

rebase = "$ {copylibs.rebase}"エントリをbuild-impl.xmlファイルから削除してみてください。

+0

返信いただきありがとうございます。プロジェクトをビルドできるようになりました。これは、ビジネスロジックやコード内の他のコンポーネントに影響しますか? –

+1

いいえ、そうでないと安全です – anzaan

0

Netbeans IDEを使用している場合は、簡単な解決策はrebase="${copylibs.rebase}"になります。参照ファイルをインポートして元のパッケージに戻し、プロジェクトをビルドします。ファイル内のインスタンスを再作成して、修正プログラムのインポートを使用します。

関連する問題