Re: [Mdarad-toolbox-devs] Re: ServiceLocator et org.mdarad.global
Brought to you by:
erifr
|
From: Vincent-Olivier A. <vi...@up...> - 2005-11-05 16:55:10
|
I found out that in the "FacadeBase.vsl" template, the=20 domain.package.root property is hardcoded to "org.mdarad.global" and=20 when it is customized, of course, it won't compile. I didn't fix it because I'm not sure how to get the properties from an=20 Entity-level template (I see how it's done on a model-level template,=20 though, but the $mainpackage variable is not in the entity scope). Vincent Vincent-Olivier Arsenault wrote: > Well, > > like I said, I just did an update from the genapp CVS and the only=20 > thing that is custom is the model, at this point. I have no=20 > default.properties for the generated app build. Also, the=20 > UnicityViolationException is a rather old outlet... And last, I did=20 > chek in the default.properties and both the=20 > "ignoreExceptionUnicityViolation" and the "ignoreDAOFactory"=20 > properties are set to "false". > > Vincent > > > Fran=E7ois Eric wrote: > >> Please send your questions to the list so that we keep a trace of the=20 >> answers. >> >> The files are probably not being generated because your=20 >> default.properties does not have the ignoreXXX=3Dfalse for the new=20 >> outlets. Compare your default.properties with the one in=20 >> mdarad-genapp/templates/build >> >> Fran=E7ois >> >> Vincent-Olivier Arsenault wrote: >> >>> Apr=E8s avoir fait un update total de mdarad-genapp et fait un genapp= ,=20 >>> en essayant de compiler mon mod=E8le UP4C, j'ai les erreurs suivantes= .... >>> >>> 1) pour une raison quelconque les ServiceLocator, DAOFactory, etc.=20 >>> ne sont pas g=E9n=E9r=E9s >>> 2) les UnicityViolationException ne sont pas g=E9n=E9r=E9s >>> >>> weird?!!? saurais-tu pourquoi? >>> >>> Vincent >>> >>> >>> >>> [javac]=20 >>> /Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4= .com/output/cumul/src/java/com/up4/account/customer/delegates/Measurement= ProfileDelegate.java:3:=20 >>> cannot resolve symbol >>> [javac] symbol : class ServiceLocator [javac] location:=20 >>> package up4 >>> [javac] import com.up4.ServiceLocator; >>> >>> ... >>> >>> [javac]=20 >>> /Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4= .com/output/cumul/src/java/com/up4/account/facades/TransactionalAccountBu= sinessObjectFacadeBase.java:13:=20 >>> package org.mdarad.global.dao does not exist >>> [javac] import org.mdarad.global.dao.DAOFactory; >>> >>> ... >>> >>> [javac]=20 >>> /Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4= .com/output/cumul/src/java/com/up4/account/trader/dao/StockKeepingUnitDAO= .java:49:=20 >>> cannot resolve symbol >>> [javac] symbol : class=20 >>> StockKeepingUnitOrdernumberUnicityViolationException [javac]=20 >>> location: class com.up4.account.trader.dao.StockKeepingUnitDAO >>> [javac] public StockKeepingUnit=20 >>> saveStockKeepingUnit(StockKeepingUnit instance) throws=20 >>> org.mdarad.framework.exception.ConcurrencyException, DAOException,=20 >>> StockKeepingUnitOrdernumberUnicityViolationException { >> >> > |