Re: [Mdarad-toolbox-devs] Re: ServiceLocator et org.mdarad.global
Brought to you by:
erifr
From: Vincent-Olivier A. <vi...@ha...> - 2005-11-05 16:35:29
|
Well, like I said, I just did an update from the genapp CVS and the only thing=20 that is custom is the model, at this point. I have no default.properties=20 for the generated app build. Also, the UnicityViolationException is a=20 rather old outlet... And last, I did chek in the default.properties and=20 both the "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. ne=20 >> 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/MeasurementP= rofileDelegate.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/TransactionalAccountBus= inessObjectFacadeBase.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 { > |