| [news.eclipse.platform] Export-Package, Package ... does not exist after ant builder. |
|
Greeting Group! Environment: OS: Windows Vista Eclipse SDK : Version: 3.4.0, Build id: I20080516-1333 A have three projects:
Two targets:
 <target name="copy" description="Copy original library">  <copy todir="." file="${original.project.jar}"/>  </target>  <target name="clean" description="Clean project">  <delete file="${jar.file.name}"/>  </target> ~~~~~~~~~~~~~~~~~~~~~~ Problem is: After 'Clean and build' all ant targets finished with success status, package explorer contains new version of jar, but IDE has one error marker Description: Package 'ru.infinet.ObjectManager' does not exist in this plug-in Severity: Error On element: MANIFEST.MF In folder: ru.infinet.objectmanager/META-INF Location: line 10 --- MANIFEST.MF --- Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Objectmanager Plug-in Bundle-SymbolicName: ru.infinet.objectmanager Bundle-Version: 1.0.0 Bundle-Vendor: Infinet Wireless Ltd. Require-Bundle: org.eclipse.core.runtime Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-ClassPath: ObjectManager.jar Export-Package: ru.infinet.ObjectManager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Only 'Calculate Uses' button on 'Runtime' page of MANIFEST editor and 'save', removed this Error. This is a bug? Or how i'm can resolve this situation. -- Best regards, Andrew Nesheret InfiNet Wireless Ltd. |