You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "kevin (JIRA)" <ji...@apache.org> on 2005/09/22 00:08:27 UTC

[jira] Created: (FOR-678) views not working on forrest seed forrest site

views not working on forrest seed forrest site
----------------------------------------------

         Key: FOR-678
         URL: http://issues.apache.org/jira/browse/FOR-678
     Project: Forrest
        Type: Bug
  Components: Views  
    Versions: 0.8-dev    
 Environment: any
    Reporter: kevin


svn up
At revision 290844.
Did build.sh clean; build.sh and views,sh
forrest seed
enable views in forrest.properties
forrest site
...
X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0

BUILD FAILED
/usr/java/forrest/main/targets/site.xml:41: Java returned: 1


-- 
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


[jira] Resolved: (FOR-678) views not working on forrest seed forrest site

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-678?page=all ]
     
David Crossley resolved FOR-678:
--------------------------------

    Resolution: Fixed

See the summary at ...
http://marc.theaimsgroup.com/?l=forrest-dev&m=112839617103846
Re: status of "views" development
----------
"
The views development is now in two new plugins:
* internal.structurer (which was copied from internal.view)
* output.themes (which was copied from output.viewHelper.xhtml)

The input.viewHelper.xhtml.ls plugin is still relevant to
get a list of contracts.

Development of the old plugins has now ceased. The last
working version was SVN revision r292708.
"
------------

> views not working on forrest seed forrest site
> ----------------------------------------------
>
>          Key: FOR-678
>          URL: http://issues.apache.org/jira/browse/FOR-678
>      Project: Forrest
>         Type: Bug
>   Components: Views
>     Versions: 0.8-dev
>  Environment: any
>     Reporter: kevin
>     Priority: Blocker
>      Fix For: 0.8-dev

>
> svn up
> At revision 290844.
> Did build.sh clean; build.sh and views,sh
> forrest seed
> enable views in forrest.properties
> forrest site
> ...
> X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> BUILD FAILED
> /usr/java/forrest/main/targets/site.xml:41: Java returned: 1

-- 
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


[jira] Closed: (FOR-678) views not working on forrest seed forrest site

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-678?page=all ]
     
Thorsten Scherler closed FOR-678:
---------------------------------


> views not working on forrest seed forrest site
> ----------------------------------------------
>
>          Key: FOR-678
>          URL: http://issues.apache.org/jira/browse/FOR-678
>      Project: Forrest
>         Type: Bug

>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>  Environment: any
>     Reporter: kevin
>     Priority: Blocker
>      Fix For: 0.8-dev

>
> svn up
> At revision 290844.
> Did build.sh clean; build.sh and views,sh
> forrest seed
> enable views in forrest.properties
> forrest site
> ...
> X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> BUILD FAILED
> /usr/java/forrest/main/targets/site.xml:41: Java returned: 1

-- 
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


