|
Re: How to have a project with multiple source file types? [message #118689 is a reply to message #118502] |
Mon, 21 November 2005 18:57 |
Eclipse User |
|
|
|
Originally posted by: eclipse3.rizzoweb.com
David Karr wrote:
> I created a new project from an existing Ant build file. This works
> fine for the Java source files, but my project has other source files of
> other types, like XML or properties files. I don't see how I can
> specify those other files to be in my project, and how I can view and
> edit them.
>
The files live somewhere in your project directory structure, right? As
long as you have a plugin that can handle them, you should be able to
just open them and Eclipse will pick the right editor (you can go to
Preferences > General > Editors > File Associations to configure the
editors and file extensions).
Eclipse comes with, obviously, plugins that handle "standard" file types
like Java source, Ant scripts, and others. You'll want to get the Web
Tools plugins (http://www.eclipse.org/webtools) to handle more files
like XML, JSP, etc.
HTH,
Eric
|
|
|
Re: How to have a project with multiple source file types? [message #118713 is a reply to message #118689] |
Mon, 21 November 2005 19:14 |
David M. Karr Messages: 143 Registered: July 2009 |
Senior Member |
|
|
Eric Rizzo wrote:
> David Karr wrote:
>> I created a new project from an existing Ant build file. This works
>> fine for the Java source files, but my project has other source files of
>> other types, like XML or properties files. I don't see how I can
>> specify those other files to be in my project, and how I can view and
>> edit them.
>>
> The files live somewhere in your project directory structure, right? As
> long as you have a plugin that can handle them, you should be able to
> just open them and Eclipse will pick the right editor (you can go to
> Preferences > General > Editors > File Associations to configure the
> editors and file extensions).
> Eclipse comes with, obviously, plugins that handle "standard" file types
> like Java source, Ant scripts, and others. You'll want to get the Web
> Tools plugins (http://www.eclipse.org/webtools) to handle more files
> like XML, JSP, etc.
This gets to the root of the other problem I'm having. I started with an
existing application directory tree. When I started Eclipse, it asked me
to specify the root of my workspaces tree. I then created a project "from
an existing build.xml". As a result, my project directory tree is not my
application directory tree.
How am I supposed to deal with applications that I want to be buildable
and usable from outside of Eclipse?
|
|
|
|
Powered by
FUDForum. Page generated in 0.06020 seconds