You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Leo Li <li...@gmail.com> on 2006/10/24 08:03:07 UTC

[classlib][General]Problem in plug-in dependencies

Hi, all:
     After rebuilt current Harmony classlib, I found several source jars
have replaced the binary jar in the classpath of  plug-in dependencies, for
example, the nio-char_src.jar instead of nio-char.jar. Thus it lead to the
failure of project building in eclipse.

-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib][General]Problem in plug-in dependencies

Posted by Leo Li <li...@gmail.com>.
Thank you, Nathan. It is ok now.:)

On 10/25/06, Nathan Beyer <nb...@gmail.com> wrote:
>
> I've updated the build scripts, so the manifests of the source JARs
> shouldn't be causing anymore conflicts. Let me know if this fixes the
> issue.
>
> -Nathan
>
> On 10/24/06, Nathan Beyer <nb...@gmail.com> wrote:
> > Ouch. Yeah, the source JARs don't need to use the same MANIFEST file.
> > I'll take a look at that. This explains some of the issues I've been
> > having. Nice catch
> >
> > -Nathan
> >
> > On 10/24/06, Leo Li <li...@gmail.com> wrote:
> > > It seems that eclipse wrongly load the required jar for a certain
> bundle,
> > > since, for example, luni.jar and luni-src.jar both have the same
> manifest in
> > > which the jar claims it has the require classes for the bundle and
> thus
> > > fuddles eclipse. After I have deleted the manifest from the source
> jar,
> > > every thing recovers. So I recommend to make some modification in
> build
> > > script not to have source jar also claim exporting packages.
> > >
> > > On 10/24/06, Leo Li <li...@gmail.com> wrote:
> > > >
> > > > Hi, all:
> > > >      After rebuilt current Harmony classlib, I found several source
> jars
> > > > have replaced the binary jar in the classpath of  plug-in
> dependencies, for
> > > > example, the nio-char_src.jar instead of nio-char.jar. Thus it lead
> to the
> > > > failure of project building in eclipse.
> > > >
> > > > --
> > > > Leo Li
> > > > China Software Development Lab, IBM
> > > >
> > >
> > >
> > >
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> > >
> > >
> >
>



-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib][General]Problem in plug-in dependencies

Posted by Tim Ellison <t....@gmail.com>.
Nathan Beyer wrote:
> I've updated the build scripts, so the manifests of the source JARs
> shouldn't be causing anymore conflicts. Let me know if this fixes the
> issue.

Thanks for bailing me out Nathan. I am still catching up after a machine
outage.

Some of the entries in the manifests would be good to keep, I wonder if
we can remove selective entries from the file using the Ant script.
I'll experiment and see what I can do.

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)


Re: [classlib][General]Problem in plug-in dependencies

Posted by Nathan Beyer <nb...@gmail.com>.
I've updated the build scripts, so the manifests of the source JARs
shouldn't be causing anymore conflicts. Let me know if this fixes the
issue.

-Nathan

On 10/24/06, Nathan Beyer <nb...@gmail.com> wrote:
> Ouch. Yeah, the source JARs don't need to use the same MANIFEST file.
> I'll take a look at that. This explains some of the issues I've been
> having. Nice catch
>
> -Nathan
>
> On 10/24/06, Leo Li <li...@gmail.com> wrote:
> > It seems that eclipse wrongly load the required jar for a certain bundle,
> > since, for example, luni.jar and luni-src.jar both have the same manifest in
> > which the jar claims it has the require classes for the bundle and thus
> > fuddles eclipse. After I have deleted the manifest from the source jar,
> > every thing recovers. So I recommend to make some modification in build
> > script not to have source jar also claim exporting packages.
> >
> > On 10/24/06, Leo Li <li...@gmail.com> wrote:
> > >
> > > Hi, all:
> > >      After rebuilt current Harmony classlib, I found several source jars
> > > have replaced the binary jar in the classpath of  plug-in dependencies, for
> > > example, the nio-char_src.jar instead of nio-char.jar. Thus it lead to the
> > > failure of project building in eclipse.
> > >
> > > --
> > > Leo Li
> > > China Software Development Lab, IBM
> > >
> >
> >
> >
> > --
> > Leo Li
> > China Software Development Lab, IBM
> >
> >
>

Re: [classlib][General]Problem in plug-in dependencies

Posted by Nathan Beyer <nb...@gmail.com>.
Ouch. Yeah, the source JARs don't need to use the same MANIFEST file.
I'll take a look at that. This explains some of the issues I've been
having. Nice catch

-Nathan

On 10/24/06, Leo Li <li...@gmail.com> wrote:
> It seems that eclipse wrongly load the required jar for a certain bundle,
> since, for example, luni.jar and luni-src.jar both have the same manifest in
> which the jar claims it has the require classes for the bundle and thus
> fuddles eclipse. After I have deleted the manifest from the source jar,
> every thing recovers. So I recommend to make some modification in build
> script not to have source jar also claim exporting packages.
>
> On 10/24/06, Leo Li <li...@gmail.com> wrote:
> >
> > Hi, all:
> >      After rebuilt current Harmony classlib, I found several source jars
> > have replaced the binary jar in the classpath of  plug-in dependencies, for
> > example, the nio-char_src.jar instead of nio-char.jar. Thus it lead to the
> > failure of project building in eclipse.
> >
> > --
> > Leo Li
> > China Software Development Lab, IBM
> >
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>
>

Re: [classlib][General]Problem in plug-in dependencies

Posted by Leo Li <li...@gmail.com>.
It seems that eclipse wrongly load the required jar for a certain bundle,
since, for example, luni.jar and luni-src.jar both have the same manifest in
which the jar claims it has the require classes for the bundle and thus
fuddles eclipse. After I have deleted the manifest from the source jar,
every thing recovers. So I recommend to make some modification in build
script not to have source jar also claim exporting packages.

On 10/24/06, Leo Li <li...@gmail.com> wrote:
>
> Hi, all:
>      After rebuilt current Harmony classlib, I found several source jars
> have replaced the binary jar in the classpath of  plug-in dependencies, for
> example, the nio-char_src.jar instead of nio-char.jar. Thus it lead to the
> failure of project building in eclipse.
>
> --
> Leo Li
> China Software Development Lab, IBM
>



-- 
Leo Li
China Software Development Lab, IBM