Bob,

I saw your post, the build.xml of a fresh download of the distro is fine. 
May be there is something i can't see.

...

By the way, i solved the data context binding problem using cayenne web filter 
directly.

        <filter>
                <filter-name>CayenneFilter</filter-name>
                
<filter-class>org.apache.cayenne.conf.WebApplicationContextFilter</filter-class>
        </filter>


        <filter-mapping>
                <filter-name>CayenneFilter</filter-name>
                <servlet-name>ClickServlet</servlet-name>
        </filter-mapping>


May be there's something wrong in click data context binding code, i thought 
initially that it was something maven related.

Thanks
Hans

----- "Bob Schellink" <[email protected]> escribió:

> Hi Hans,
> 
> See my reply: http://markmail.org/message/r2dwtrlyv23tuy5q
> 
> kind regards
> 
> bob
> 
> On 30/03/2010 07:29 AM, [email protected] wrote:
> > Hi,
> >
> > I finally give up with maven dependencies, intermittent problems
> with cayenne DataContext binding killed me.
> >
> > Now, i'm trying to use project-quick-start from a fresh downloaded
> click 2.1.0, but i doesn't work, i found some posts talking of a
> failure due to the "package" task definition, but the build.xml seems
> to have the patch mentioned in the lists ..  it should be something
> else.
> >
> > This is what i've done (java version "1.6.0_16" and Apache Ant
> version 1.8.0)
> >
> > wget
> http://apache.freeby.pctools.cl/click/click/2.1.0/click-2.1.0.zip
> > unzip click-2.1.0.zip
> > cd click-2.1.0
> > ant -f build/build.xml get-deps
> >
> > h...@energy:~/click-2.1.0$ ant -f build/build.xml
> project-quick-start
> > Buildfile: /home/hans/click-2.1.0/build/build.xml
> >
> > project-quick-start:
> >      [input] Please enter the project name (e.g. quickstart):
> [quickstart]
> >
> >      [input] Please enter the root package name (e.g.
> com.quickstart): [com.quickstart]
> >
> >      [input] Please enter the web app context path: [quickstart]
> >
> >      [input] The directory '/home/hans/quickstart' will be deleted.
> Continue (y/n)? (y, n)
> > y
> >
> > BUILD FAILED
> > /home/hans/click-2.1.0/build/build.xml:950: Problem: failed to
> create task or type package
> > Cause: The name is undefined.
> > Action: Check the spelling.
> > Action: Check that any custom tasks/types have been declared.
> > Action: Check that any<presetdef>/<macrodef>  declarations have
> taken place.
> >
> >
> > Total time: 5 seconds
> > h...@energy:~/click-2.1.0$
> >
> >
> > Any help will be appreciatted.
> >
> >

-- 
Hans Poo, WeLinux S.A. http://www.welinux.cl
Oficina: 697.25.42, Celular: 09-319.93.05
Bombero Ossa # 1010, Santiago

Reply via email to