Home » Archived » BIRT » How to run the chart examples
How to run the chart examples [message #151187] |
Wed, 05 April 2006 15:28  |
Eclipse User |
|
|
|
Okay, I've looked a bit at the newsgroup and I have looked at the
readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
plugin, but it still isn't really clear to me *how* to run the examples.
It gives some instruction for the VM arguments, but it doesn't say
*how* to run them. I would like to just run the exampls from Eclipse
(3.1.1) but I'm not sure how. If anyone could give some pointers, I
would very much appreciate it.
Thanks,
Keith
|
|
| |
Re: How to run the chart examples [message #151225 is a reply to message #151203] |
Wed, 05 April 2006 15:47   |
Eclipse User |
|
|
|
Select the class you want to run in the Package Explorer of Eclipse.
Click on Run... in the Run menu
Select Java Application in the tree on the left
Click on the first icon on the toolbar over the tree (with a + in it)
This should automatically fill the Main class (otherwise you can click
search and it will show a list of main classes to choose from)
Go to Arguments tab and set your arguments
Click on Run
Let me know if you have any further question,
Thanks,
David
"Keith McQueen" <kmcqueen@tsccos.com> wrote in message
news:e116du$np5$1@utils.eclipse.org...
> Keith McQueen wrote:
>> Okay, I've looked a bit at the newsgroup and I have looked at the
>> readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>> plugin, but it still isn't really clear to me *how* to run the examples.
>> It gives some instruction for the VM arguments, but it doesn't say *how*
>> to run them. I would like to just run the exampls from Eclipse (3.1.1)
>> but I'm not sure how. If anyone could give some pointers, I would very
>> much appreciate it.
>>
>> Thanks,
>> Keith
>
>
> Okay, so I discovered that some of the classes have a public static void
> main(String[] args) method, but Eclipse still doesn't want to run them. It
> doesn't seem to be able to tell that there are any main types in the
> project.
|
|
|
Re: How to run the chart examples [message #151233 is a reply to message #151225] |
Wed, 05 April 2006 16:16   |
Eclipse User |
|
|
|
David Michonneau wrote:
> Select the class you want to run in the Package Explorer of Eclipse.
> Click on Run... in the Run menu
> Select Java Application in the tree on the left
> Click on the first icon on the toolbar over the tree (with a + in it)
> This should automatically fill the Main class (otherwise you can click
> search and it will show a list of main classes to choose from)
> Go to Arguments tab and set your arguments
> Click on Run
>
> Let me know if you have any further question,
>
> Thanks,
>
> David
>
> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
> news:e116du$np5$1@utils.eclipse.org...
>
>>Keith McQueen wrote:
>>
>>>Okay, I've looked a bit at the newsgroup and I have looked at the
>>>readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>>>plugin, but it still isn't really clear to me *how* to run the examples.
>>>It gives some instruction for the VM arguments, but it doesn't say *how*
>>>to run them. I would like to just run the exampls from Eclipse (3.1.1)
>>>but I'm not sure how. If anyone could give some pointers, I would very
>>>much appreciate it.
>>>
>>>Thanks,
>>>Keith
>>
>>
>>Okay, so I discovered that some of the classes have a public static void
>>main(String[] args) method, but Eclipse still doesn't want to run them. It
>>doesn't seem to be able to tell that there are any main types in the
>>project.
>
>
>
I have no toolbar over the tree, just a New button and a Delete button.
When I right click the class and choose Run As > ... I only have
options for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem
to want to recognize that there is a main() there. I installed the
.....chart.examples plugin from the .zip file for the standalone charts.
I then imported it into my workspace using the Import > External
Plugins and Fragments selecting to import Projects with source folders.
Is this part of my problem? There were not any instructions anywhere
(that I noticed) that tell me how to install the chart examples. I saw
that there was a plugin with examples which fortuitously does *not* come
with the alleged *full* install of BIRT, so I had to download the
"charts only" zip. Anyway, I appreciate the help, but a little more
would be, well, helpful.
Thanks,
Keith
|
|
|
Re: How to run the chart examples [message #151258 is a reply to message #151233] |
Wed, 05 April 2006 18:56   |
Eclipse User |
|
|
|
Keith McQueen wrote:
> David Michonneau wrote:
>
>> Select the class you want to run in the Package Explorer of Eclipse.
>> Click on Run... in the Run menu
>> Select Java Application in the tree on the left
>> Click on the first icon on the toolbar over the tree (with a + in it)
>> This should automatically fill the Main class (otherwise you can click
>> search and it will show a list of main classes to choose from)
>> Go to Arguments tab and set your arguments
>> Click on Run
>>
>> Let me know if you have any further question,
>>
>> Thanks,
>>
>> David
>>
>> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
>> news:e116du$np5$1@utils.eclipse.org...
>>
>>> Keith McQueen wrote:
>>>
>>>> Okay, I've looked a bit at the newsgroup and I have looked at the
>>>> readme.html that comes with the
>>>> org.eclipse.birt.chart.examples_2.0.1 plugin, but it still isn't
>>>> really clear to me *how* to run the examples. It gives some
>>>> instruction for the VM arguments, but it doesn't say *how* to run
>>>> them. I would like to just run the exampls from Eclipse (3.1.1) but
>>>> I'm not sure how. If anyone could give some pointers, I would very
>>>> much appreciate it.
>>>>
>>>> Thanks,
>>>> Keith
>>>
>>>
>>>
>>> Okay, so I discovered that some of the classes have a public static
>>> void main(String[] args) method, but Eclipse still doesn't want to
>>> run them. It doesn't seem to be able to tell that there are any main
>>> types in the project.
>>
>>
>>
>>
>
> I have no toolbar over the tree, just a New button and a Delete button.
> When I right click the class and choose Run As > ... I only have
> options for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem
> to want to recognize that there is a main() there. I installed the
> ....chart.examples plugin from the .zip file for the standalone charts.
> I then imported it into my workspace using the Import > External
> Plugins and Fragments selecting to import Projects with source folders.
> Is this part of my problem? There were not any instructions anywhere
> (that I noticed) that tell me how to install the chart examples. I saw
> that there was a plugin with examples which fortuitously does *not* come
> with the alleged *full* install of BIRT, so I had to download the
> "charts only" zip. Anyway, I appreciate the help, but a little more
> would be, well, helpful.
>
> Thanks,
> Keith
Okay, I managed to delete my imported plugin and then checked out the
proper (I hope) version from CVS. It now tries to run the class
(SwtChartViewerSelector) but I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
swt-win32-3136 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at
org.eclipse.birt.chart.device.swt.SwtDisplayServer.<init>(SwtDisplayServer.java:79)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
at
org.eclipse.birt.chart.util.PluginSettings.getDisplayServer( PluginSettings.java:471)
at
org.eclipse.birt.chart.device.swt.SwtRendererImpl.<init>(SwtRendererImpl.java:115)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
at
org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:403)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:161)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:79)
|
|
|
Re: How to run the chart examples [message #151308 is a reply to message #151233] |
Thu, 06 April 2006 03:08   |
Eclipse User |
|
|
|
So that would be the "New" button. I use Eclipse 3.2, maybe this UI was
slightly modified. So first select Java Application in the tree, and then
click on New.
Regarding your other comment, do you think it makes more sense to ship the
chart examples with the main BIRT package, rather than only in the chart
package?
I think the way you installed the plugin looks fine, that shouldn't be the
problem. Is it recognized as a Java Project? (there is a small J on the
project icon)
Thanks,
David
"Keith McQueen" <kmcqueen@tsccos.com> wrote in message
news:e118kb$ue0$1@utils.eclipse.org...
> David Michonneau wrote:
>> Select the class you want to run in the Package Explorer of Eclipse.
>> Click on Run... in the Run menu
>> Select Java Application in the tree on the left
>> Click on the first icon on the toolbar over the tree (with a + in it)
>> This should automatically fill the Main class (otherwise you can click
>> search and it will show a list of main classes to choose from)
>> Go to Arguments tab and set your arguments
>> Click on Run
>>
>> Let me know if you have any further question,
>>
>> Thanks,
>>
>> David
>>
>> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
>> news:e116du$np5$1@utils.eclipse.org...
>>
>>>Keith McQueen wrote:
>>>
>>>>Okay, I've looked a bit at the newsgroup and I have looked at the
>>>>readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>>>>plugin, but it still isn't really clear to me *how* to run the examples.
>>>>It gives some instruction for the VM arguments, but it doesn't say *how*
>>>>to run them. I would like to just run the exampls from Eclipse (3.1.1)
>>>>but I'm not sure how. If anyone could give some pointers, I would very
>>>>much appreciate it.
>>>>
>>>>Thanks,
>>>>Keith
>>>
>>>
>>>Okay, so I discovered that some of the classes have a public static void
>>>main(String[] args) method, but Eclipse still doesn't want to run them.
>>>It doesn't seem to be able to tell that there are any main types in the
>>>project.
>>
>>
>>
>
> I have no toolbar over the tree, just a New button and a Delete button.
> When I right click the class and choose Run As > ... I only have options
> for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem to want to
> recognize that there is a main() there. I installed the
> ....chart.examples plugin from the .zip file for the standalone charts. I
> then imported it into my workspace using the Import > External Plugins and
> Fragments selecting to import Projects with source folders. Is this part
> of my problem? There were not any instructions anywhere (that I noticed)
> that tell me how to install the chart examples. I saw that there was a
> plugin with examples which fortuitously does *not* come with the alleged
> *full* install of BIRT, so I had to download the "charts only" zip.
> Anyway, I appreciate the help, but a little more would be, well, helpful.
>
> Thanks,
> Keith
|
|
|
Re: How to run the chart examples [message #151323 is a reply to message #151258] |
Thu, 06 April 2006 03:14   |
Eclipse User |
|
|
|
Ok, so for SWT code, there are two choices:
1- You need to copy the swt libs in your environment path.
These are the swt*.dll files, I think there are four of them. This is a
requirement for running SWT-based code. If you use windows, you can copy
them under windows directory for instance.
2- Alternatively you can choose "SWT application" instead of "Java
Application" in the Run tree. This should automatically find the SWT libs.
Thanks,
David
"Keith McQueen" <kmcqueen@tsccos.com> wrote in message
news:e11hvn$2h1$1@utils.eclipse.org...
> Keith McQueen wrote:
>> David Michonneau wrote:
>>
>>> Select the class you want to run in the Package Explorer of Eclipse.
>>> Click on Run... in the Run menu
>>> Select Java Application in the tree on the left
>>> Click on the first icon on the toolbar over the tree (with a + in it)
>>> This should automatically fill the Main class (otherwise you can click
>>> search and it will show a list of main classes to choose from)
>>> Go to Arguments tab and set your arguments
>>> Click on Run
>>>
>>> Let me know if you have any further question,
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
>>> news:e116du$np5$1@utils.eclipse.org...
>>>
>>>> Keith McQueen wrote:
>>>>
>>>>> Okay, I've looked a bit at the newsgroup and I have looked at the
>>>>> readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>>>>> plugin, but it still isn't really clear to me *how* to run the
>>>>> examples. It gives some instruction for the VM arguments, but it
>>>>> doesn't say *how* to run them. I would like to just run the exampls
>>>>> from Eclipse (3.1.1) but I'm not sure how. If anyone could give some
>>>>> pointers, I would very much appreciate it.
>>>>>
>>>>> Thanks,
>>>>> Keith
>>>>
>>>>
>>>>
>>>> Okay, so I discovered that some of the classes have a public static
>>>> void main(String[] args) method, but Eclipse still doesn't want to run
>>>> them. It doesn't seem to be able to tell that there are any main types
>>>> in the project.
>>>
>>>
>>>
>>>
>>
>> I have no toolbar over the tree, just a New button and a Delete button.
>> When I right click the class and choose Run As > ... I only have options
>> for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem to want
>> to recognize that there is a main() there. I installed the
>> ....chart.examples plugin from the .zip file for the standalone charts. I
>> then imported it into my workspace using the Import > External Plugins
>> and Fragments selecting to import Projects with source folders. Is this
>> part of my problem? There were not any instructions anywhere (that I
>> noticed) that tell me how to install the chart examples. I saw that
>> there was a plugin with examples which fortuitously does *not* come with
>> the alleged *full* install of BIRT, so I had to download the "charts
>> only" zip. Anyway, I appreciate the help, but a little more would be,
>> well, helpful.
>>
>> Thanks,
>> Keith
>
> Okay, I managed to delete my imported plugin and then checked out the
> proper (I hope) version from CVS. It now tries to run the class
> (SwtChartViewerSelector) but I get the following error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> swt-win32-3136 in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
> at java.lang.Runtime.loadLibrary0(Runtime.java:822)
> at java.lang.System.loadLibrary(System.java:992)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
> at
> org.eclipse.birt.chart.device.swt.SwtDisplayServer.<init>(SwtDisplayServer.java:79)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
> at
> org.eclipse.birt.chart.util.PluginSettings.getDisplayServer( PluginSettings.java:471)
> at
> org.eclipse.birt.chart.device.swt.SwtRendererImpl.<init>(SwtRendererImpl.java:115)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
> at
> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:403)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:161)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:79)
|
|
|
Re: How to run the chart examples [message #151569 is a reply to message #151323] |
Thu, 06 April 2006 12:25   |
Eclipse User |
|
|
|
David Michonneau wrote:
> Ok, so for SWT code, there are two choices:
>
> 1- You need to copy the swt libs in your environment path.
> These are the swt*.dll files, I think there are four of them. This is a
> requirement for running SWT-based code. If you use windows, you can copy
> them under windows directory for instance.
>
> 2- Alternatively you can choose "SWT application" instead of "Java
> Application" in the Run tree. This should automatically find the SWT libs.
>
> Thanks,
>
> David
>
> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
> news:e11hvn$2h1$1@utils.eclipse.org...
>
>>Keith McQueen wrote:
>>
>>>David Michonneau wrote:
>>>
>>>
>>>>Select the class you want to run in the Package Explorer of Eclipse.
>>>>Click on Run... in the Run menu
>>>>Select Java Application in the tree on the left
>>>>Click on the first icon on the toolbar over the tree (with a + in it)
>>>>This should automatically fill the Main class (otherwise you can click
>>>>search and it will show a list of main classes to choose from)
>>>>Go to Arguments tab and set your arguments
>>>>Click on Run
>>>>
>>>>Let me know if you have any further question,
>>>>
>>>>Thanks,
>>>>
>>>>David
>>>>
>>>>"Keith McQueen" <kmcqueen@tsccos.com> wrote in message
>>>>news:e116du$np5$1@utils.eclipse.org...
>>>>
>>>>
>>>>>Keith McQueen wrote:
>>>>>
>>>>>
>>>>>>Okay, I've looked a bit at the newsgroup and I have looked at the
>>>>>>readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>>>>>>plugin, but it still isn't really clear to me *how* to run the
>>>>>>examples. It gives some instruction for the VM arguments, but it
>>>>>>doesn't say *how* to run them. I would like to just run the exampls
>>>>>>from Eclipse (3.1.1) but I'm not sure how. If anyone could give some
>>>>>>pointers, I would very much appreciate it.
>>>>>>
>>>>>>Thanks,
>>>>>>Keith
>>>>>
>>>>>
>>>>>
>>>>>Okay, so I discovered that some of the classes have a public static
>>>>>void main(String[] args) method, but Eclipse still doesn't want to run
>>>>>them. It doesn't seem to be able to tell that there are any main types
>>>>>in the project.
>>>>
>>>>
>>>>
>>>>
>>>I have no toolbar over the tree, just a New button and a Delete button.
>>>When I right click the class and choose Run As > ... I only have options
>>>for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem to want
>>>to recognize that there is a main() there. I installed the
>>>....chart.examples plugin from the .zip file for the standalone charts. I
>>>then imported it into my workspace using the Import > External Plugins
>>>and Fragments selecting to import Projects with source folders. Is this
>>>part of my problem? There were not any instructions anywhere (that I
>>>noticed) that tell me how to install the chart examples. I saw that
>>>there was a plugin with examples which fortuitously does *not* come with
>>>the alleged *full* install of BIRT, so I had to download the "charts
>>>only" zip. Anyway, I appreciate the help, but a little more would be,
>>>well, helpful.
>>>
>>>Thanks,
>>>Keith
>>
>>Okay, I managed to delete my imported plugin and then checked out the
>>proper (I hope) version from CVS. It now tries to run the class
>>(SwtChartViewerSelector) but I get the following error:
>>
>>Exception in thread "main" java.lang.UnsatisfiedLinkError: no
>>swt-win32-3136 in java.library.path
>>at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>>at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>>at java.lang.System.loadLibrary(System.java:992)
>>at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
>>at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
>>at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
>>at
>>org.eclipse.birt.chart.device.swt.SwtDisplayServer.<init>(SwtDisplayServer.java:79)
>>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>>at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>>at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>>at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>>at java.lang.Class.newInstance0(Class.java:350)
>>at java.lang.Class.newInstance(Class.java:303)
>>at
>> org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
>>at
>> org.eclipse.birt.chart.util.PluginSettings.getDisplayServer( PluginSettings.java:471)
>>at
>>org.eclipse.birt.chart.device.swt.SwtRendererImpl.<init>(SwtRendererImpl.java:115)
>>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
>>at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>>at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>>at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>>at java.lang.Class.newInstance0(Class.java:350)
>>at java.lang.Class.newInstance(Class.java:303)
>>at
>> org.eclipse.birt.chart.util.PluginSettings.newInstance(Plugi nSettings.java:708)
>>at
>> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:403)
>>at
>> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:161)
>>at
>> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:79)
>
>
>
Thank you for the help. That seemed to do the trick.
|
|
|
Re: How to run the chart examples [message #151595 is a reply to message #151308] |
Thu, 06 April 2006 12:33  |
Eclipse User |
|
|
|
David Michonneau wrote:
> So that would be the "New" button. I use Eclipse 3.2, maybe this UI was
> slightly modified. So first select Java Application in the tree, and then
> click on New.
>
> Regarding your other comment, do you think it makes more sense to ship the
> chart examples with the main BIRT package, rather than only in the chart
> package?
>
> I think the way you installed the plugin looks fine, that shouldn't be the
> problem. Is it recognized as a Java Project? (there is a small J on the
> project icon)
>
> Thanks,
>
> David
>
>
> "Keith McQueen" <kmcqueen@tsccos.com> wrote in message
> news:e118kb$ue0$1@utils.eclipse.org...
>
>>David Michonneau wrote:
>>
>>>Select the class you want to run in the Package Explorer of Eclipse.
>>>Click on Run... in the Run menu
>>>Select Java Application in the tree on the left
>>>Click on the first icon on the toolbar over the tree (with a + in it)
>>>This should automatically fill the Main class (otherwise you can click
>>>search and it will show a list of main classes to choose from)
>>>Go to Arguments tab and set your arguments
>>>Click on Run
>>>
>>>Let me know if you have any further question,
>>>
>>>Thanks,
>>>
>>>David
>>>
>>>"Keith McQueen" <kmcqueen@tsccos.com> wrote in message
>>>news:e116du$np5$1@utils.eclipse.org...
>>>
>>>
>>>>Keith McQueen wrote:
>>>>
>>>>
>>>>>Okay, I've looked a bit at the newsgroup and I have looked at the
>>>>>readme.html that comes with the org.eclipse.birt.chart.examples_2.0.1
>>>>>plugin, but it still isn't really clear to me *how* to run the examples.
>>>>>It gives some instruction for the VM arguments, but it doesn't say *how*
>>>>>to run them. I would like to just run the exampls from Eclipse (3.1.1)
>>>>>but I'm not sure how. If anyone could give some pointers, I would very
>>>>>much appreciate it.
>>>>>
>>>>>Thanks,
>>>>>Keith
>>>>
>>>>
>>>>Okay, so I discovered that some of the classes have a public static void
>>>>main(String[] args) method, but Eclipse still doesn't want to run them.
>>>>It doesn't seem to be able to tell that there are any main types in the
>>>>project.
>>>
>>>
>>>
>>I have no toolbar over the tree, just a New button and a Delete button.
>>When I right click the class and choose Run As > ... I only have options
>>for JUnit Plugin Test or JUnit Test. Eclipse just doesn't seem to want to
>>recognize that there is a main() there. I installed the
>>....chart.examples plugin from the .zip file for the standalone charts. I
>>then imported it into my workspace using the Import > External Plugins and
>>Fragments selecting to import Projects with source folders. Is this part
>>of my problem? There were not any instructions anywhere (that I noticed)
>>that tell me how to install the chart examples. I saw that there was a
>>plugin with examples which fortuitously does *not* come with the alleged
>>*full* install of BIRT, so I had to download the "charts only" zip.
>>Anyway, I appreciate the help, but a little more would be, well, helpful.
>>
>>Thanks,
>>Keith
>
>
>
I think the examples ought to be shipped where they make sense. They
should be included with the charts, wherever the charts are included.
If the charts are included with BIRT, then the examples ought to be
included as well.
Please excuse my ranting and raving. I'm sure I don't mean to be rude,
I guess I just felt like the whole installation process is a bit of a
mess (to me). It would have been much easier (for me, but also probably
for others) to just go to the Software Updates and Search for new
features to install, then pick BIRT, Charts, Chart examples, etc. I
guess I feel like Eclipse has this terrific built in feature that
doesn't seem to be used nearly enough. I don't know all the reasons why
it doesn't get used more often, but it just seems like it would be a
good idea. I suppose my real gripe is just that the installation
instructions are vague and ambiguous and leave the user to wander in the
dark by him/herself for a while. At least we have the newsgroups where
we can get helpful tips from people (like you) who are patient with
freaks (like me).
|
|
|
Goto Forum:
Current Time: Wed May 28 14:01:22 EDT 2025
Powered by FUDForum. Page generated in 0.08462 seconds
|