You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Crossley <cr...@indexgeo.com.au> on 2001/12/04 03:31:50 UTC

build failure HEAD: DatabaseSelectAction.java

I have been getting a build failure for HEAD for the last
couple of days. Build is OK for cocoon_20_branch - but then
2.0 does not contain acting/DatabaseSelectAction.java
I see from CVSview that recent commits were done to some
classes in cocoon/acting/

-----------
[crossley@igacer xml-cocoon2]$ ./build.sh -Dinclude.webapp.libs=yes
 -Dinstall.war=$TOMCAT_HOME/webapps install
...
...
/usr/local/cvs/xml-cocoon2/build/cocoon/src/org/apache/coc
oon/acting/DatabaseSelectAction.java:58:
Wrong number of arguments in method.
                this.getConfiguration(param.getParameter("descriptor", 
(String) this.settings.get("descriptor")), 
param.getParameterAsBoolean("reloadable",reloadable));
-----------

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: build failure HEAD: DatabaseSelectAction.java

Posted by Tim Myers <ph...@stserv.hcf.jhu.edu>.
Thanks David,
Everything matches up correctly in cvs.  I wonder if anyone will actually take advantage of that change.  I know some people would have liked it six months ago.
Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: build failure HEAD: DatabaseSelectAction.java

Posted by David Crossley <cr...@indexgeo.com.au>.
OK Tim, i have added the missing patch to 2.1 HEAD
for acting/AbstractComplementaryConfigurableAction.java
Please cross-check.
--David

Tim Myers wrote:
> the last patch for AbstractComplementaryConfigurableAction is 
necessary to make any of it work.
> 
> context:// has never worked in subsitemaps to get to the 
subsitemap's context.
> 
> now file:file_in_subsitemap_directory.xml can be used as a 
configuration file in the directory.
> 
> This is consistent with using file: for generators in the sitemap.
>   
> It's probably not the cleanest approach to do the checking in 
AbstractComplementaryConfigurableAction, but atleast it's simple.
> 
> Thanks for doing it to Christian's modular database stuff too.  I 
didn't notice that until last night. 
> 
> Tim
> 
> David Crossley wrote:
> > Tim Myers wrote:
> > > that's my fault.
> > > Add the variable resolver as the second argument.
> > > I have a patch to the patch that screwed that up posted
> > > on this list... but it's buried in a thread.
> > > Tim
> > 
> > Hi Tim, i presume that you mean this thread ...
> > > Re: [PATCH] "file: fix" for head
> > > Date: Sun, 2 Dec 2001 19:55:05 -0500
> > > From: Tim Myers <ph...@stserv.hcf.jhu.edu>
> > 
> > I applied your patch to acting/DatabaseSelectAction.java
> > However, it also needed a similar patch to 
> > scratchpad/...../acting/ModularDatabaseAction.java
> > HEAD will build now ... please cross-check.
> > 
> > Your posting had another patch to
> > acting/AbstractComplementaryConfigurableAction.java
> > Does that still need to be applied to HEAD as well?
> > --David

<snip/>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: build failure HEAD: DatabaseSelectAction.java

Posted by Tim Myers <ph...@stserv.hcf.jhu.edu>.
the last patch for AbstractComplementaryConfigurableAction is necessary to make any of it work.

context:// has never worked in subsitemaps to get to the subsitemap's context.

now file:file_in_subsitemap_directory.xml can be used as a configuration file in the directory.

This is consistent with using file: for generators in the sitemap.
  
It's probably not the cleanest approach to do the checking in AbstractComplementaryConfigurableAction, but atleast it's simple.

Thanks for doing it to Christian's modular database stuff too.  I didn't notice that until last night. 

Tim

