buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: Generated plugin contains files with wrong path
Date Fri, 05 Oct 2012 23:34:09 GMT
Sorry, no idea why that's happening.  If you can set up a smallish project
that I could test on, I'm sure I could track this down.

alex

On Fri, Oct 5, 2012 at 3:12 PM, Niklaus Giger
<niklaus.giger@member.fsf.org>wrote:

> Hi
>
> I have a fairly large project (150 Eclipse-Plugins) where I have about 3
> errors, which all look similars: instead of having a jar-file and some
> compiled classes the generated package(:plugin) looks like this:
>
> > " zip.vim version v25
> > " Browsing zipfile
> >
> /opt/elexis-problem/elexis-base/ch.elexis.mail/target/ch.elexis.mail-2.0.1
> > .20121005.jar " Select a file with cursor and press ENTER
> >
> > META-INF/
> > META-INF/MANIFEST.MF
> > META-INF/MANIFEST.MF.orig
> > activation.jar/
> > activation.jar/ch/
> > activation.jar/ch/elexis/
> > activation.jar/ch/elexis/mail/
> > activation.jar/ch/elexis/mail/Activator.class
> > activation.jar/ch/elexis/mail/Mailbox.class
> > activation.jar/ch/elexis/mail/Mailer.class
> > activation.jar/ch/elexis/mail/Messages.class
> > activation.jar/ch/elexis/mail/PreferenceConstants.class
> > activation.jar/ch/elexis/mail/Preferences.class
> > activation.jar/ch/elexis/mail/QFADialog.class
> > activation.jar/ch/elexis/mail/SMTPAuthenticator.class
> > activation.jar/ch/elexis/mail/SendQFA.class
> > ch/
> > ch/elexis/
> > ch/elexis/mail/
> > ch/elexis/mail/messages.properties
> > ch/elexis/mail/messages_en.properties
> > ch/elexis/mail/messages_fr.properties
> > mail.jar
> > medelexis.xml
> > plugin.xml
>
> The corresponding fragment looks like this in the buildfile:
>   define 'ch.elexis.mail', :base_dir=>'elexis-base/ch.elexis.mail',
>          :version=> '2.0.1' do
>     check package(:plugin), 'plugin should include 2 local jars' do
>       it.should contain('activation.jar')
>       it.should contain('mail.jar')
>     end
>     package(:plugin).include(_('activation.jar'))
>     package(:plugin).include(_('mail.jar'))
>     dependencies << projects('ch.rgw.utility', 'ch.elexis')
>   end
>
> If I rename my source folder in order to avoid compilation, the jars get
> packed correctly. Any ideas why 4 of about 50 plugin which contain jars
> don't
> work? How do I debug this? Using --trace I just see
>
>
> Packaging elexis-ch.elexis.mail-2.0.1.20121005.jar
> <..>
> ** Invoke /opt/elexis-problem/elexis-
> base/ch.elexis.mail/target/ch.elexis.mail-2.0.1.20121005.jar (first_time)
> Adding medelexis.xml
> Adding activation.jar
> Adding mail.jar
> Adding META-INF/MANIFEST.MF.orig
> Adding META-INF/MANIFEST.MF
> Adding META-INF
> Adding activation.jar/ch
> Adding activation.jar/ch/elexis
> Adding activation.jar/ch/elexis/mail
> Adding activation.jar/ch/elexis/mail/SMTPAuthenticator.class
> Adding activation.jar/ch/elexis/mail/QFADialog.class
> <..>
>
> Thanks in advance for any advice.
>
> Best regards
>
> --
> Niklaus Giger
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message