[Insight-users] Breaking WrapITK into packages

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Mon May 19 12:09:43 EDT 2008


Hi Ali,

Thanks to have began this work!
I'm not sure to understand exactly what you want to do though.

Do you want to have all the .java files generated for a single module  
in (1)?

For (2), cableswig doesn't give an easy access to the swig import, so  
it may be difficult to do what you want.

Perhaps can we speak about that with an instant messaging system? I'm  
most of the time on irc channel #itk on irc.freenode.org.

Regards,

Gaëtan


Le 19 mai 08 à 15:21, Ali - a écrit :

> Gaëtan,
>
> I have broken the wrapped java package into sub packages according to
> the modules. Now I need to include an 'import package' statement at  
> the
> beginning of each java file.
>
> (1) The most optimised way of doing this is by finding the  
> dependency of
> each library. How can I get a list of dependencies for each library
> target? An alternative is to import the whole parent package at the
> beginning of each file.
>
> (2) In order to have the imports at the beginning of each file, I need
> to use a swig import file for *all* wrapped files. How can this be  
> done?
>
> A quick reply is appreciated.
>
>
> -Ali
>
> Gaëtan Lehmann wrote:
> >
> > Le 13 mai 08 à 17:12, Ali - a écrit :
> >
> >>
> >> Hi,
> >>
> >> Needless to say, WrapITK generated extraordinarily big packages for
> >> binding languages. For instance, a default configuration (plus UC)
> >> creates over 16,000 java classes all of them packages in 1 single  
> jar
> >> file. This causes applications such as eclipse to painfully crash
> >> when they try to do some code auto-completion. Since WrapITK  
> already
> >> comes with well defined 'modules', it makes sense to break the  
> whole
> >> package into subpackages based on the modules. The same approach  
> for
> >> other languages such as python would be helpful.
> >
> >
> > I fully agree. Again, if you can take that task, I would be  
> pleased to
> > help you!
> >
> > Regards,
> >
> > Gaëtan
> >
>
>
>
> Messenger's gone Mobile! Get it now!

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080519/3f387d17/attachment.pgp>


More information about the Insight-users mailing list