On 28/07/2009, Gary Gregory <ggreg...@seagullsoftware.com> wrote:
> > -----Original Message-----
>  > From: Niall Pemberton [mailto:niall.pember...@gmail.com]
>
> > Sent: Monday, July 27, 2009 2:01 PM
>  > To: Commons Developers List
>  > Subject: Re: [VOTE] Release Codec 1.4 based on RC2
>  >
>
> > On Mon, Jul 27, 2009 at 9:45 PM, sebb<seb...@gmail.com> wrote:
>  > > On 27/07/2009, Niall Pemberton <niall.pember...@gmail.com> wrote:
>  > >> On Mon, Jul 27, 2009 at 1:42 PM, sebb<seb...@gmail.com> wrote:
>  > >>  > On 27/07/2009, Mat Booth <fed...@matbooth.co.uk> wrote:
>  > >>  >> On 27/07/2009, sebb wrote:
>  > >>  >>  > I had a quick look at this. It would be trivial to copy the OSGI
>  > >>  >>  > headers as generated by the Maven build, but autogenerating the
>  > >>  >>  > headers (so they would still be OK if the source changed) looks
>  > >>  >>  > somewhat harder.
>  > >>  >>  >
>  > >>  >>  > For one thing, the "bnd" jar tool seems to need Java 1.5 or
>  > later. I
>  > >>  >>  > don't think we should force the use of 1.5 for a library that
>  > targets
>  > >>  >>  > 1.4.
>  > >>  >>  >
>  > >>  >>  > Also, I could not get it to work from Ant; it seemed to run, but
>  > did nothing.
>  > >>  >>  >
>  > >>  >>
>  > >>  >>
>  > >>  >> Is a build environment of 1.5 a problem? I thought that only the
>  > >>  >>  runtime environment had to be 1.4.
>
>
> We can upgrade codec to Java 1.5 for the next version. Hopefully getting all 
> this to work on 1.4 will not be too painful.

It's not the Java version that is the main problem; version 0.0.238
runs on Java 1.4.

>
>  Gary
>
>
>  > >>  >
>  > >>  > IMO if code is supposed to run on 1.4 it should be buildable on 1.4.
>  > >>
>  > >>
>  > >> You could download an earlier version that runs on 1.4 - looks like
>  > >>  0.0.257 should be OK
>  > >>
>  > >>  http://www.aqute.biz/repo/biz/aQute/bnd/0.0.257/bnd-0.0.257.jar
>  > >
>  > > Tried that, I still get
>  > >
>  > > java.lang.UnsupportedClassVersionError: aQute/bnd/ant/OrderTask
>  > > (Unsupported major.minor version 49.0)
>  > >
>  > > It looks like Maven uses Bnd-0.0.238; I may try that.
>  >
>  > Just found bnd in the maven repo - an alternative place to download from:
>  >
>  > http://repo2.maven.org/maven2/biz/aQute/bndlib/
>  >
>  > Niall
>  >
>  > > I haven't yet been able to work out how to get Bnd to create the OSGI
>  > > manifest alone, as is done by the Maven bundle plugin.
>  > >
>  > >>  Niall
>  > >>
>  > >>
>  > >>  > It should be possible, but tedious, to make the OSGI generation
>  > >>  > dependent on Java 1.5 + presence of the "bnd" add-on. Perhaps it
>  > could
>  > >>  > be done via a new target.
>  > >>  >
>  > >>  >>  Should I raise a bug so that this can be addressed at a later
>  > date?
>  > >>  >>
>  > >>  >
>  > >>  > A JIRA enhancement request would allow easier tracking.
>  > >>  > And if you can provide a patch, so much the better.
>  > >>  >
>  > >>  >>
>  > >>  >>  --
>  > >>  >>
>  > >>  >> Mat Booth
>  > >>  >>
>  > >>  >>  A: Because it destroys the order of the conversation.
>  > >>  >>  Q: Why shouldn't you do it?
>  > >>  >>  A: Posting your reply above the original message.
>  > >>  >>  Q: What is top-posting?
>  > >>  >>
>  > >>  >>  ------------------------------------------------------------------
>  > ---
>  > >>  >>  To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  > >>  >>  For additional commands, e-mail: dev-h...@commons.apache.org
>  > >>  >>
>  > >>  >>
>  > >>  >
>  > >>  > --------------------------------------------------------------------
>  > -
>  > >>  > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  > >>  > For additional commands, e-mail: dev-h...@commons.apache.org
>  > >>  >
>  > >>  >
>  > >>
>  > >>  ---------------------------------------------------------------------
>  > >>  To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  > >>  For additional commands, e-mail: dev-h...@commons.apache.org
>  > >>
>  > >>
>  > >
>  > > ---------------------------------------------------------------------
>  > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  > > For additional commands, e-mail: dev-h...@commons.apache.org
>  > >
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  > For additional commands, e-mail: dev-h...@commons.apache.org
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  For additional commands, e-mail: dev-h...@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to