Creating your first Java project [message #6662] |
Wed, 19 January 2005 10:37 |
Eclipse User |
|
|
|
Originally posted by: darren.holloway.macro4.com
Hi There
I am new to Eclipse and have been working through the 'Help', 'Getting
Started', 'Basic Tutorial'.
I have a problem following the help text in the section 'Creating your first
Java project', it suggests I download the 'Sample Code Junit' . I have
followed the instructions to the letter and have also tried other download
sites. The version of Eclipse I am using is 3.0.1 although I have tried the
downloads for 3.0.0 as well.
The problem occurs when I download the Zip file 'Example Plug-ins', I
download the correct file and then use Eclipse to open (import) the Zip
file. The help text says I should open the zip file and find
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/junit381src.jar.
All of which I do, I then click Finish and return to Eclipse main display.
If I open the section I have just imported from the zip file I see the
following folders...
- Archive
- Doc-html
- Icons
The help text says I should see the following
- Awtui
- Extensions
- Framework
- Runner
- Samples
- Swingui
- Textui
There my problem lies, I do hope this makes sense. I can not continue with
the tutorial as if refers to folders that should have been downloaded.
Either I have made an error downloading the wrong Zip file, as mentioned I
have tried this for different version and from differnet sites. Or the zip
file itself is incorrect, or the help text is wrong ?
I would be VERY grateful for some help and advice for which way to progress
from here.
Many thanks in advance for all your help.
Darren
|
|
|
Re: Creating your first Java project [message #27471 is a reply to message #6662] |
Fri, 11 February 2005 01:29 |
Eclipse User |
|
|
|
Originally posted by: gilberto.peres.gmail.com
Let's see the Tutorial text:
Getting the Sample Code (JUnit)
First you need to download the JUnit source code.
1. Go to the http://www.eclipse.org/downloads/ page and locate the release
that you are working with.
2. Scroll down to the Example Plug-ins section and download the examples
archive.
3. Extract the contents of the Zip file to a directory from now on
referenced as <ExamplesDownloadPath> (e.g. c:\myDownloads).
Follow step 3:
-Create a new directory (e.g. c:\myDownloads)
-Extract the contents of the Zip file in the directory created above
-Choose Import...Zip File and find the file
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
it381src.jar inside the directory created above, instead inside the zip
file.
It worked for me... I have made the same mistake (LOL)
I wait it helps.
Regards,
Gilberto Peres
"Darren Holloway" <darren.holloway@macro4.com> escreveu na mensagem
news:cslda3$knt$1@www.eclipse.org...
> Hi There
>
> I am new to Eclipse and have been working through the 'Help', 'Getting
> Started', 'Basic Tutorial'.
>
> I have a problem following the help text in the section 'Creating your
first
> Java project', it suggests I download the 'Sample Code Junit' . I have
> followed the instructions to the letter and have also tried other download
> sites. The version of Eclipse I am using is 3.0.1 although I have tried
the
> downloads for 3.0.0 as well.
>
> The problem occurs when I download the Zip file 'Example Plug-ins', I
> download the correct file and then use Eclipse to open (import) the Zip
> file. The help text says I should open the zip file and find
>
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/jun
it381src.jar.
> All of which I do, I then click Finish and return to Eclipse main display.
>
> If I open the section I have just imported from the zip file I see the
> following folders...
>
> - Archive
> - Doc-html
> - Icons
>
> The help text says I should see the following
>
> - Awtui
> - Extensions
> - Framework
> - Runner
> - Samples
> - Swingui
> - Textui
>
> There my problem lies, I do hope this makes sense. I can not continue
with
> the tutorial as if refers to folders that should have been downloaded.
>
> Either I have made an error downloading the wrong Zip file, as mentioned I
> have tried this for different version and from differnet sites. Or the
zip
> file itself is incorrect, or the help text is wrong ?
>
> I would be VERY grateful for some help and advice for which way to
progress
> from here.
>
> Many thanks in advance for all your help.
>
> Darren
>
>
|
|
|
|
|
|
Re: "spaces instead of tabs" not working in Java Editor [message #28663 is a reply to message #28661] |
Mon, 21 February 2005 22:37 |
Glen Mazza Messages: 4 Registered: July 2009 |
Junior Member |
|
|
OK, this problem I also just fixed. In Preferences | Java | Editor --
Typing tab, there is an "Insert Spaces for Tab" option that must also be
selected for spaces to be used during Smart Insert mode. Unlike JEdit,
though, Eclipse will apparently always insert a tab if I manually press the
Tab key.
Glen
"Glen Mazza" <grm7793@yahoo.com> wrote in message
news:cvdn5p$gj7$1@www.eclipse.org...
> Hello,
>
> I can't seem to get Eclipse to use spaces instead of tabs in the Java
> Editor. From Window | Preferences | Java | Code Style | Code Formatter -
> Indentation tab, the default is four spaces with "Use tab character"
> unchecked. This default is indeed what I want, but when I am editing a
Java
> file, Eclipse still uses a tab character (instead of four spaces) every
time
> I press the tab key.
>
> Any idea what's going wrong? My project doesn't allow for tabs--I need to
> use spaces.
>
> Thanks,
> Glen
>
>
|
|
|
|
Re: Creating your first Java project [message #1780388 is a reply to message #6662] |
Mon, 22 January 2018 05:51 |
Terri Furness Messages: 2 Registered: January 2018 |
Junior Member |
|
|
Eclipse User wrote on Wed, 19 January 2005 10:37Originally posted by: darren.holloway.macro4.com
Hi There
I am new to Eclipse and have been working through the 'Help', 'Getting
Started', 'Basic Tutorial'.
I have a problem following the help text in the section 'Creating your first
Java project', it suggests I download the 'Sample Code Junit' . I have
followed the instructions to the letter and have also tried other download
sites. The version of Eclipse I am using is 3.0.1 although I have tried the
downloads for 3.0.0 as well.
The problem occurs when I download the Zip file 'Example Plug-ins', I
download the correct file and then use Eclipse to open (import) the Zip
file. The help text says I should open the zip file and find
eclipse/plugins/org.eclipse.jdt.ui.examples.projects_3.0.0/a rchive/junit/junit381src.jar.
All of which I do, I then click Finish and return to Eclipse main display.
If I open the section I have just imported from the zip file I see the
following folders...
- Archive
- Doc-html
- Icons
The help text says I should see the following
- Awtui
- Extensions
- Framework
- Runner
- Samples
- Swingui
- Textui
There my problem lies, I do hope this makes sense. I can not continue with
the tutorial as if refers to folders that should have been downloaded.
Either I have made an error downloading the wrong Zip file, as mentioned I
have tried this for different version and from differnet sites. Or the zip
file itself is incorrect, or the help text is wrong ?
I would be VERY grateful for some help and advice for which way to progress
from here.
Many thanks in advance for all your help.
Darren
Hi - am having the same problem - really cannot find junit381src.jar
to download??
Cannot continue with the Tutorial :(
Terri
|
|
|
|
|
Powered by
FUDForum. Page generated in 8.93786 seconds