Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » gantt in RCP
gantt in RCP [message #535429] Sun, 23 May 2010 12:49 Go to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Hi,
I am most likely missing the obvious (shame on me).
I would like to use the gantt widget in my RCP app.
Unfortunately it seems my app is not able to find the classes.

I get the error:
!MESSAGE Missing required bundle gantt_1.0.0.

The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
http://www.hexapixel.com/files/nightly/ and then File-> New ->
Project...-> Plug-in Development -> Plug-in from existing JAR archives.

I actually tried several things, but the result is always the same:
I can successfully run standalone test programs, but I cannot run my RCP
app.

I am (obviously!) ready to give any info deemed useful.

Pretty please someone point me in the right direction!.

Regards and Thanks in Advance
Mauro
Re: gantt in RCP [message #535433 is a reply to message #535429] Sun, 23 May 2010 13:09 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

How did you included the Gant chart into your RCP? Did you forget to
update your launch config?

Beside that the thing you downloaded is already a OSGi-Bundle so no need
to OSGify it any more - simply drop it into your Target-Platform and you
can use it.

Tom

Am 23.05.10 14:49, schrieb Mauro Condarelli:
> Hi,
> I am most likely missing the obvious (shame on me).
> I would like to use the gantt widget in my RCP app.
> Unfortunately it seems my app is not able to find the classes.
>
> I get the error:
> !MESSAGE Missing required bundle gantt_1.0.0.
>
> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
> http://www.hexapixel.com/files/nightly/ and then File-> New ->
> Project...-> Plug-in Development -> Plug-in from existing JAR archives.
>
> I actually tried several things, but the result is always the same:
> I can successfully run standalone test programs, but I cannot run my RCP
> app.
>
> I am (obviously!) ready to give any info deemed useful.
>
> Pretty please someone point me in the right direction!.
>
> Regards and Thanks in Advance
> Mauro
Re: gantt in RCP [message #535455 is a reply to message #535433] Sun, 23 May 2010 17:53 Go to previous messageGo to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
file in my project and added it to properties -> Java Build Path ->
Libraries -> Add JARs...

What do You exactly mean by "Did you forget to update your launch config?"?

I also tried to install it "properly" in eclipse, but without an update
site it will refuse to acknowledge the plugin.

Any suggestion?

TiA
Mauro

P.S.:

AAAARRRRGGGHHHHH!

I did something real wrong!

My app refuses to start at all with the following error:

!SESSION 2010-05-23 19:47:15.672
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments: -product Writer.product
Command-line arguments: -product Writer.product -data
C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
(1)/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
!MESSAGE Product Writer.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Obviously Writer.product IS there.
I will re-fetch LatKnownGood from SVN

Any idea what went wrong?


Regards
Mauro

On 23/05/2010 15.09, Tom Schindl wrote:
> Hi,
>
> How did you included the Gant chart into your RCP? Did you forget to
> update your launch config?
>
> Beside that the thing you downloaded is already a OSGi-Bundle so no need
> to OSGify it any more - simply drop it into your Target-Platform and you
> can use it.
>
> Tom
>
> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>> Hi,
>> I am most likely missing the obvious (shame on me).
>> I would like to use the gantt widget in my RCP app.
>> Unfortunately it seems my app is not able to find the classes.
>>
>> I get the error:
>> !MESSAGE Missing required bundle gantt_1.0.0.
>>
>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>> Project...-> Plug-in Development -> Plug-in from existing JAR archives.
>>
>> I actually tried several things, but the result is always the same:
>> I can successfully run standalone test programs, but I cannot run my RCP
>> app.
>>
>> I am (obviously!) ready to give any info deemed useful.
>>
>> Pretty please someone point me in the right direction!.
>>
>> Regards and Thanks in Advance
>> Mauro
>
Re: gantt in RCP [message #535512 is a reply to message #535455] Mon, 24 May 2010 08:06 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Am 23.05.10 19:53, schrieb Mauro Condarelli:
> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
> file in my project and added it to properties -> Java Build Path ->
> Libraries -> Add JARs...

This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
need to do this using the MANIFEST.MF (Runtime > Classpath section).

>
> What do You exactly mean by "Did you forget to update your launch config?"?
>

You need to update your .product-File and recreate your Launch Config or
update your existing one (Run > Run Configuration)

> I also tried to install it "properly" in eclipse, but without an update
> site it will refuse to acknowledge the plugin.

Did you tried to launch with -clean afterwards? Beside that installing
stuff into your IDE simply because your RCP needs it is a bad thing
IMHO. You should learn about setting up a Target which is quite easy.

1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
there
3. Window > Properties > Plug-in Development > Add ...
4. Select "Current Target: Copy ..." and Next
5. Click Add ..., Select Directory and Next
6. Browse and select C:/eclipse-target/v1.0/
7. Finish

Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
update your .product, recreate your launch config

>
> Any suggestion?
>
> TiA
> Mauro
>
> P.S.:
>
> AAAARRRRGGGHHHHH!
>
> I did something real wrong!
>
> My app refuses to start at all with the following error:
>
> !SESSION 2010-05-23 19:47:15.672
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
> Framework arguments: -product Writer.product
> Command-line arguments: -product Writer.product -data
> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
> (1)/dev.properties -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
> !MESSAGE Product Writer.product could not be found.
>
> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: No application id has been found.
> at
> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>
> at
> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> Obviously Writer.product IS there.
> I will re-fetch LatKnownGood from SVN
>

My wild guess is that the Bundle with the Writer.product is not able to
get started. You should validate your "Launch Configuration" and see if
every thing is resolved.

> Any idea what went wrong?
>
>
> Regards
> Mauro
>
> On 23/05/2010 15.09, Tom Schindl wrote:
>> Hi,
>>
>> How did you included the Gant chart into your RCP? Did you forget to
>> update your launch config?
>>
>> Beside that the thing you downloaded is already a OSGi-Bundle so no need
>> to OSGify it any more - simply drop it into your Target-Platform and you
>> can use it.
>>
>> Tom
>>
>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>> Hi,
>>> I am most likely missing the obvious (shame on me).
>>> I would like to use the gantt widget in my RCP app.
>>> Unfortunately it seems my app is not able to find the classes.
>>>
>>> I get the error:
>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>
>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>> archives.
>>>
>>> I actually tried several things, but the result is always the same:
>>> I can successfully run standalone test programs, but I cannot run my RCP
>>> app.
>>>
>>> I am (obviously!) ready to give any info deemed useful.
>>>
>>> Pretty please someone point me in the right direction!.
>>>
>>> Regards and Thanks in Advance
>>> Mauro
>>
>
Re: gantt in RCP [message #535523 is a reply to message #535512] Mon, 24 May 2010 09:10 Go to previous messageGo to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Thanks Tom
It works now.

just to be sure I understand You (and the way eclipse is supposed to work):

You mean I should *NOT* install in the IDE additional components I need
in my RCP; I should create Target configuration(s) instead, right?

I need a spell checker in my app and I installed it in the IDE, but that
interferes badly with the default Java speller. I assume I can uninstall
it and move the associated .jar files to Target. Is this correct?

On the same wavelength: I found two spellcheckers for eclipse:
hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
different ways). What is the "advised" spell-checker for non-English
languages? (I'm Italian).

Regards and Many Thanks
Mauro


On 24/05/2010 10.06, Tom Schindl wrote:
> Hi,
>
> Am 23.05.10 19:53, schrieb Mauro Condarelli:
>> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
>> file in my project and added it to properties -> Java Build Path ->
>> Libraries -> Add JARs...
>
> This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
> need to do this using the MANIFEST.MF (Runtime> Classpath section).
>
>>
>> What do You exactly mean by "Did you forget to update your launch config?"?
>>
>
> You need to update your .product-File and recreate your Launch Config or
> update your existing one (Run> Run Configuration)
>
>> I also tried to install it "properly" in eclipse, but without an update
>> site it will refuse to acknowledge the plugin.
>
> Did you tried to launch with -clean afterwards? Beside that installing
> stuff into your IDE simply because your RCP needs it is a bad thing
> IMHO. You should learn about setting up a Target which is quite easy.
>
> 1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
> 2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
> there
> 3. Window> Properties> Plug-in Development> Add ...
> 4. Select "Current Target: Copy ..." and Next
> 5. Click Add ..., Select Directory and Next
> 6. Browse and select C:/eclipse-target/v1.0/
> 7. Finish
>
> Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
> update your .product, recreate your launch config
>
>>
>> Any suggestion?
>>
>> TiA
>> Mauro
>>
>> P.S.:
>>
>> AAAARRRRGGGHHHHH!
>>
>> I did something real wrong!
>>
>> My app refuses to start at all with the following error:
>>
>> !SESSION 2010-05-23 19:47:15.672
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_20
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>> Framework arguments: -product Writer.product
>> Command-line arguments: -product Writer.product -data
>> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
>> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
>> (1)/dev.properties -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
>> !MESSAGE Product Writer.product could not be found.
>>
>> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.RuntimeException: No application id has been found.
>> at
>> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>>
>> at
>> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>
>> Obviously Writer.product IS there.
>> I will re-fetch LatKnownGood from SVN
>>
>
> My wild guess is that the Bundle with the Writer.product is not able to
> get started. You should validate your "Launch Configuration" and see if
> every thing is resolved.
>
>> Any idea what went wrong?
>>
>>
>> Regards
>> Mauro
>>
>> On 23/05/2010 15.09, Tom Schindl wrote:
>>> Hi,
>>>
>>> How did you included the Gant chart into your RCP? Did you forget to
>>> update your launch config?
>>>
>>> Beside that the thing you downloaded is already a OSGi-Bundle so no need
>>> to OSGify it any more - simply drop it into your Target-Platform and you
>>> can use it.
>>>
>>> Tom
>>>
>>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>>> Hi,
>>>> I am most likely missing the obvious (shame on me).
>>>> I would like to use the gantt widget in my RCP app.
>>>> Unfortunately it seems my app is not able to find the classes.
>>>>
>>>> I get the error:
>>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>>
>>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>>> archives.
>>>>
>>>> I actually tried several things, but the result is always the same:
>>>> I can successfully run standalone test programs, but I cannot run my RCP
>>>> app.
>>>>
>>>> I am (obviously!) ready to give any info deemed useful.
>>>>
>>>> Pretty please someone point me in the right direction!.
>>>>
>>>> Regards and Thanks in Advance
>>>> Mauro
>>>
>>
>
Re: gantt in RCP [message #535533 is a reply to message #535523] Mon, 24 May 2010 09:38 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Am 24.05.10 11:10, schrieb Mauro Condarelli:
> Thanks Tom
> It works now.
>
> just to be sure I understand You (and the way eclipse is supposed to work):
>
> You mean I should *NOT* install in the IDE additional components I need
> in my RCP; I should create Target configuration(s) instead, right?

Yes this is the way to go. Beside the thing you mention below it allows
you to develop multiple different applications who need different
targets (e.g. you need to maintain a RCP written on 3.2 and one on 3.4, ...)

>
> I need a spell checker in my app and I installed it in the IDE, but that
> interferes badly with the default Java speller. I assume I can uninstall
> it and move the associated .jar files to Target. Is this correct?
>

Yes.

> On the same wavelength: I found two spellcheckers for eclipse:
> hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
> different ways). What is the "advised" spell-checker for non-English
> languages? (I'm Italian).

I think you should ask this question on the newcomer or the
platform-newsgroup

Tom
Re: gantt in RCP [message #535541 is a reply to message #535523] Mon, 24 May 2010 11:16 Go to previous message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
On 24/05/2010 11.10, Mauro Condarelli wrote:
> Thanks Tom
> It works now.

Sorry.
Not true.

org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar is not recognized
as a plugin.
I had to File -> new -> Project Plug-in from Existing JAR Archives; Then
ExportWizard to produce my own gantt_1.0.0.jar
Only at this point I have been able to add the new Target with some
sensible content.

What am I missing?

Regards
Mauro


>
> just to be sure I understand You (and the way eclipse is supposed to work):
>
> You mean I should *NOT* install in the IDE additional components I need
> in my RCP; I should create Target configuration(s) instead, right?
>
> I need a spell checker in my app and I installed it in the IDE, but that
> interferes badly with the default Java speller. I assume I can uninstall
> it and move the associated .jar files to Target. Is this correct?
>
> On the same wavelength: I found two spellcheckers for eclipse:
> hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
> different ways). What is the "advised" spell-checker for non-English
> languages? (I'm Italian).
>
> Regards and Many Thanks
> Mauro
>
>
> On 24/05/2010 10.06, Tom Schindl wrote:
>> Hi,
>>
>> Am 23.05.10 19:53, schrieb Mauro Condarelli:
>>> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
>>> file in my project and added it to properties -> Java Build Path ->
>>> Libraries -> Add JARs...
>>
>> This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
>> need to do this using the MANIFEST.MF (Runtime> Classpath section).
>>
>>>
>>> What do You exactly mean by "Did you forget to update your launch
>>> config?"?
>>>
>>
>> You need to update your .product-File and recreate your Launch Config or
>> update your existing one (Run> Run Configuration)
>>
>>> I also tried to install it "properly" in eclipse, but without an update
>>> site it will refuse to acknowledge the plugin.
>>
>> Did you tried to launch with -clean afterwards? Beside that installing
>> stuff into your IDE simply because your RCP needs it is a bad thing
>> IMHO. You should learn about setting up a Target which is quite easy.
>>
>> 1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
>> 2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
>> there
>> 3. Window> Properties> Plug-in Development> Add ...
>> 4. Select "Current Target: Copy ..." and Next
>> 5. Click Add ..., Select Directory and Next
>> 6. Browse and select C:/eclipse-target/v1.0/
>> 7. Finish
>>
>> Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
>> update your .product, recreate your launch config
>>
>>>
>>> Any suggestion?
>>>
>>> TiA
>>> Mauro
>>>
>>> P.S.:
>>>
>>> AAAARRRRGGGHHHHH!
>>>
>>> I did something real wrong!
>>>
>>> My app refuses to start at all with the following error:
>>>
>>> !SESSION 2010-05-23 19:47:15.672
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.6.0_20
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>>> Framework arguments: -product Writer.product
>>> Command-line arguments: -product Writer.product -data
>>> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
>>> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
>>>
>>> (1)/dev.properties -os win32 -ws win32 -arch x86
>>>
>>> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
>>> !MESSAGE Product Writer.product could not be found.
>>>
>>> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
>>> !MESSAGE Application error
>>> !STACK 1
>>> java.lang.RuntimeException: No application id has been found.
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>>>
>>>
>>> at
>>> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>
>>> Obviously Writer.product IS there.
>>> I will re-fetch LatKnownGood from SVN
>>>
>>
>> My wild guess is that the Bundle with the Writer.product is not able to
>> get started. You should validate your "Launch Configuration" and see if
>> every thing is resolved.
>>
>>> Any idea what went wrong?
>>>
>>>
>>> Regards
>>> Mauro
>>>
>>> On 23/05/2010 15.09, Tom Schindl wrote:
>>>> Hi,
>>>>
>>>> How did you included the Gant chart into your RCP? Did you forget to
>>>> update your launch config?
>>>>
>>>> Beside that the thing you downloaded is already a OSGi-Bundle so no
>>>> need
>>>> to OSGify it any more - simply drop it into your Target-Platform and
>>>> you
>>>> can use it.
>>>>
>>>> Tom
>>>>
>>>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>>>> Hi,
>>>>> I am most likely missing the obvious (shame on me).
>>>>> I would like to use the gantt widget in my RCP app.
>>>>> Unfortunately it seems my app is not able to find the classes.
>>>>>
>>>>> I get the error:
>>>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>>>
>>>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>>>> archives.
>>>>>
>>>>> I actually tried several things, but the result is always the same:
>>>>> I can successfully run standalone test programs, but I cannot run
>>>>> my RCP
>>>>> app.
>>>>>
>>>>> I am (obviously!) ready to give any info deemed useful.
>>>>>
>>>>> Pretty please someone point me in the right direction!.
>>>>>
>>>>> Regards and Thanks in Advance
>>>>> Mauro
>>>>
>>>
>>
>
Re: gantt in RCP [message #599636 is a reply to message #535429] Sun, 23 May 2010 13:09 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

How did you included the Gant chart into your RCP? Did you forget to
update your launch config?

Beside that the thing you downloaded is already a OSGi-Bundle so no need
to OSGify it any more - simply drop it into your Target-Platform and you
can use it.

Tom

Am 23.05.10 14:49, schrieb Mauro Condarelli:
> Hi,
> I am most likely missing the obvious (shame on me).
> I would like to use the gantt widget in my RCP app.
> Unfortunately it seems my app is not able to find the classes.
>
> I get the error:
> !MESSAGE Missing required bundle gantt_1.0.0.
>
> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
> http://www.hexapixel.com/files/nightly/ and then File-> New ->
> Project...-> Plug-in Development -> Plug-in from existing JAR archives.
>
> I actually tried several things, but the result is always the same:
> I can successfully run standalone test programs, but I cannot run my RCP
> app.
>
> I am (obviously!) ready to give any info deemed useful.
>
> Pretty please someone point me in the right direction!.
>
> Regards and Thanks in Advance
> Mauro
Re: gantt in RCP [message #599645 is a reply to message #535433] Sun, 23 May 2010 17:53 Go to previous message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
file in my project and added it to properties -> Java Build Path ->
Libraries -> Add JARs...

What do You exactly mean by "Did you forget to update your launch config?"?

I also tried to install it "properly" in eclipse, but without an update
site it will refuse to acknowledge the plugin.

Any suggestion?

TiA
Mauro

P.S.:

AAAARRRRGGGHHHHH!

I did something real wrong!

My app refuses to start at all with the following error:

!SESSION 2010-05-23 19:47:15.672
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments: -product Writer.product
Command-line arguments: -product Writer.product -data
C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
(1)/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
!MESSAGE Product Writer.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Obviously Writer.product IS there.
I will re-fetch LatKnownGood from SVN

Any idea what went wrong?


Regards
Mauro

On 23/05/2010 15.09, Tom Schindl wrote:
> Hi,
>
> How did you included the Gant chart into your RCP? Did you forget to
> update your launch config?
>
> Beside that the thing you downloaded is already a OSGi-Bundle so no need
> to OSGify it any more - simply drop it into your Target-Platform and you
> can use it.
>
> Tom
>
> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>> Hi,
>> I am most likely missing the obvious (shame on me).
>> I would like to use the gantt widget in my RCP app.
>> Unfortunately it seems my app is not able to find the classes.
>>
>> I get the error:
>> !MESSAGE Missing required bundle gantt_1.0.0.
>>
>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>> Project...-> Plug-in Development -> Plug-in from existing JAR archives.
>>
>> I actually tried several things, but the result is always the same:
>> I can successfully run standalone test programs, but I cannot run my RCP
>> app.
>>
>> I am (obviously!) ready to give any info deemed useful.
>>
>> Pretty please someone point me in the right direction!.
>>
>> Regards and Thanks in Advance
>> Mauro
>
Re: gantt in RCP [message #599651 is a reply to message #535455] Mon, 24 May 2010 08:06 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Am 23.05.10 19:53, schrieb Mauro Condarelli:
> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
> file in my project and added it to properties -> Java Build Path ->
> Libraries -> Add JARs...

This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
need to do this using the MANIFEST.MF (Runtime > Classpath section).

>
> What do You exactly mean by "Did you forget to update your launch config?"?
>

You need to update your .product-File and recreate your Launch Config or
update your existing one (Run > Run Configuration)

> I also tried to install it "properly" in eclipse, but without an update
> site it will refuse to acknowledge the plugin.

Did you tried to launch with -clean afterwards? Beside that installing
stuff into your IDE simply because your RCP needs it is a bad thing
IMHO. You should learn about setting up a Target which is quite easy.

1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
there
3. Window > Properties > Plug-in Development > Add ...
4. Select "Current Target: Copy ..." and Next
5. Click Add ..., Select Directory and Next
6. Browse and select C:/eclipse-target/v1.0/
7. Finish

Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
update your .product, recreate your launch config

>
> Any suggestion?
>
> TiA
> Mauro
>
> P.S.:
>
> AAAARRRRGGGHHHHH!
>
> I did something real wrong!
>
> My app refuses to start at all with the following error:
>
> !SESSION 2010-05-23 19:47:15.672
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
> Framework arguments: -product Writer.product
> Command-line arguments: -product Writer.product -data
> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
> (1)/dev.properties -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
> !MESSAGE Product Writer.product could not be found.
>
> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: No application id has been found.
> at
> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>
> at
> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> Obviously Writer.product IS there.
> I will re-fetch LatKnownGood from SVN
>

My wild guess is that the Bundle with the Writer.product is not able to
get started. You should validate your "Launch Configuration" and see if
every thing is resolved.

> Any idea what went wrong?
>
>
> Regards
> Mauro
>
> On 23/05/2010 15.09, Tom Schindl wrote:
>> Hi,
>>
>> How did you included the Gant chart into your RCP? Did you forget to
>> update your launch config?
>>
>> Beside that the thing you downloaded is already a OSGi-Bundle so no need
>> to OSGify it any more - simply drop it into your Target-Platform and you
>> can use it.
>>
>> Tom
>>
>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>> Hi,
>>> I am most likely missing the obvious (shame on me).
>>> I would like to use the gantt widget in my RCP app.
>>> Unfortunately it seems my app is not able to find the classes.
>>>
>>> I get the error:
>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>
>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>> archives.
>>>
>>> I actually tried several things, but the result is always the same:
>>> I can successfully run standalone test programs, but I cannot run my RCP
>>> app.
>>>
>>> I am (obviously!) ready to give any info deemed useful.
>>>
>>> Pretty please someone point me in the right direction!.
>>>
>>> Regards and Thanks in Advance
>>> Mauro
>>
>
Re: gantt in RCP [message #599658 is a reply to message #535512] Mon, 24 May 2010 09:10 Go to previous message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Thanks Tom
It works now.

just to be sure I understand You (and the way eclipse is supposed to work):

You mean I should *NOT* install in the IDE additional components I need
in my RCP; I should create Target configuration(s) instead, right?

I need a spell checker in my app and I installed it in the IDE, but that
interferes badly with the default Java speller. I assume I can uninstall
it and move the associated .jar files to Target. Is this correct?

On the same wavelength: I found two spellcheckers for eclipse:
hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
different ways). What is the "advised" spell-checker for non-English
languages? (I'm Italian).

Regards and Many Thanks
Mauro


On 24/05/2010 10.06, Tom Schindl wrote:
> Hi,
>
> Am 23.05.10 19:53, schrieb Mauro Condarelli:
>> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
>> file in my project and added it to properties -> Java Build Path ->
>> Libraries -> Add JARs...
>
> This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
> need to do this using the MANIFEST.MF (Runtime> Classpath section).
>
>>
>> What do You exactly mean by "Did you forget to update your launch config?"?
>>
>
> You need to update your .product-File and recreate your Launch Config or
> update your existing one (Run> Run Configuration)
>
>> I also tried to install it "properly" in eclipse, but without an update
>> site it will refuse to acknowledge the plugin.
>
> Did you tried to launch with -clean afterwards? Beside that installing
> stuff into your IDE simply because your RCP needs it is a bad thing
> IMHO. You should learn about setting up a Target which is quite easy.
>
> 1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
> 2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
> there
> 3. Window> Properties> Plug-in Development> Add ...
> 4. Select "Current Target: Copy ..." and Next
> 5. Click Add ..., Select Directory and Next
> 6. Browse and select C:/eclipse-target/v1.0/
> 7. Finish
>
> Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
> update your .product, recreate your launch config
>
>>
>> Any suggestion?
>>
>> TiA
>> Mauro
>>
>> P.S.:
>>
>> AAAARRRRGGGHHHHH!
>>
>> I did something real wrong!
>>
>> My app refuses to start at all with the following error:
>>
>> !SESSION 2010-05-23 19:47:15.672
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_20
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>> Framework arguments: -product Writer.product
>> Command-line arguments: -product Writer.product -data
>> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
>> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
>> (1)/dev.properties -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
>> !MESSAGE Product Writer.product could not be found.
>>
>> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.RuntimeException: No application id has been found.
>> at
>> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>>
>> at
>> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>
>> Obviously Writer.product IS there.
>> I will re-fetch LatKnownGood from SVN
>>
>
> My wild guess is that the Bundle with the Writer.product is not able to
> get started. You should validate your "Launch Configuration" and see if
> every thing is resolved.
>
>> Any idea what went wrong?
>>
>>
>> Regards
>> Mauro
>>
>> On 23/05/2010 15.09, Tom Schindl wrote:
>>> Hi,
>>>
>>> How did you included the Gant chart into your RCP? Did you forget to
>>> update your launch config?
>>>
>>> Beside that the thing you downloaded is already a OSGi-Bundle so no need
>>> to OSGify it any more - simply drop it into your Target-Platform and you
>>> can use it.
>>>
>>> Tom
>>>
>>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>>> Hi,
>>>> I am most likely missing the obvious (shame on me).
>>>> I would like to use the gantt widget in my RCP app.
>>>> Unfortunately it seems my app is not able to find the classes.
>>>>
>>>> I get the error:
>>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>>
>>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>>> archives.
>>>>
>>>> I actually tried several things, but the result is always the same:
>>>> I can successfully run standalone test programs, but I cannot run my RCP
>>>> app.
>>>>
>>>> I am (obviously!) ready to give any info deemed useful.
>>>>
>>>> Pretty please someone point me in the right direction!.
>>>>
>>>> Regards and Thanks in Advance
>>>> Mauro
>>>
>>
>
Re: gantt in RCP [message #599667 is a reply to message #535523] Mon, 24 May 2010 09:38 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Am 24.05.10 11:10, schrieb Mauro Condarelli:
> Thanks Tom
> It works now.
>
> just to be sure I understand You (and the way eclipse is supposed to work):
>
> You mean I should *NOT* install in the IDE additional components I need
> in my RCP; I should create Target configuration(s) instead, right?

Yes this is the way to go. Beside the thing you mention below it allows
you to develop multiple different applications who need different
targets (e.g. you need to maintain a RCP written on 3.2 and one on 3.4, ...)

>
> I need a spell checker in my app and I installed it in the IDE, but that
> interferes badly with the default Java speller. I assume I can uninstall
> it and move the associated .jar files to Target. Is this correct?
>

Yes.

> On the same wavelength: I found two spellcheckers for eclipse:
> hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
> different ways). What is the "advised" spell-checker for non-English
> languages? (I'm Italian).

I think you should ask this question on the newcomer or the
platform-newsgroup

Tom
Re: gantt in RCP [message #599676 is a reply to message #535523] Mon, 24 May 2010 11:16 Go to previous message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
On 24/05/2010 11.10, Mauro Condarelli wrote:
> Thanks Tom
> It works now.

Sorry.
Not true.

org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar is not recognized
as a plugin.
I had to File -> new -> Project Plug-in from Existing JAR Archives; Then
ExportWizard to produce my own gantt_1.0.0.jar
Only at this point I have been able to add the new Target with some
sensible content.

What am I missing?

Regards
Mauro


>
> just to be sure I understand You (and the way eclipse is supposed to work):
>
> You mean I should *NOT* install in the IDE additional components I need
> in my RCP; I should create Target configuration(s) instead, right?
>
> I need a spell checker in my app and I installed it in the IDE, but that
> interferes badly with the default Java speller. I assume I can uninstall
> it and move the associated .jar files to Target. Is this correct?
>
> On the same wavelength: I found two spellcheckers for eclipse:
> hunspell4eclipse and eSpell3; both do not seem to fully work for me (in
> different ways). What is the "advised" spell-checker for non-English
> languages? (I'm Italian).
>
> Regards and Many Thanks
> Mauro
>
>
> On 24/05/2010 10.06, Tom Schindl wrote:
>> Hi,
>>
>> Am 23.05.10 19:53, schrieb Mauro Condarelli:
>>> I just dropped the org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar
>>> file in my project and added it to properties -> Java Build Path ->
>>> Libraries -> Add JARs...
>>
>> This is obviously wrong! If you have to add JARs to a OSGI-Bundle you
>> need to do this using the MANIFEST.MF (Runtime> Classpath section).
>>
>>>
>>> What do You exactly mean by "Did you forget to update your launch
>>> config?"?
>>>
>>
>> You need to update your .product-File and recreate your Launch Config or
>> update your existing one (Run> Run Configuration)
>>
>>> I also tried to install it "properly" in eclipse, but without an update
>>> site it will refuse to acknowledge the plugin.
>>
>> Did you tried to launch with -clean afterwards? Beside that installing
>> stuff into your IDE simply because your RCP needs it is a bad thing
>> IMHO. You should learn about setting up a Target which is quite easy.
>>
>> 1. Create a Folder on your system (e.g. C:/eclipse-target/v1.0/)
>> 2. Put your org.eclipse.nebula.widgets.ganttchart-2.0-NIGHTLY.jar in
>> there
>> 3. Window> Properties> Plug-in Development> Add ...
>> 4. Select "Current Target: Copy ..." and Next
>> 5. Click Add ..., Select Directory and Next
>> 6. Browse and select C:/eclipse-target/v1.0/
>> 7. Finish
>>
>> Now you can add ganttchart-2.0 as a dependency on your MANIFEST.MF,
>> update your .product, recreate your launch config
>>
>>>
>>> Any suggestion?
>>>
>>> TiA
>>> Mauro
>>>
>>> P.S.:
>>>
>>> AAAARRRRGGGHHHHH!
>>>
>>> I did something real wrong!
>>>
>>> My app refuses to start at all with the following error:
>>>
>>> !SESSION 2010-05-23 19:47:15.672
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.6.0_20
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>>> Framework arguments: -product Writer.product
>>> Command-line arguments: -product Writer.product -data
>>> C:\Users\mauro\workspace/../runtime-Writer.product(1) -dev
>>> file:C:/Users/mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product
>>>
>>> (1)/dev.properties -os win32 -ws win32 -arch x86
>>>
>>> !ENTRY org.eclipse.equinox.app 0 0 2010-05-23 19:47:16.783
>>> !MESSAGE Product Writer.product could not be found.
>>>
>>> !ENTRY org.eclipse.osgi 4 0 2010-05-23 19:47:16.811
>>> !MESSAGE Application error
>>> !STACK 1
>>> java.lang.RuntimeException: No application id has been found.
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
>>>
>>>
>>> at
>>> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>
>>> Obviously Writer.product IS there.
>>> I will re-fetch LatKnownGood from SVN
>>>
>>
>> My wild guess is that the Bundle with the Writer.product is not able to
>> get started. You should validate your "Launch Configuration" and see if
>> every thing is resolved.
>>
>>> Any idea what went wrong?
>>>
>>>
>>> Regards
>>> Mauro
>>>
>>> On 23/05/2010 15.09, Tom Schindl wrote:
>>>> Hi,
>>>>
>>>> How did you included the Gant chart into your RCP? Did you forget to
>>>> update your launch config?
>>>>
>>>> Beside that the thing you downloaded is already a OSGi-Bundle so no
>>>> need
>>>> to OSGify it any more - simply drop it into your Target-Platform and
>>>> you
>>>> can use it.
>>>>
>>>> Tom
>>>>
>>>> Am 23.05.10 14:49, schrieb Mauro Condarelli:
>>>>> Hi,
>>>>> I am most likely missing the obvious (shame on me).
>>>>> I would like to use the gantt widget in my RCP app.
>>>>> Unfortunately it seems my app is not able to find the classes.
>>>>>
>>>>> I get the error:
>>>>> !MESSAGE Missing required bundle gantt_1.0.0.
>>>>>
>>>>> The bundle "gantt_1.0.0" was built downloading the NIGHTLY builds from
>>>>> http://www.hexapixel.com/files/nightly/ and then File-> New ->
>>>>> Project...-> Plug-in Development -> Plug-in from existing JAR
>>>>> archives.
>>>>>
>>>>> I actually tried several things, but the result is always the same:
>>>>> I can successfully run standalone test programs, but I cannot run
>>>>> my RCP
>>>>> app.
>>>>>
>>>>> I am (obviously!) ready to give any info deemed useful.
>>>>>
>>>>> Pretty please someone point me in the right direction!.
>>>>>
>>>>> Regards and Thanks in Advance
>>>>> Mauro
>>>>
>>>
>>
>
Previous Topic:gantt in RCP
Next Topic:ganttchart event resize
Goto Forum:
  


Current Time: Fri Apr 19 19:40:14 GMT 2024

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

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

Back to the top