Re: [Mdarad-toolbox-devs] Re: ServiceLocator et org.mdarad.global
Brought to you by:
erifr
From: <fra...@po...> - 2005-11-07 04:30:37
|
You can call it in a similar way as for a model-level: ${class.getWebAppConfiguredProperty("<property name>")} Vincent-Olivier Arsenault wrote: > I found out that in the "FacadeBase.vsl" template, the=20 > domain.package.root property is hardcoded to "org.mdarad.global" an= d=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 templat= e,=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 di= d=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= =20 >>> the answers. >>> >>> The files are probably not being generated because your=20 >>> default.properties does not have the ignoreXXX=3Dfalse for the ne= w=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= =20 >>>> genapp, en essayant de compiler mon mod=E8le UP4C, j'ai les erre= urs=20 >>>> suivantes.... >>>> >>>> 1) pour une raison quelconque les ServiceLocator, DAOFactory, et= c.=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/workspac= e/up4.com/output/cumul/src/java/com/up4/account/customer/delegates/Me= asurementProfileDelegate.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/workspac= e/up4.com/output/cumul/src/java/com/up4/account/facades/Transactional= AccountBusinessObjectFacadeBase.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/workspac= e/up4.com/output/cumul/src/java/com/up4/account/trader/dao/StockKeepi= ngUnitDAO.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, DAOExceptio= n,=20 >>>> StockKeepingUnitOrdernumberUnicityViolationException { >>> >>> >>> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.= =20 > Download > it for free - -and be entered to win a 42" plasma tv or your very o= wn > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.p= hp > _______________________________________________ > Mdarad-toolbox-devs mailing list > Mda...@li... > https://lists.sourceforge.net/lists/listinfo/mdarad-toolbox-devs > > > |