Hi Richard,
Thanks a lot for your answer, it work fine for me but there is two
conditions :
reference:file:/path/to/exploded/jar
1.
The folder named "jar" in the examle above MUST contains
META-INF/MANIFEST.MF
2.
I have changed the Felix.java :
*private* BundleActivator createBundleActivator(BundleInfo info){
...
// Class clazz = info.getCurrentModule().getClass(className);
// Adding a line below just after the line above.
*if*(clazz == *null*) clazz= Class.*forName*(className);
...
Cheers
On Thu, Jun 12, 2008 at 11:19 AM, Richard S. Hall <[EMAIL PROTECTED]>
wrote:
> You can install a reference to an exploded bundle JAR directory using that
> syntax:
>
> reference:file:/path/to/exploded/jar
>
> -> richard
>
> Daniel Veljjanoski wrote:
>
>> Hi,
>>
>>
>> Is it possible to have a package (Folder) as a bundle ( NOT jar file)?
>>
>> Something like the line below ( in the felix config file ) :
>>
>>
>> felix.auto.start.1=
>> reference:file:net/java/sip/communicator/util/<file:///mybundle/util.jar>
>>
>>
>> instead of :
>>
>>
>> felix.auto.start.1=
>> reference:file:sc-bundles/util.jar<file:///mybundle/util.jar>
>>
>>
>> Using the second line everything work fine for me, BUT, I want to work on
>> the SIP Communicator using eclipse.
>>
>> My idea is to make development faster.
>>
>>
>> -- Way?
>>
>> Until now I proceed like on description below :
>>
>>
>>
>> 1.
>>
>> Coding..
>> 2.
>>
>> Using "Make" from Eclipse->ANT->build.xml
>> 3.
>>
>> Using "Run" from Eclipse to run the project ( Or "Run" from Eclipse
>> ->ANT
>> )
>>
>> I want to eliminate the point 2. because "Make" spend a lot of time during
>> :
>>
>> 1.
>>
>> Compilation of the code
>> 2.
>>
>> Make a Packages ( jar files - plugins)
>>
>>
>> --How to?
>>
>> I think that is possible because using eclipse doesn't need to recompile
>> the
>> code, and we don't need to make a changes in the build.xml for do that -
>> if
>> Felix can start/install a bundle from folder (eclipse package).
>>
>>
>> The goal is to have a simple eclipse project :
>>
>> -
>>
>> Coding...
>> -
>>
>> Using "Run" from Eclipse to run the project.
>>
>>
>> Any suggestions please...?
>>
>>
>> Excuse for my English.
>>
>>
>> Cheers
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Daniel VELJJANOSKI