Re: Re: Re: Error while creating a iPOJO bundle

Guillaume Sauthier <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Organization Objectweb Consortium
Message-ID <[email protected]>
Hi Ajinkya

Did you follow the developing a new service guide ?
There is also an empty pre-configured maven project that you really 
should re-use for your own needs
http://websvn.ow2.org/listing.php?repname=jonas&path=%2Fsandbox%2Fsauthieg%2Fmyservice%2F

Just checkout use the following command line:
 >$ svn co 
svn://svn.forge.objectweb.org/svnroot/jonas/sandbox/sauthieg/myservice
And then use maven to compile everything and produce the bundle:
 >$ mvn install

And then (once you're sure it works unmodified), adapt it to your own 
needs (incrementally).

BTW, your Bnd file seems wrong, It exports everything (meaning that all 
the files in the classpath will be included in your archive).
Try with Export-Package a.b.myservice
and Private-Package *.internal

Cheers
--Guillaume


Le 13/12/2010 13:05, ajinkya prabhune a écrit :
> Hi
> Sorry I have attached the project
> I have only removed the clinet.jar cos its big.
>
> Thank you
>
> On Mon, Dec 13, 2010 at 12:38 PM, Arda Aydin <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi,
>
>     Can you send your bnd configuration and also your directory
>     listing for the bundle project.
>
>     Regards.
>
>     Le 13/12/2010 12:22, ajinkya prabhune a écrit :
>
>         An error ocurs during the bundle construction : Invalid class file
>
>
>
>     -- 
>
>     Arda AYDIN
>     Ingénieur de développement SOA BULL S.A.S.
>     SOA development engineer at BULL
>     http://www.ardaaydin.com
>
>
>
>
> -- 
> Thank you and Regards
> Ajinkya Prabhune
>
Guillaume_Sauthier.vcf (text/x-vcard, 387 B)
begin:vcard
fn:Guillaume Sauthier
n:Sauthier;Guillaume
org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a>
adr:;;;;;;France
email;internet:[email protected]
title:<a href="http://jonas.ow2.org">JOnAS Application Server</a>
url:http://jonas.ow2.org
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.