Given DSL like this:

Entity Foo
{
    package=domain.bar
    Repository FooRepository
    {
        save;
        merge;
        delete;
    }
}

And sculptor-generator.properties that override the default packages, such
as this:

package.serviceInterface=service.api
package.serviceImplementation=service.impl
package.serviceProxy=service.proxy package.exception=domain.api.exception
package.repositoryInterface=repository.api
package.repositoryImplementation=repository.impl
package.accessInterface=repository.access.api
package.accessImplementation=repository.access.impl


It seems that the generated FooAccessFactory class doesn¹t create the
correct import for the Foo class.  It imports ³domain.Foo², rather than
³domain.bar.Foo².

More specifically, the abstract access methods are correct (they use fully
qualified references to Foo), but the getPersistentClass() implementation is
incorrect (it relies on the import statement).

Please advise (it could certainly be my configurations that result in this).

Also, there is a workaround if I also set ³packages.domain=domain.bar² in
the sculptor-generator.properties file (but I¹d rather not since I want to
define the package on the Entity itself).

Thanks!
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to