You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Tim Moloney <t....@verizon.net> on 2007/03/03 14:20:13 UTC
Rebuilding bnd
I apologize if this is an off topic and naive question, but how do I
rebuild bnd?
I see that the jar file has source code in the OSGI-OPT directory but I
don't see a build.xml file, etc.
Thanks,
Tim
Re: Rebuilding bnd
Posted by Tim Moloney <t....@verizon.net>.
Excellent, thanks. :)
Stuart McCulloch wrote:
> Hi Tim,
>
> If you just want to dabble with the OSGi specific code then you can do:
>
> mkdir bnd
> cd bnd
> jar xvf /tmp/bnd.jar
>
> # hack, hack, hack in OSGI-OPT/src/aQute/lib/osgi...
>
> javac -d . OSGI-OPT/src/aQute/lib/osgi/*.java
> jar uvf /tmp/bnd.jar aQute/lib/osgi/*.class
>
> If you want to rebuild other parts, like the eclipse plugin code, then
> you
> need to pull in other dependent jars. BTW, this is just how I rebuilt the
> library - there's probably a much better (official) way to rebuild it.
>
> Cheers, Stuart
>
> On 03/03/07, Tim Moloney <t....@verizon.net> wrote:
>> I apologize if this is an off topic and naive question, but how do I
>> rebuild bnd?
>>
>> I see that the jar file has source code in the OSGI-OPT directory but I
>> don't see a build.xml file, etc.
>>
>> Thanks,
>> Tim
>>
>>
>
Re: Rebuilding bnd
Posted by Stuart McCulloch <mc...@gmail.com>.
Hi Tim,
If you just want to dabble with the OSGi specific code then you can do:
mkdir bnd
cd bnd
jar xvf /tmp/bnd.jar
# hack, hack, hack in OSGI-OPT/src/aQute/lib/osgi...
javac -d . OSGI-OPT/src/aQute/lib/osgi/*.java
jar uvf /tmp/bnd.jar aQute/lib/osgi/*.class
If you want to rebuild other parts, like the eclipse plugin code, then you
need to pull in other dependent jars. BTW, this is just how I rebuilt the
library - there's probably a much better (official) way to rebuild it.
Cheers, Stuart
On 03/03/07, Tim Moloney <t....@verizon.net> wrote:
> I apologize if this is an off topic and naive question, but how do I
> rebuild bnd?
>
> I see that the jar file has source code in the OSGI-OPT directory but I
> don't see a build.xml file, etc.
>
> Thanks,
> Tim
>
>