fileinstall supports exploded bundles, so if you create a simlink to
your target/classes folder (when using maven), the bundle should be
updated automatically if any class file change inside.

On Wed, Jun 2, 2010 at 16:35, Roman Roelofsen <[email protected]> wrote:
> Hi Jan,
>
> I wrote a small utility bundle (TBB) a while ago to simplify this code-test
> cycle. Whenever a bundle changes in your build directory, TBB will update it
> in your running target OSGi framework as well.
>
> The only documentation I have is a blog post:
>
> http://romanroe.blogspot.com/2010/03/osgi-bundle-buddy.html
>
> HTH!
>
> Roman
>
> On 06/02/2010 04:25 PM, Jan Goyvaerts wrote:
>>
>> I've vainly been trying to use Felix' bundle plugin to install/deploy a
>> bundle Maven artifact to the Felix repository in Glassfish. In the end
>> I've
>> used the Ant run plugin to copy the bundle jar to the deployment
>> directory:
>>
>>         <profile>
>>             <id>install-on-local-glassfish</id>
>>             <build>
>>                 <plugins>
>>                     <plugin>
>>                         <artifactId>maven-antrun-plugin</artifactId>
>>                         <executions>
>>                             <execution>
>>                                 <phase>install</phase>
>>                                 <configuration>
>>                                     <tasks>
>>                                         <copy
>> file="target/helloworld-1.0-SNAPSHOT.jar"
>>
>> toDir="/u01/app/glassfish-3.0.1-b19/glassfish/domains/domain1/autodeploy/bundles"/>
>>                                     </tasks>
>>                                 </configuration>
>>                                 <goals>
>>                                     <goal>run</goal>
>>                                 </goals>
>>                             </execution>
>>                         </executions>
>>                     </plugin>
>>                 </plugins>
>>             </build>
>>         </profile>
>>
>> But there's probably a much better, cleaner to do this. Or is there ?
>>
>
> --
> ---------------------------------------------------------
> Roman Roelofsen · Lead Architect Enterprise Solutions
> ProSyst Software GmbH
> D-50858 Cologne, Germany . Dürener Strasse 405
> Tel. +49 (0)221 6604 406 · Fax  +49 (0)221 6604 660
> Mobil +49 (0)163 6604 406
> http://www.prosyst.com · [email protected]
> ---------------------------------------------------------
> stay in touch with your product.
> ---------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to