[ 
http://issues.apache.org/jira/browse/FOR-675?page=comments#action_12330414 ] 

Thorsten Scherler commented on FOR-675:
---------------------------------------

The problem I have in debugging the 
org.apache.cocoon.transformation.LinkRewriterTransformer class in eclipse is 
that I got:

"Unable to install breakpoint in ... due to missing line number attributes. 
Modify compiler options to generate line number attributes.
Reason: Absent line number information"

See 
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-7304.html for a similar 
problem. 

I patched cocoons compile-build.xml like:
Index: compile-build.xml
===================================================================
--- compile-build.xml   (revisión: 291352)
+++ compile-build.xml   (copia de trabajo)
@@ -24,6 +24,7 @@
   <!-- compilation parts used by all targets -->
   <presetdef name="cocoon.javac">
      <javac
+           debuglevel="lines,vars,source"
            debug="${compiler.debug}"
            optimize="${compiler.optimize}"
            deprecation="${compiler.deprecation}"
wich was recommended in the link. 

Then I copied the linkrewriter block lib to the core and could connect to the 
class to debug. :)

HTH


> upgrading to commons-jxpath-1.2.jar causes failures with linkrewriter 
> protocols site: etc.
> ------------------------------------------------------------------------------------------
>
>          Key: FOR-675
>          URL: http://issues.apache.org/jira/browse/FOR-675
>      Project: Forrest
>         Type: Bug
>   Components: Core operations
>     Versions: 0.8-dev, 0.7
>     Reporter: David Crossley
>      Fix For: 0.8-dev

>
> upgrading from commons-jxpath-20030909.jar to commons-jxpath-1.2.jar causes 
> failures with linkrewriter protocols site: etc. This happens in both modes: 
> 'forret run' and 'forrest'.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to