Re: Non *.java files as java acociation in Eclipse
- From: Roland de Ruiter <roland.de.ruiter@xxxxxxxxxxxxxxx>
- Date: Wed, 02 Aug 2006 14:48:43 +0200
On 2-8-2006 14:02, sarsonj@xxxxxxxxx wrote:
Hi Roland,
thank you for reply - this helps with editors, thank you. But there is
still problem, that for example package explorer didn't think, this is
Java file and didn't work with this as a Java class. For example, it
doesn't compile automaticaly and I cannot find it using Class browser
etc. Is there any sollution to tell Eclipse, that is shlould handle
this files as regular Java?
I don't think that is possible with Eclipse (at least not without some custom written plugin). Couldn't find it mentioned in the JLS (Java Language Specification), but the commandline compiler (javac) mandates that Java source files have .java suffixes (see <http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html>). Eclipse probably follows this convention.
What is the reason that you cannot just have *.java file names?
--
Regards,
Roland
.
- Follow-Ups:
- Re: Non *.java files as java acociation in Eclipse
- From: sarsonj
- Re: Non *.java files as java acociation in Eclipse
- References:
- Non *.java files as java acociation in Eclipse
- From: sarsonj
- Re: Non *.java files as java acociation in Eclipse
- From: Roland de Ruiter
- Re: Non *.java files as java acociation in Eclipse
- From: sarsonj
- Non *.java files as java acociation in Eclipse
- Prev by Date: Re: Non *.java files as java acociation in Eclipse
- Next by Date: Re: Non *.java files as java acociation in Eclipse
- Previous by thread: Re: Non *.java files as java acociation in Eclipse
- Next by thread: Re: Non *.java files as java acociation in Eclipse
- Index(es):
Relevant Pages
|
|