Question about buckminster and headless [message #536170] |
Thu, 27 May 2010 10:17 |
Maxi Messages: 9 Registered: May 2010 |
Junior Member |
|
|
Hi
I have following questions:
Which compiler is used by buckminster headless - java or eclipse?
------------------
How can I build more projects with dependency to a generated .jra file?
example:
project A (osgi.bundle)
project B (osgi.bundle)
project C (source with ant-task to generate jar file)
project A has a dependeny to B and B needs jar-File from C
so in project A a have a 'required plug-ins dependency' generated in MANIFEST.MF
How can a form a dependency in B to jar from C
How can I perform automatic ant-build if necessary?
------------------
any ideas?
Rainer
[Updated on: Thu, 27 May 2010 10:18] Report message to a moderator
|
|
|
Re: Question about buckminster and headless [message #536208 is a reply to message #536170] |
Thu, 27 May 2010 11:18 |
|
Hi Rainer,
On 05/27/2010 12:17 PM, Rainer wrote:
> Hi I have following questions:
>
>
>
> Which compiler is used by buckminster headless - java or eclipse?
Eclipse Java Compiler, Eclipse Bundle Manifest Compiler, Eclipse Schema Compiler, etc. Buckminster builds exactly the
same way that your IDE does.
> How can I build more projects with dependency to a generated .jra file?
> example:
> project A (osgi.bundle)
> project B (osgi.bundle)
> project C (source with ant-task to generate jar file)
>
> project A has a dependeny to B and B needs jar-File from C
>
> so in project A a have a 'required plug-ins dependency' generated in
> MANIFEST.MF
>
> How can a form a dependency in B to jar from C
> How can I perform automatic ant-build if necessary?
>
Is it possible for you to turn C into an osgi.bundle? If you do that, you're all set. All dependencies will be honored
automatically. Both when you populate your workspace/target platform, and when you build.
If that's not possible, then you can add a buckminster extension (buckminster.cspex) to the B bundle that appoints the
component C. In C, you add a buckminster.cspec that describes what C provides (i.e. the jar).
You can call the ant-task either using an ant action in the cspec or using an Eclipse Builder. You'll find more
information in the Buckminster documentation:
http://www.eclipse.org/downloads/download.php?file=/tools/bu ckminster/doc/BuckyBook.pdf
- thomas
|
|
|
Powered by
FUDForum. Page generated in 0.02339 seconds