ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: weblogic.jspc compilation error
Date Mon, 29 Sep 2003 18:10:43 GMT
Try to solve this issue outside of ant.
This does not look like an ant problem, rather a weblogic.jspc issue.


Cheers,
Antoine

-----Urspr√ľngliche Nachricht-----
Von: fergusodalaigh3@netscape.net [mailto:fergusodalaigh3@netscape.net]
Gesendet: Montag, 29. September 2003 19:11
An: user@ant.apache.org
Betreff: weblogic.jspc compilation error


Hi there,

I'm having trouble compiling some jsp's using the following task:

<java fork="yes" maxmemory="512m" classpath="${web.classpath};${build}"
classname="weblogic.jspc">
   <arg line="-d '${source}/${sec_webapp}' -webapp
'${source}/${sec_webapp}' -compileAll -k -verboseJspc -O" />
</java>


Here is the console output:

...\jsp_servlet\__showmenu.java:87: cannot resolve symbol
symbol  : variable file
location: class jsp_servlet.__showmenu
            out.print(String.valueOf( file ));  //[ /showMenu.jsp; Line: 1]
                                      ^
...\__showmenu.java:89: cannot resolve symbol
symbol  : variable user
location: class jsp_servlet.__showmenu
            out.print(String.valueOf( user ));  //[ /showMenu.jsp; Line: 1]
                                      ^

These 2 unresolved symbols, file and user are actually declared and
instanciated in a jsp page which includes this page by way of an includes
tag i.e.

<%@ include file="showMenu.jsp" %>

It's as if these variables are out of scope, although that doesn't make
sense, since they are declared before they are used in the parent page.

What's more they compile file deployed on the server, which makes me think
there is something wrong with the above task.

Anyone have any ideas, thoughts, reflections...?

Fergus.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message