Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » html files
html files [message #192287] Tue, 06 February 2007 19:52 Go to next message
Eclipse UserFriend
Originally posted by: emf.NOSPAM.email.com

How does eclipse handle html files? Specifically:

Should I include them in the same package folder or in the project
folder to where the package belongs?

How do I create an html file inside eclipse? Should I open New > File?

How do I edit an html file in eclipse? Is Open With > Text Editor that I
have used the best way?

Thanks,

Eustace
Re: html files [message #192317 is a reply to message #192287] Tue, 06 February 2007 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------020405050000030909070002
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 7bit

Eustace,

For EMF we put files like package.html in the appropriate package under
the "src" folder along with the .java files:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/plu gins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/?root=T ools_Project

I believe the web tools project, http://www.eclipse.org/webtools/
provides an HTML editor, but I've not used that. Failing that, the text
editor or an external HTML editor will have to suffice.


Eustace wrote:
> How does eclipse handle html files? Specifically:
>
> Should I include them in the same package folder or in the project
> folder to where the package belongs?
>
> How do I create an html file inside eclipse? Should I open New > File?
>
> How do I edit an html file in eclipse? Is Open With > Text Editor that
> I have used the best way?
>
> Thanks,
>
> Eustace
>
>


--------------020405050000030909070002
Content-Type: text/html; charset=ISO-8859-7
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-7" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eustace,<br>
<br>
For EMF we put files like package.html in the appropriate package under
the "src" folder along with the .java files:<br>
<blockquote><a
href=" http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/plu gins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/?root=T ools_Project"> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/plu gins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/?root=T ools_Project</a><br>
</blockquote>
I believe the web tools project, <a
href="http://www.eclipse.org/webtools/">http://www.eclipse.org/webtools/</a>
provides an HTML editor, but I've not used that.
Re: html files [message #192529 is a reply to message #192317] Wed, 07 February 2007 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: emf.NOSPAM.email.com

Dear Ed.

Thanks for your reply.

On 2007.02.06 15:05 Ed Merks wrote:
> Eustace,
>
> For EMF we put files like package.html in the appropriate package under
> the "src" folder along with the .java files:

In an eclipse paperback I did see that you can assign separate folders
for .java and .class files, but I haven't applied that yet. Until I do,
I suppose I'll keep the .html files together with the .java and .class
ones in the same package folder.

>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/plu gins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/?root=T ools_Project

Wow! I really could not make out what this webpage is about. No text, no
explanation of what's going on... But I am sure it makes good sense for
the developers. If only some of them would apply themselves to
simplifying the whole project to make it more user-friendly... To an
outsider the whole project seems more oriented toward the developer
rather than toward the user.

>
> I believe the web tools project, http://www.eclipse.org/webtools/
> provides an HTML editor, but I've not used that. Failing that, the text
> editor or an external HTML editor will have to suffice.
>
Good to know that there is a html editor, but at this point I would
rather not start adding new elements is eclipse - it is complicated
enough as it is. For now and until I feel more at home with eclipse, I
can use the text editor for simple html files and Nvu for more complex ones.

>
> Eustace wrote:
>> How does eclipse handle html files? Specifically:
>>
>> Should I include them in the same package folder or in the project
>> folder to where the package belongs?
>>
>> How do I create an html file inside eclipse? Should I open New > File?
>>
>> How do I edit an html file in eclipse? Is Open With > Text Editor that
>> I have used the best way?
>>
>> Thanks,
>>
>> Eustace
>>
>>
>
Re: html files [message #192544 is a reply to message #192529] Wed, 07 February 2007 16:38 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Eustace,

Comments below.

Eustace wrote:
> Dear Ed.
>
> Thanks for your reply.
>
> On 2007.02.06 15:05 Ed Merks wrote:
>> Eustace,
>>
>> For EMF we put files like package.html in the appropriate package
>> under the "src" folder along with the .java files:
>
> In an eclipse paperback I did see that you can assign separate folders
> for .java and .class files, but I haven't applied that yet. Until I
> do, I suppose I'll keep the .html files together with the .java and
> .class ones in the same package folder.
Even if you set things up so that generated .class files are in a
separate folder, I'm pretty sure you'll still want to keep the javadoc
HTML files in the same folder as the .java files.
>
>>
>>
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/plu gins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/?root=T ools_Project
>>
>
> Wow! I really could not make out what this webpage is about. No text,
> no explanation of what's going on... But I am sure it makes good sense
> for the developers.
It's just a simple web interface to a CVS repository. All Eclipse
source code is accessible in this way.
> If only some of them would apply themselves to simplifying the whole
> project to make it more user-friendly...
Simplicity is in the eye of the beholder and is a moving target. I
would assert the following. With respect to any particular technology,
people will fall into one of two camps: Those who don't yet understand
it, and want it to be simpler. And those who do already understand it,
and want more and more and more... This is a never ending battle.
Adding more capabilities will not ever be a simplification.
> To an outsider the whole project seems more oriented toward the
> developer rather than toward the user.
It sounds though like you are a developer... The real problem, I think,
is that the people doing the work are developers and don't have time
left to write lots of nice high-level documentation. (And of course
users don't tend to read the documentation anyway, they just show up
with questions.)
>
>>
>> I believe the web tools project, http://www.eclipse.org/webtools/
>> provides an HTML editor, but I've not used that. Failing that, the
>> text editor or an external HTML editor will have to suffice.
>>
> Good to know that there is a html editor, but at this point I would
> rather not start adding new elements is eclipse - it is complicated
> enough as it is. For now and until I feel more at home with eclipse, I
> can use the text editor for simple html files and Nvu for more complex
> ones.
Yes, WTP is a pretty big thing to install if all you want is HTML editing.
>
>>
>> Eustace wrote:
>>> How does eclipse handle html files? Specifically:
>>>
>>> Should I include them in the same package folder or in the project
>>> folder to where the package belongs?
>>>
>>> How do I create an html file inside eclipse? Should I open New > File?
>>>
>>> How do I edit an html file in eclipse? Is Open With > Text Editor
>>> that I have used the best way?
>>>
>>> Thanks,
>>>
>>> Eustace
>>>
>>>
>>
Previous Topic:How to have a personal Eclipse config file with company's Eclipse installation?
Next Topic:Why I didn't get manifest file after using ant build jar?
Goto Forum:
  


Current Time: Wed Apr 24 23:32:52 GMT 2024

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

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

Back to the top