Home » Archived » Buckminster » ERROR [0003] : IU * has no artifacts
ERROR [0003] : IU * has no artifacts [message #652310] |
Thu, 03 February 2011 09:42  |
Eclipse User |
|
|
|
Hey,
I've problem using my own generated p2 site for another buckminster build.
So, first I created Component A with all necessary plugins and features and called #site.p2 Action afterwards.
Now I want to create Component B (which needs Component A) and of course I don't want to create Component A again, I want to use the created one. So in the rmap i defined like this:
<rm:searchPath name="com.example">
<rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="p2" source="false" mutable="false">
<rm:uri format="file:///E:/test/p2"/>
</rm:provider>
</rm:searchPath>
The location to this p2 site is correct and the build works without any problems - until this happens:
Quote: | Provider eclipse.import(file:///E:/test/p2): materializing to E:/.hudson/jobs/xslteditor/workspace/plugins/com.example.com mon.exporter/
Provider eclipse.import(file:///E:/test/p2): materializing to E:/.hudson/jobs/xslteditor/workspace/plugins/com.example.com mon.img/
Provider eclipse.import(file:///E:/test/p2): materializing to E:/.hudson/jobs/xslteditor/workspace/plugins/com.example.com mon.xslttransformer/
Provider eclipse.import(file:///E:/test/p2): materializing to E:/.hudson/jobs/xslteditor/workspace/features/com.example.co mmon.feature/
ERROR [0003] : IU com.example.common.feature.feature.group/4.0.30000.00145 has no artifacts
ERROR: IU com.example.common.feature.feature.group/4.0.30000.00145 has no artifacts
|
What does this mean, "IU has no artifacts"? And why does this error appear at the end of the process?
I don't know if it makes a difference, but I use Buckminster plugin in Hudson.
Let me know if you need more log or other stuff.
Greets
[Updated on: Thu, 03 February 2011 09:43] by Moderator
|
|
| | | | | | | | | | |
Re: ERROR [0003] : IU * has no artifacts [message #655134 is a reply to message #655119] |
Fri, 18 February 2011 07:58   |
Eclipse User |
|
|
|
On 2011-02-18 13:05, Gonzo wrote:
> Thomas Hallgren wrote on Fri, 18 February 2011 12:36
>> Obviously it doesn't. Your com.example stuff from E:\test\p2 that is fetched using p2 also ends up in your workspace.
>> That's your problem right there. The easiest way to resolve this is to simply remove the mspec and rely on the
>> defaults. All providers marked source="true" will end up in the workspace, all others in the TP.
>
>
> Well. I don't understand what the "problem" is here. I do want to have the Plug-Ins from the p2 in my workspace. If they
> are not, a lot of errors occure because of missing imports and so on.
In that case you have a problem with how your target platform is configured. There's absolutely no reason to have a
compiled binary in your workspace.
> And the next point: and don't want to have my
> Plug-Ins to end up in the target platform. Even not those ones coming from the p2 repo. Only Eclipse Plug-Ins (and
> Plug-Ins from others).
>
Why?
> To explain why I do this. Component A (something like common here) is built and afterwards stored in the p2 repo.
> Component B (like xslteditor) needs Component A to build and I don't want B to build A again, so B fetches A from the
> repo. But to be able to build, A has to be in the workspace.
No, A does not need to be in the workspace. The workspace is for source code, not binaries. Binaries should go into your
target platform.
HTH,
- thomas
|
|
| | |
Re: ERROR [0003] : IU * has no artifacts [message #655166 is a reply to message #652310] |
Fri, 18 February 2011 09:35   |
Eclipse User |
|
|
|
In my target platform is an osgi bundle called 'com.example.common.external_4.0.30000.00145.jar'. Inside this jar there is a folder META-INF with following MANIFEST.MF:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.3-b01 (Sun Microsystems Inc.)
Export-Package: org.dom4j,org.dom4j.io,org.jaxen,org.jaxen.dom,org.jax
en.dom4j,org.jaxen.expr,org.jaxen.expr.iter,org.jaxen.function,org.ja
xen.jdom,org.jaxen.pattern,org.jaxen.saxpath,org.jaxen.saxpath.helper
s,org.jaxen.util
Bundle-Vendor: Example
Bundle-ClassPath: lib/dom4j-1.6.1.jar,.,lib/jaxen-1.1.1.jar
Bundle-Version: 4.0.30000.00145
Bundle-Name: External Libs
Bundle-ManifestVersion: 2
Bundle-SymbolicName: com.example.common.external
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
And there is a folder 'lib' with 'dom4j-1.6.1.jar' and 'jaxen-1.1.1.jar' in it. So of course it's marked in the build.properties.
|
|
|
Re: ERROR [0003] : IU * has no artifacts [message #655175 is a reply to message #655166] |
Fri, 18 February 2011 09:42   |
Eclipse User |
|
|
|
On 2011-02-18 15:35, Gonzo wrote:
> In my target platform is an osgi bundle called 'com.example.common.external_4.0.30000.00145.jar'. Inside this jar there
> is a folder META-INF with following MANIFEST.MF:
>
>
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.7.1
> Created-By: 14.3-b01 (Sun Microsystems Inc.)
> Export-Package: org.dom4j,org.dom4j.io,org.jaxen,org.jaxen.dom,org.jax
> en.dom4j,org.jaxen.expr,org.jaxen.expr.iter,org.jaxen.functi on,org.ja
> xen.jdom,org.jaxen.pattern,org.jaxen.saxpath,org.jaxen.saxpa th.helper
> s,org.jaxen.util
> Bundle-Vendor: Example
> Bundle-ClassPath: lib/dom4j-1.6.1.jar,.,lib/jaxen-1.1.1.jar
> Bundle-Version: 4.0.30000.00145
> Bundle-Name: External Libs
> Bundle-ManifestVersion: 2
> Bundle-SymbolicName: com.example.common.external
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>
>
> And there is a folder 'lib' with 'dom4j-1.6.1.jar' and 'jaxen-1.1.1.jar' in it. So of course it's marked in the
> build.properties.
OK, in that case the packages are on the classpath. But apparently the compiler doesn't see them, so something is amiss.
- thomas
|
|
| |
Re: ERROR [0003] : IU * has no artifacts [message #655531 is a reply to message #652310] |
Mon, 21 February 2011 10:55  |
Eclipse User |
|
|
|
Hey,
I think I solved this problem!
First suggestion of Thomas was right, my own binary Plug-Ins shouldn't be in workspace.
The second step was to find out why some external libs couldn't be found. It is quite a simple problem. Those libs are (as described before) in a jar-file in my target platform. For any reason they are not on the classpath. But it's possible to make them visible if they are unpacked. So I just checked "Unpack the plug-in archive after installation" in my feature.xml and that's it.
I've one last question to this topic. I guess I understand buckminster much better than before and now I wonder if it's possible that buckminster uses plug-ins outside workspace or target platform. Is it possible to store plug-ins for a build in a local folder, e.g. c:\bucky\temp, and to clear this folder after the build finished? I understand why buckminster can not use plug-ins from repos. But from local filesystem? Would be great, so I don't have to put my plug-ins to target platform (and not to workspace where they shouldn't be).
Greets
|
|
|
Goto Forum:
Current Time: Mon Jul 07 17:04:48 EDT 2025
Powered by FUDForum. Page generated in 0.05613 seconds
|