|
|
Re: Imports in include files [message #77533 is a reply to message #77490] |
Sun, 27 February 2005 07:53 |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
This is a multi-part message in MIME format.
--------------040904040507040401090908
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Jason Calabrese wrote:
>>I'm using eclipse 3.1M5 with wst 1.0M3.
>>
>>Is there anything special you have to do to get the jsp editor to look for
>>imports in include files?
>>
>>For some of my jsp files the jsp editor finds the imports in the include
>>files, but for other files it doesn't.
>>
>>
>
>I found the problem.
>
>In the include file the imports were formatted like this:
><%@ page import="java.io.*" %><%@
> page import="java.net.*" %><%@
> page import="java.util.*" %><%@
> page import="java.sql.*" %>
>
>The problem was fixed by formatting the imports like this:
><%@page import="java.io.*" %>
><%@page import="java.net.*" %>
><%@page import="java.util.*" %>
><%@page import="java.sql.*" %>
>
>I bet there there is a regex somewhere that need to be tweeked.
>
Please, open a bug at: https://bugs.eclipse.org/bugs/ so development can
investigate the problem.
Thanks,
Chemi.
--------------040904040507040401090908
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jason Calabrese wrote:<br>
<blockquote cite="midcvqn7h$puj$2@www.eclipse.org" type="cite">
<blockquote type="cite">
<pre wrap="">I'm using eclipse 3.1M5 with wst 1.0M3.
Is there anything special you have to do to get the jsp editor to look for
imports in include files?
For some of my jsp files the jsp editor finds the imports in the include
files, but for other files it doesn't.
</pre>
</blockquote>
<pre wrap=""><!---->
I found the problem.
In the include file the imports were formatted like this:
<%@ page import="java.io.*" %><%@
page import="java.net.*" %><%@
page import="java.util.*" %><%@
page import="java.sql.*" %>
The problem was fixed by formatting the imports like this:
<%@page import="java.io.*" %>
<%@page import="java.net.*" %>
<%@page import="java.util.*" %>
<%@page import="java.sql.*" %>
I bet there there is a regex somewhere that need to be tweeked.</pre>
</blockquote>
Please, open a bug at: <a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/">https://bugs.eclipse.org/bugs/</a> so development
can investigate the problem.<br>
<br>
Thanks,<br>
<br>
Chemi.<br>
</body>
</html>
--------------040904040507040401090908--
|
|
|
Powered by
FUDForum. Page generated in 0.03105 seconds