Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » newbie: Building equinox from the source
newbie: Building equinox from the source [message #73883] Wed, 04 October 2006 03:29 Go to next message
Eclipse UserFriend
Originally posted by: coddx.yahoo.com.br

Hi there,
I have downloaded equinox using eclipse import feature but I didnot find
a doc for make a jar file.. I tried sometimes to regenerate the
org.eclipse.osgi but I have failed..

How can I build a fresh jar from equinox??
I'm planing to change some features, that's what I'm need to rebuild all.

I did this:
I used the existing MANIFEST and export it all to jar then I got JAR
creation failed due a lot of messages like this:


JAR creation failed. See details for additional information.
Exported with compile warnings:
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/BundleDescriptionImpl.java
Exported with compile warnings:
.................................
- a lot of those warnings above-
..........................
Problem writing
/org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Sys temState.class
to JAR: duplicate entry:
org/eclipse/osgi/internal/resolver/SystemState.class
Problem writing
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/SystemState.java
to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/SystemState.java
Exported with compile warnings:
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
Problem writing
/org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Use rState.class
to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/UserState.class
Problem writing
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/UserState.java
Exported with compile warnings:
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
Problem writing
/org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Ver sionConstraintImpl.class
to JAR: duplicate entry:
org/eclipse/osgi/internal/resolver/VersionConstraintImpl.cla ss
Problem writing
/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
to JAR: duplicate entry:
org/eclipse/osgi/internal/resolver/VersionConstraintImpl.jav a


there's no ant/maven script buiding...

thank your help
Re: newbie: Building equinox from the source [message #73903 is a reply to message #73883] Wed, 04 October 2006 09:35 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
The recommended way to export bundles is to use the export deployable
plug-ins and features wizard.
This will generate a build.xml and run it to produce the desired jar and
then it will be deleted.

PaScaL

"exquisitus" <coddx@yahoo.com.br> wrote in message
news:efv9rg$15f$1@utils.eclipse.org...
> Hi there,
> I have downloaded equinox using eclipse import feature but I didnot find a
> doc for make a jar file.. I tried sometimes to regenerate the
> org.eclipse.osgi but I have failed..
>
> How can I build a fresh jar from equinox??
> I'm planing to change some features, that's what I'm need to rebuild all.
>
> I did this:
> I used the existing MANIFEST and export it all to jar then I got JAR
> creation failed due a lot of messages like this:
>
>
> JAR creation failed. See details for additional information.
> Exported with compile warnings:
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/BundleDescriptionImpl.java
> Exported with compile warnings:
> ................................
> - a lot of those warnings above-
> .........................
> Problem writing
> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Sys temState.class
> to JAR: duplicate entry:
> org/eclipse/osgi/internal/resolver/SystemState.class
> Problem writing
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/SystemState.java
> to JAR: duplicate entry:
> org/eclipse/osgi/internal/resolver/SystemState.java
> Exported with compile warnings:
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
> Problem writing
> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Use rState.class
> to JAR: duplicate entry:
> org/eclipse/osgi/internal/resolver/UserState.class
> Problem writing
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
> to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/UserState.java
> Exported with compile warnings:
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
> Problem writing
> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Ver sionConstraintImpl.class
> to JAR: duplicate entry:
> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.cla ss
> Problem writing
> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
> to JAR: duplicate entry:
> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.jav a
>
>
> there's no ant/maven script buiding...
>
> thank your help
Re: newbie: Building equinox from the source [message #73921 is a reply to message #73903] Wed, 04 October 2006 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nightwatch2006.gmail.com

Thanks Pascal,
I ran the wizard again and realize that, even with those duplicate error
messages, the jar file were successfully generated and then I could ran
it without problems.

thank you again.


Pascal Rapicault escreveu:
> The recommended way to export bundles is to use the export deployable
> plug-ins and features wizard.
> This will generate a build.xml and run it to produce the desired jar and
> then it will be deleted.
>
> PaScaL
>
> "exquisitus" <coddx@yahoo.com.br> wrote in message
> news:efv9rg$15f$1@utils.eclipse.org...
>> Hi there,
>> I have downloaded equinox using eclipse import feature but I didnot find a
>> doc for make a jar file.. I tried sometimes to regenerate the
>> org.eclipse.osgi but I have failed..
>>
>> How can I build a fresh jar from equinox??
>> I'm planing to change some features, that's what I'm need to rebuild all.
>>
>> I did this:
>> I used the existing MANIFEST and export it all to jar then I got JAR
>> creation failed due a lot of messages like this:
>>
>>
>> JAR creation failed. See details for additional information.
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/BundleDescriptionImpl.java
>> Exported with compile warnings:
>> ................................
>> - a lot of those warnings above-
>> .........................
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Sys temState.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/SystemState.class
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/SystemState.java
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/SystemState.java
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Use rState.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/UserState.class
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
>> to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/UserState.java
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Ver sionConstraintImpl.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.cla ss
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.jav a
>>
>>
>> there's no ant/maven script buiding...
>>
>> thank your help
>
>
Re: newbie: Building equinox from the source [message #73939 is a reply to message #73903] Wed, 04 October 2006 14:23 Go to previous message
Eclipse UserFriend
Originally posted by: nightwatch2006.gmail.com

Pascal Rapicault escreveu:
> The recommended way to export bundles is to use the export deployable
> plug-ins and features wizard.
> This will generate a build.xml and run it to produce the desired jar and
> then it will be deleted.
>
> PaScaL
>
> "exquisitus" <coddx@yahoo.com.br> wrote in message
> news:efv9rg$15f$1@utils.eclipse.org...
>> Hi there,
>> I have downloaded equinox using eclipse import feature but I didnot find a
>> doc for make a jar file.. I tried sometimes to regenerate the
>> org.eclipse.osgi but I have failed..
>>
>> How can I build a fresh jar from equinox??
>> I'm planing to change some features, that's what I'm need to rebuild all.
>>
>> I did this:
>> I used the existing MANIFEST and export it all to jar then I got JAR
>> creation failed due a lot of messages like this:
>>
>>
>> JAR creation failed. See details for additional information.
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/BundleDescriptionImpl.java
>> Exported with compile warnings:
>> ................................
>> - a lot of those warnings above-
>> .........................
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Sys temState.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/SystemState.class
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/SystemState.java
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/SystemState.java
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Use rState.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/UserState.class
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/UserState.java
>> to JAR: duplicate entry: org/eclipse/osgi/internal/resolver/UserState.java
>> Exported with compile warnings:
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
>> Problem writing
>> /org.eclipse.osgi/bin/org/eclipse/osgi/internal/resolver/Ver sionConstraintImpl.class
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.cla ss
>> Problem writing
>> /org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/res olver/VersionConstraintImpl.java
>> to JAR: duplicate entry:
>> org/eclipse/osgi/internal/resolver/VersionConstraintImpl.jav a
>>
>>
>> there's no ant/maven script buiding...
>>
>> thank your help
>
>
Thanks Pascal,
I ran the wizard again and realize that, even with those duplicate error
messages, the jar file were successfully generated and then I could ran
it without problems.

thank you again.
Previous Topic:Corona logging vs log4j direct access
Next Topic:Control RCP App on Server over Web Interface (RAP)
Goto Forum:
  


Current Time: Wed Apr 24 23:23:41 GMT 2024

Powered by FUDForum. Page generated in 0.03544 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top