Any idea when will be the trunk compilable again?
I always liked that the trunk was working in the past (and that the sandbox was the proper place for experiments) - I hope this won't change now at Apache.


It should be compiling again.
It looks like click-examples are not working because the domain.PostalAddress was removed, but it's still there in the Cayenne mapping, so it fails to load:

-----------
<obj-entity name="PostalAddress" className="org.apache.click.examples.domain.PostalAddress" dbEntityName="POSTAL_ADDRESS" superClassName="org.apache.click.examples.domain.BaseEntity"> <obj-attribute name="state" type="java.lang.String" db-attribute-path="state"/> <obj-attribute name="streetName" type="java.lang.String" db-attribute-path="street_name"/> <obj-attribute name="streetNumber" type="java.lang.Integer" db-attribute-path="street_number"/> <obj-attribute name="unitNumber" type="java.lang.Integer" db-attribute-path="unit_number"/>
        </obj-entity>
------------
and
------------
        <db-entity name="POSTAL_ADDRESS">
<db-attribute name="id" type="INTEGER" isPrimaryKey="true" isMandatory="true"/>
                <db-attribute name="post_code_id" type="INTEGER" 
isMandatory="true"/>
                <db-attribute name="state" type="VARCHAR" isMandatory="true" 
length="4"/>
<db-attribute name="street_name" type="VARCHAR" isMandatory="true" length="100"/>
                <db-attribute name="street_number" type="INTEGER" 
isMandatory="true"/>
                <db-attribute name="unit_number" type="INTEGER"/>
        </db-entity>
------------

The error being:
---------------
org.apache.cayenne.CayenneRuntimeException: [v.3.0M5 Nov 29 2008 21:12:47] Failed to load class org.apache.click.examples.domain.PostalAddress: org.apache.click
.examples.domain.PostalAddress
at org.apache.cayenne.map.ObjEntity.getJavaClass(ObjEntity.java:288) at org.apache.cayenne.map.EntityResolver.initCallbacks(EntityResolver.ja
va:231)
.....
---------------

Demetrios.

Reply via email to