Include SWT/JavaDoc, Export jar file of project [message #245991] |
Fri, 18 January 2008 21:09  |
Eclipse User |
|
|
|
Hi,
I've installed SWT from http://www.eclipse.org/swt/ in a projects subdirectory
added in Project / Properties / Java Build Path / Libraries and it works.
However I'm wondering how can enjoy the direct linking of SWT classes/methods
to their javadoc documentation? Where can I download the JavaDoc for SWT
locally and where to I have to put it so I can access it from within PHP?
I was also able to successfully export a JAR file, but I've to go through the
dialog all the time when I right click on a project and select Export / Jar
File. I've to select the resources every time. Is there a way to create a
process how to build the jar when desired, much like an ant build file?
I'm using Eclipse from eclipse-java-europa-fall2-win32.zip .
thanks,
- Markus
|
|
|
|
Re: Include SWT/JavaDoc, Export jar file of project [message #246226 is a reply to message #246021] |
Mon, 21 January 2008 18:24   |
Eclipse User |
|
|
|
Hi,
kiril mitov wrote:
> Right Click on the Project->Build Path->Configure Build Path->Go to the
> Libraries Tab->Add Variable->Select ECLIPSE_HOME->Extend...->Chose
> plugins/org.eclipse.swt*.jar and click ok. This will add the
> org.eclipse.swt jars from you eclipse installation to the build path.
I'm failing to achive this, I don't have ECLIPSE_HOME in there, just JRE_LIB,
JRE_SRC, JRE_SRCROOT and JUNIT_HOME (though I didn't set the myself in any way).
> In my case I have org.eclipse.swt, org.eclipse.swt.gkt.linux.x86 and
> org.eclipse.swt.gtk.linux.x86.source.
I've only the files org.eclipse.swt.win32.win32.x86_3.3.2.v3347a.jar (~2MB)
and org.eclipse.swt_3.3.2.v3347.jar (16kb) there.
> The other way is simply to add the above libraries not through
> EClIPSE_HOME variable, but as external jars.
I tried this, in fact I've a single swt.jar already attached to the project to
even be able to build this.
>
> I am not sure if eclipse-java-europa-fall2-win32.zip contains the source
> of swt.
I think that's the real source of my confusion :) Where do I get the source of
SWT? I managed to get the binary from http://www.eclipse.org/swt/ but I can't
see the sources linked. And I can't figure out where to download the JavaDOC
and link it within eclipse :-/
>> the JavaDoc for SWT locally and where to I have to put it so I can
>> access it from within PHP?
> Not sure about this one. What do you mean by access it from within PHP?
Sorry, my bad, I tried to do many things at the same time :) PHP should read
"Eclipse". It's the question, once I've the JavaDoc API of SWT (which I don't
know yet where to get from), where to put it it so I can use it from within
Eclipse.
Or would I just need the sources and get the complete documentation automatically?
thank you,
- Markus
|
|
|
Re: Include SWT/JavaDoc, Export jar file of project [message #246633 is a reply to message #246226] |
Thu, 24 January 2008 03:03  |
Eclipse User |
|
|
|
Hi Markus,
Go to eclipse.org->downloads->eclipse Classics 3.3.1.1 All
Versions->3.3.1.1.
You should then be at
http://download.eclipse.org/eclipse/downloads/drops/R-3.3.1. 1-200710231652/index.php
Scroll down the page and see the "SWT Binary and Source" section. This
is where you can download the source of SWT.
If you would like to see the JavaDoc of SWT open your eclipse and go to
Help->Help Contents->Platform Plugin Developer Guide->Reference->API
Reference. There you should see the org.eclipse.swt packages and classes.
Best Regards,
Kiril
Markus Fischer wrote:
> Hi,
>
> kiril mitov wrote:
>> Right Click on the Project->Build Path->Configure Build Path->Go to the
>> Libraries Tab->Add Variable->Select ECLIPSE_HOME->Extend...->Chose
>> plugins/org.eclipse.swt*.jar and click ok. This will add the
>> org.eclipse.swt jars from you eclipse installation to the build path.
>
> I'm failing to achive this, I don't have ECLIPSE_HOME in there, just
> JRE_LIB, JRE_SRC, JRE_SRCROOT and JUNIT_HOME (though I didn't set the
> myself in any way).
>
>> In my case I have org.eclipse.swt, org.eclipse.swt.gkt.linux.x86 and
>> org.eclipse.swt.gtk.linux.x86.source.
>
> I've only the files org.eclipse.swt.win32.win32.x86_3.3.2.v3347a.jar
> (~2MB) and org.eclipse.swt_3.3.2.v3347.jar (16kb) there.
>
>> The other way is simply to add the above libraries not through
>> EClIPSE_HOME variable, but as external jars.
>
> I tried this, in fact I've a single swt.jar already attached to the
> project to even be able to build this.
>
>>
>> I am not sure if eclipse-java-europa-fall2-win32.zip contains the source
>> of swt.
>
> I think that's the real source of my confusion :) Where do I get the
> source of SWT? I managed to get the binary from
> http://www.eclipse.org/swt/ but I can't see the sources linked. And I
> can't figure out where to download the JavaDOC and link it within
> eclipse :-/
>
>
>>> the JavaDoc for SWT locally and where to I have to put it so I can
>>> access it from within PHP?
>> Not sure about this one. What do you mean by access it from within PHP?
>
> Sorry, my bad, I tried to do many things at the same time :) PHP should
> read "Eclipse". It's the question, once I've the JavaDoc API of SWT
> (which I don't know yet where to get from), where to put it it so I can
> use it from within Eclipse.
>
> Or would I just need the sources and get the complete documentation
> automatically?
>
> thank you,
> - Markus
|
|
|
Powered by
FUDForum. Page generated in 0.09626 seconds