Re: [jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by Thorsten Scherler <th...@apache.org>.
Wow, I am very sorry for the trouble I caused. 

BTW my filters work now differently (I updated my machine) so I just saw
this thread now. Sorry!

see more inline.

El sáb, 24-09-2005 a las 14:21 +1000, David Crossley escribió: 
> Kevin wrote:
> > David Crossley wrote:
> > > Kevin wrote:
> > > >
> > > > Could you help with the svn command to revert back to a revision #
> > > > with working views and commons-jxpath-20030909.jar?
> > > 
> > > Work backwards from today. Get the revision numbers from
> > > the Forrest SVN mailing list, e.g.
> > > http://www.mail-archive.com/svn%40forrest.apache.org/
> > > Find a number, then subtract 1 from it
> > > e.g. to go to just before the most recent change to
> > > views stuff (r290290).
> > > 
> > > svn update -r 290289
> > > then test, if still broken then go further ...
> > > 
> > > svn update -r 290163
> > > ...
> > 
> > Thanks for that it was an iterative process though I
> > arrived at r280939 after jumping blocks of revisions.
> > Can I go forward from r280939 eg: svn update -r 290946
> > to fine tune.
> 
> Yes, you can update to any revision number or directly
> back to head. See 'svn help update' and svnbook.red-bean.com

Yes it is possible to revert certain files and directory only 

cd $FORREST_HOME
svn up
cd
$FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml
svn up -r280939
cd ../org.apache.forrest.plugin.internal.view/
svn up -r280939
cd $FORREST_HOME/main
./build.sh clean
./build.sh
cd $FORREST_HOME/etc
./views.sh

Make sure you deleted all lib that you may have added meanwhile. 

I am very sorry that this changes makes your life harder. We are working
hard to fix it.

> > I do appreciate the hard work the devs are doing here
> > and sorry for raising FOR-678 as *major* with error:
> 
> Thanks. No need to be sorry. It actually should be *blocker*.
> 
> > X [0]                                     linkmap.html  BROKEN:
> > org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer
> > (Lorg/apache/commons/jxpath/Pointer;)V
> > 
> > It doesn't mean anything to me though I understand your
> > in heavy refactoring mode and your on top of it. 
> 
> It is just that some committers are starting to exercise
> the use of jxpath in the development of views, and so exposing
> some new issues.

Yeah, that is right, I prepared views for the core and we run into a bug
in linkrewriter and jxpath. :( 

I am trying to debug that but it is not that easy. :(

salu2

> -David
> 
> > Downloading commons-jxpath-1.2.jar and looking at the
> > docs without being a java or cocoon person I can see
> > xpath xslt in java code! Maybe I have an idea of what
> > is happening or not :(
> > 
> > Kevin
> > 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by David Crossley <cr...@apache.org>.
Kevin wrote:
> David Crossley wrote:
> > Kevin wrote:
> > >
> > > Could you help with the svn command to revert back to a revision #
> > > with working views and commons-jxpath-20030909.jar?
> > 
> > Work backwards from today. Get the revision numbers from
> > the Forrest SVN mailing list, e.g.
> > http://www.mail-archive.com/svn%40forrest.apache.org/
> > Find a number, then subtract 1 from it
> > e.g. to go to just before the most recent change to
> > views stuff (r290290).
> > 
> > svn update -r 290289
> > then test, if still broken then go further ...
> > 
> > svn update -r 290163
> > ...
> 
> Thanks for that it was an iterative process though I
> arrived at r280939 after jumping blocks of revisions.
> Can I go forward from r280939 eg: svn update -r 290946
> to fine tune.

Yes, you can update to any revision number or directly
back to head. See 'svn help update' and svnbook.red-bean.com

> I do appreciate the hard work the devs are doing here
> and sorry for raising FOR-678 as *major* with error:

Thanks. No need to be sorry. It actually should be *blocker*.

> X [0]                                     linkmap.html  BROKEN:
> org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer
> (Lorg/apache/commons/jxpath/Pointer;)V
> 
> It doesn't mean anything to me though I understand your
> in heavy refactoring mode and your on top of it. 

It is just that some committers are starting to exercise
the use of jxpath in the development of views, and so exposing
some new issues.

-David

> Downloading commons-jxpath-1.2.jar and looking at the
> docs without being a java or cocoon person I can see
> xpath xslt in java code! Maybe I have an idea of what
> is happening or not :(
> 
> Kevin
> 

Re: [jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by Kevin <fo...@kegcl.demon.co.uk>.
On Fri, 2005-09-23 at 08:14 +1000, David Crossley wrote:
> Kevin wrote:
> > David Crossley (JIRA) wrote:

...snip...

> > Could you help with the svn command to revert back to a revision #
> > with working views and commons-jxpath-20030909.jar?
> 
> Work backwards from today. Get the revision numbers from
> the Forrest SVN mailing list, e.g.
> http://www.mail-archive.com/svn%40forrest.apache.org/
> Find a number, then subtract 1 from it
> e.g. to go to just before the most recent change to
> views stuff (r290290).
> 
> svn update -r 290289
> then test, if still broken then go further ...
> 
> svn update -r 290163
> ...
> 
> -David

Thanks for that it was an iterative process though I
arrived at r280939 after jumping blocks of revisions.
Can I go forward from r280939 eg: svn update -r 290946
to fine tune.

I do appreciate the hard work the devs are doing here
and sorry for raising FOR-678 as *major* with error:

X [0]                                     linkmap.html  BROKEN:
org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer
(Lorg/apache/commons/jxpath/Pointer;)V

It doesn't mean anything to me though I understand your
in heavy refactoring mode and your on top of it. 
 
Downloading commons-jxpath-1.2.jar and looking at the
docs without being a java or cocoon person I can see
xpath xslt in java code! Maybe I have an idea of what
is happening or not :(

Kevin



Re: [jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by David Crossley <cr...@apache.org>.
Kevin wrote:
> David Crossley (JIRA) wrote:
> >     [ http://issues.apache.org/jira/browse/FOR-678?page=comments#action_12330147 ] 
> > 
> > David Crossley commented on FOR-678:
> > ------------------------------------
> > 
> > This is probably because some developers are using the new commons-jxpath-1.2.jar
> > Updating locally fixes this error. I got the new jar from a local installation of Cocoon.
> > Otherwise follow http://cocoon.apache.org/2.1/installing/jars.html
> > and get it from Apache Jakarta Commons.
> 
> Is the local fix to:
> 
> cp commons-jxpath-1.2.jar $FORREST_HOME/lib/core
> cd $FORREST_HOME/lib/core
> mv commons-jxpath-20030909.jar commons-jxpath-20030909.jar.old

Need to move that old jar completely out of the way.
Move it to your home directory.

> > The problem is that we cannot update that jar in forrest trunk, due to Issue FOR-675
> > "upgrading to commons-jxpath-1.2.jar causes failures with linkrewriter protocols site: etc."
> 
> I did the fix and it breaks all site links and so the site is unusable.
> 
> Is there a local fix for FOR-675 as I can't see how forrest can be used
> (with views) at the moment?

No. We need people with Java and Cocoon experience to
help fix it at Cocoon.

> Could you help with the svn command to revert back to a revision #
> with working views and commons-jxpath-20030909.jar?

Work backwards from today. Get the revision numbers from
the Forrest SVN mailing list, e.g.
http://www.mail-archive.com/svn%40forrest.apache.org/
Find a number, then subtract 1 from it
e.g. to go to just before the most recent change to
views stuff (r290290).

svn update -r 290289
then test, if still broken then go further ...

svn update -r 290163
...

-David

Re: [jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by Kevin <fo...@kegcl.demon.co.uk>.
On Thu, 2005-09-22 at 02:05 +0200, David Crossley (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/FOR-678?page=comments#action_12330147 ] 
> 
> David Crossley commented on FOR-678:
> ------------------------------------
> 
> This is probably because some developers are using the new commons-jxpath-1.2.jar
> Updating locally fixes this error. I got the new jar from a local installation of Cocoon.
> Otherwise follow http://cocoon.apache.org/2.1/installing/jars.html
> and get it from Apache Jakarta Commons.

Is the local fix to:

cp commons-jxpath-1.2.jar $FORREST_HOME/lib/core
cd $FORREST_HOME/lib/core
mv commons-jxpath-20030909.jar commons-jxpath-20030909.jar.old

> The problem is that we cannot update that jar in forrest trunk, due to Issue FOR-675
> "upgrading to commons-jxpath-1.2.jar causes failures with linkrewriter protocols site: etc."

I did the fix and it breaks all site links and so the site is unusable.

Is there a local fix for FOR-675 as I can't see how forrest can be used
(with views) at the moment?

Could you help with the svn command to revert back to a revision #
with working views and commons-jxpath-20030909.jar?

Thanks

Kevin.

> > views not working on forrest seed forrest site
> > ----------------------------------------------
> >
> >          Key: FOR-678
> >          URL: http://issues.apache.org/jira/browse/FOR-678
> >      Project: Forrest
> >         Type: Bug
> >   Components: Views
> >     Versions: 0.8-dev
> >  Environment: any
> >     Reporter: kevin
> 
> >
> > svn up
> > At revision 290844.
> > Did build.sh clean; build.sh and views,sh
> > forrest seed
> > enable views in forrest.properties
> > forrest site
> > ...
> > X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> > Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> > BUILD FAILED
> > /usr/java/forrest/main/targets/site.xml:41: Java returned: 1
> 


[jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-678?page=comments#action_12330147 ] 

David Crossley commented on FOR-678:
------------------------------------

This is probably because some developers are using the new commons-jxpath-1.2.jar
Updating locally fixes this error. I got the new jar from a local installation of Cocoon.
Otherwise follow http://cocoon.apache.org/2.1/installing/jars.html
and get it from Apache Jakarta Commons.

The problem is that we cannot update that jar in forrest trunk, due to Issue FOR-675
"upgrading to commons-jxpath-1.2.jar causes failures with linkrewriter protocols site: etc."

> views not working on forrest seed forrest site
> ----------------------------------------------
>
>          Key: FOR-678
>          URL: http://issues.apache.org/jira/browse/FOR-678
>      Project: Forrest
>         Type: Bug
>   Components: Views
>     Versions: 0.8-dev
>  Environment: any
>     Reporter: kevin

>
> svn up
> At revision 290844.
> Did build.sh clean; build.sh and views,sh
> forrest seed
> enable views in forrest.properties
> forrest site
> ...
> X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> BUILD FAILED
> /usr/java/forrest/main/targets/site.xml:41: Java returned: 1

-- 
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


[jira] Updated: (FOR-678) views not working on forrest seed forrest site

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-678?page=all ]

Thorsten Scherler updated FOR-678:
----------------------------------

    Fix Version: 0.8-dev
       Priority: Blocker  (was: Major)

> views not working on forrest seed forrest site
> ----------------------------------------------
>
>          Key: FOR-678
>          URL: http://issues.apache.org/jira/browse/FOR-678
>      Project: Forrest
>         Type: Bug
>   Components: Views
>     Versions: 0.8-dev
>  Environment: any
>     Reporter: kevin
>     Priority: Blocker
>      Fix For: 0.8-dev

>
> svn up
> At revision 290844.
> Did build.sh clean; build.sh and views,sh
> forrest seed
> enable views in forrest.properties
> forrest site
> ...
> X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> BUILD FAILED
> /usr/java/forrest/main/targets/site.xml:41: Java returned: 1

-- 
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


[jira] Commented: (FOR-678) views not working on forrest seed forrest site

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-678?page=comments#action_12330413 ] 

Thorsten Scherler commented on FOR-678:
---------------------------------------

Sorry, my fault.

Workaround:
cd $FORREST_HOME
svn up
cd $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml
svn up -r280939
cd ../org.apache.forrest.plugin.internal.view/
svn up -r280939
cd $FORREST_HOME/main
./build.sh clean
./build.sh
cd $FORREST_HOME/etc
./views.sh

Make sure you deleted all lib that you may have added meanwhile. 

> views not working on forrest seed forrest site
> ----------------------------------------------
>
>          Key: FOR-678
>          URL: http://issues.apache.org/jira/browse/FOR-678
>      Project: Forrest
>         Type: Bug
>   Components: Views
>     Versions: 0.8-dev
>  Environment: any
>     Reporter: kevin

>
> svn up
> At revision 290844.
> Did build.sh clean; build.sh and views,sh
> forrest seed
> enable views in forrest.properties
> forrest site
> ...
> X [0]                                     linkmap.html  BROKEN: org.apache.commons.jxpath.JXPathContext.setNamespaceContextPointer(Lorg/apache/commons/jxpath/Pointer;)V
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> BUILD FAILED
> /usr/java/forrest/main/targets/site.xml:41: Java returned: 1

-- 
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