On Tue, Dec 04, 2001 at 03:35:52PM +1100, David Crossley wrote:
> Tim Myers wrote:
> > that's my fault.
> > Add the variable resolver as the second argument.
> > I have a patch to the patch that screwed that up posted
> > on this list... but it's buried in a thread.
> > Tim
> 
> Hi Tim, i presume that you mean this thread ...
> > Re: [PATCH] "file: fix" for head
> > Date: Sun, 2 Dec 2001 19:55:05 -0500
> > From: Tim Myers <ph...@stserv.hcf.jhu.edu>
> 
> I applied your patch to acting/DatabaseSelectAction.java
> However, it also needed a similar patch to 
> scratchpad/...../acting/ModularDatabaseAction.java
> HEAD will build now ... please cross-check.
> 
> Your posting had another patch to
> acting/AbstractComplementaryConfigurableAction.java
> Does that still need to be applied to HEAD as well?
> --David
> 
> -----------------------------------------
> > David Crossley wrote:
> > > I have been getting a build failure for HEAD for the last
> > > couple of days. Build is OK for cocoon_20_branch - but then
> > > 2.0 does not contain acting/DatabaseSelectAction.java
> > > I see from CVSview that recent commits were done to some
> > > classes in cocoon/acting/
> > > 
> > > -----------
> > > [crossley@igacer xml-cocoon2]$ ./build.sh -Dinclude.webapp.libs=yes
> > >  -Dinstall.war=$TOMCAT_HOME/webapps install
> > > ...
> > > ...
> > > /usr/local/cvs/xml-cocoon2/build/cocoon/src/org/apache/coc
> > > oon/acting/DatabaseSelectAction.java:58:
> > > Wrong number of arguments in method.
> > >                 this.getConfiguration(param.getParameter("descriptor", 
> > > (String) this.settings.get("descriptor")), 
> > > param.getParameterAsBoolean("reloadable",reloadable));
> > > -----------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: build failure HEAD: DatabaseSelectAction.java

Posted by David Crossley <cr...@indexgeo.com.au>.
Tim Myers wrote:
> that's my fault.
> Add the variable resolver as the second argument.
> I have a patch to the patch that screwed that up posted
> on this list... but it's buried in a thread.
> Tim

Hi Tim, i presume that you mean this thread ...
> Re: [PATCH] "file: fix" for head
> Date: Sun, 2 Dec 2001 19:55:05 -0500
> From: Tim Myers <ph...@stserv.hcf.jhu.edu>

I applied your patch to acting/DatabaseSelectAction.java
However, it also needed a similar patch to 
scratchpad/...../acting/ModularDatabaseAction.java
HEAD will build now ... please cross-check.

Your posting had another patch to
acting/AbstractComplementaryConfigurableAction.java
Does that still need to be applied to HEAD as well?
--David

-----------------------------------------
> David Crossley wrote:
> > I have been getting a build failure for HEAD for the last
> > couple of days. Build is OK for cocoon_20_branch - but then
> > 2.0 does not contain acting/DatabaseSelectAction.java
> > I see from CVSview that recent commits were done to some
> > classes in cocoon/acting/
> > 
> > -----------
> > [crossley@igacer xml-cocoon2]$ ./build.sh -Dinclude.webapp.libs=yes
> >  -Dinstall.war=$TOMCAT_HOME/webapps install
> > ...
> > ...
> > /usr/local/cvs/xml-cocoon2/build/cocoon/src/org/apache/coc
> > oon/acting/DatabaseSelectAction.java:58:
> > Wrong number of arguments in method.
> >                 this.getConfiguration(param.getParameter("descriptor", 
> > (String) this.settings.get("descriptor")), 
> > param.getParameterAsBoolean("reloadable",reloadable));
> > -----------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Problem installing Cocoon 1.8.3 in JBOSS

Posted by Frans Thamura <ft...@yahoo.com>.
Hi all,

Where is the documentation for Cocoon 1.8.3 so, I can install it on top of
JBOSS

Fran


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: build failure HEAD: DatabaseSelectAction.java

Posted by Tim Myers <ph...@stserv.hcf.jhu.edu>.
that's my fault.
Add the variable resolver as the second argument.
I have a patch to the patch that screwed that up posted on this list... but it's buried in a thread.

Tim

On Tue, Dec 04, 2001 at 01:31:50PM +1100, David Crossley wrote:
> I have been getting a build failure for HEAD for the last
> couple of days. Build is OK for cocoon_20_branch - but then
> 2.0 does not contain acting/DatabaseSelectAction.java
> I see from CVSview that recent commits were done to some
> classes in cocoon/acting/
> 
> -----------
> [crossley@igacer xml-cocoon2]$ ./build.sh -Dinclude.webapp.libs=yes
>  -Dinstall.war=$TOMCAT_HOME/webapps install
> ...
> ...
> /usr/local/cvs/xml-cocoon2/build/cocoon/src/org/apache/coc
> oon/acting/DatabaseSelectAction.java:58:
> Wrong number of arguments in method.
>                 this.getConfiguration(param.getParameter("descriptor", 
> (String) this.settings.get("descriptor")), 
> param.getParameterAsBoolean("reloadable",reloadable));
> -----------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org