Tapestry exception page hiperlinked with spindle
Brought to you by:
glongman
I find Spindle extremely useful and a must in order to
learn Tapestry in an esaier way. Thanks a lot!
I propose the following:
The Tapestry exceptions are very nice formatted in a
page that contains the full stacktrace with line numbers,
the ugly thing is that there's not way currently to jump
directly from there to the source code.
If you are working with Spindle and Spindle was to
embed an ultra-thin web server I think adding hiperlinks
to this page in order to Spindle to jump to each line
number would be GREAT !
Of course this would involve a bit of collaboration
between the two teams: Tapestry and Spindle
Logged In: YES
user_id=387057
I'm not sure how this would be implemented - suggestions
are welcome
Logged In: YES
user_id=387057
Thinking about this one. I could start a wee little web server
in Eclipse that listens for requests from outside.
If the request contained enough information to find a file and
line number it would be possible to open up the file (or show it
if already open) and highlight the line.
The Exception page tapestry uses would need to be tweaked
to generate links that would make these requests.
I'm playing with the wee little webserver now.
I've sent an email to Howard to see if he wants to help out.
That would definitely make things go faster.
Geoff
Logged In: YES
user_id=387057
My explorations continue. I have the exception page linked to
Spindle in a limited fashion.
See:
http://www.jroller.com/page/glongman/20040525#taking_tape
stry_s_wild_error
Logged In: YES
user_id=387057
This has been put on the backburner for now.
Logged In: YES
user_id=387057
It appears that doing this will be easier in Tapestry 3.1.
The test code I wrote under Tapestry 3.0 contained a lot of
hacks.
Since I'm ramping up to tackle Tapestry 3.1 real soon this
RFE will soon jump back to the fore
Logged In: YES
user_id=1286879
You can paste stack trace into eclipse 3.1 console,
and eclipse does hyperlinking automatically