Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to find 'Create project from existing source' while following SWT Example Help document
icon5.gif  Unable to find 'Create project from existing source' while following SWT Example Help document [message #547877] Tue, 20 July 2010 03:56 Go to next message
Frank is currently offline FrankFriend
Messages: 23
Registered: July 2010
Junior Member
Hi, I got stuck when I'm following the step-by-step documentations of SWT Example.

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/samples/org.eclipse.swt.examples/doc-html/ swt_manual_setup.html

In the 5th step of "Importing example source", it says "Select Create project from existing source and click on the Browse ... ". But actually there is not such option in my Eclipse 3.6 new project wizard.

Can anyone help me out? Thanks.

P.S my ultimate purpose is to start learning the swt example source code.
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #547931 is a reply to message #547877] Tue, 20 July 2010 08:00 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
solotim.cn@gmail.com wrote:
> Hi, I got stuck when I'm following the step-by-step documentations of
> SWT Example.
>
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/samples/org.eclipse.swt.examples/doc-html/ swt_manual_setup.html
>
>
> In the 5th step of "Importing example source", it says "Select Create
> project from existing source and click on the Browse ... ". But
> actually there is not such option in my Eclipse 3.6 new project wizard.
The new Java Project wizard has changed slightly in 3.6: simply uncheck
'Use default location' and point to the location where your source is. I
also filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=320351 to track
the doc update.

Dani
>
> Can anyone help me out? Thanks.
>
> P.S my ultimate purpose is to start learning the swt example source code.
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #547954 is a reply to message #547931] Tue, 20 July 2010 09:24 Go to previous messageGo to next message
Frank is currently offline FrankFriend
Messages: 23
Registered: July 2010
Junior Member
Thank you.
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #548801 is a reply to message #547954] Fri, 23 July 2010 06:47 Go to previous messageGo to next message
Frank is currently offline FrankFriend
Messages: 23
Registered: July 2010
Junior Member
I'm somewhat frustrated.
I followed the instrument and installed both Eclipse SDK Example and Eclipse SDK Example Source. But I really can't find anything even similar like this:

eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or g.eclipse.swt.examples_3.1.0

Only a small jar: org.eclipse.sdk.examples.source_3.1.300.v20100527.jar located on eclipse plugin dir.

Can somebody give me a hint? Thanks

[Updated on: Fri, 23 July 2010 06:49]

Report message to a moderator

Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #549392 is a reply to message #548801] Mon, 26 July 2010 14:29 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 7/23/10 2:47 AM, Frank Tao wrote:
> I'm somewhat frustrated.
> I followed the instrument and installed both Eclipse SDK Example and
> Eclipse SDK Example Source. But I really can't find anything even
> simuliar like this:
>
> eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or
> g.eclipse.swt.examples_3.1.0
>
> Can somebody give me a hint? Thanks
>

It's not clear what you're trying to do or what you're asking. Are you
looking for particular example source code? If so, see here:
http://www.eclipse.org/swt/examples.php

Eric
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #549515 is a reply to message #549392] Tue, 27 July 2010 02:38 Go to previous messageGo to next message
Frank is currently offline FrankFriend
Messages: 23
Registered: July 2010
Junior Member
Eric Rizzo wrote on Mon, 26 July 2010 10:29
On 7/23/10 2:47 AM, Frank Tao wrote:
> I'm somewhat frustrated.
> I followed the instrument and installed both Eclipse SDK Example and
> Eclipse SDK Example Source. But I really can't find anything even
> simuliar like this:
>
> eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or
> g.eclipse.swt.examples_3.1.0
>
> Can somebody give me a hint? Thanks
>

It's not clear what you're trying to do or what you're asking. Are you
looking for particular example source code? If so, see here:
http://www.eclipse.org/swt/examples.php

Eric


My question is that this document says that swt example source code is located in eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or g.eclipse.swt.examples_3.1.0 , but I can't find it. I want to make sure if the document is wrong. If it's right, then what happened in my eclipse installation?

The link given by you is useful, thank you.

[Updated on: Tue, 27 July 2010 02:40]

Report message to a moderator

Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #549670 is a reply to message #549515] Tue, 27 July 2010 13:59 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 7/26/10 10:38 PM, Frank wrote:
> Eric Rizzo wrote on Mon, 26 July 2010 10:29
>> On 7/23/10 2:47 AM, Frank Tao wrote:
>> > I'm somewhat frustrated.
>> > I followed the instrument and installed both Eclipse SDK Example and
>> > Eclipse SDK Example Source. But I really can't find anything even
>> > simuliar like this:
>> >
>> > eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or
>> > g.eclipse.swt.examples_3.1.0
>> >
>> > Can somebody give me a hint? Thanks
>> >
>>
>> It's not clear what you're trying to do or what you're asking. Are you
>> looking for particular example source code? If so, see here:
>> http://www.eclipse.org/swt/examples.php
>>
>> Eric
>
>
> My question is that this
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/samples/org.eclipse.swt.examples/doc-html/ swt_manual_setup.html
> says that swt example source code is located in
> eclipse/plugins/org.eclipse.sdk.examples.source_3.1.0/src/or
> g.eclipse.swt.examples_3.1.0 , but I can't find it.
>
>

It looks like that page is very out of date. Even in the latest release,
the help content is the same. I suggest you look at the page I sent
(http://www.eclipse.org/swt/examples.php) and try again.
If you continue to have problems, try asking on the SWT forum group.

Hope this helps,
Eric
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #677553 is a reply to message #549670] Wed, 08 June 2011 19:54 Go to previous messageGo to next message
afry308 is currently offline afry308Friend
Messages: 4
Registered: June 2011
Junior Member
What was the resolution to this issue? I'm having the same problem- the actual SDK example source code is no where to be found.
Re: Unable to find 'Create project from existing source' while following SWT Example Help document [message #681838 is a reply to message #677553] Thu, 09 June 2011 23:21 Go to previous message
afry308 is currently offline afry308Friend
Messages: 4
Registered: June 2011
Junior Member
After some digging I was able to resolve this. Here's what I did:
Downloaded "Example Plug-ins" and put extracted files in in dropins/sdkexamples directory. For some reason, I couldn't find SDK examples on the update site.
Next, I created a new empty Java project for SWT examples.
Then I went to File -> Import and imported the archive from dropins/plugins (location of the archive file was the key piece of information I was missing):
eclipse/dropins/sdkexamples/plugins/org.eclipse.swt.examples.source_3.4.0.v3659b.jar

sdkexamples is a directory name that I made up.

Hope this helps some one!

[Updated on: Thu, 09 June 2011 23:22]

Report message to a moderator

Previous Topic:Help with Eclipse Helios SR2 for Win x64
Next Topic:Eclipse Keeps Losing My Project
Goto Forum:
  


Current Time: Thu Apr 25 12:48:08 GMT 2024

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

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

Back to the top