Hi Fabien, the problem is that you have to use -Dmodule="yourModuleJavaPackage" instead of your module name.
Have a look to "Development build tasks" [1] for more details (at the end of the document you have some table with all build tasks, look for export.database. Although it is worth to read the whole document... DBSourceManager repository is still in subversion, you can browse it in [2]. Regards, Ismael [1] http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Developmen t_Build_Tasks [2] https://dev.openbravo.com/websvn/dbsourcemanager/ -----Mensaje original----- De: Fabien Carrion [mailto:[email protected]] Enviado el: viernes, 22 de mayo de 2009 19:04 Para: [email protected] Asunto: [Openbravo-development] ant export.database -Dmodule='Funambol' Hi the list, I am following up the creation of the funambol module, and I found out a strange error: export.database.structure: Initializing in-memory model... Building runtime model Model read in-memory, generating mapping... Dal layer initialized Database connection: jdbc:postgresql://localhost:5432/openbravo. User: openbravo [exportdatabase] Checking if database structure was modified locally. [exportdatabase] Checking if data has changed in the application dictionary. Database code revision: #0# Source code revision: #0# Subversion code revision not found. Loading models for AD and RD Datasets [exportdatabase] java.lang.NullPointerException [exportdatabase] at org.openbravo.ddlutils.util.DBSMOBUtil.getIncludedModulesInModule(DBSMOBUtil .java:293) [exportdatabase] at org.openbravo.ddlutils.util.DBSMOBUtil.getIncDependenciesForModuleList(DBSMO BUtil.java:267) [exportdatabase] at org.openbravo.ddlutils.task.ExportDatabase.doExecute(ExportDatabase.java:142 ) [exportdatabase] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java: 116) [exportdatabase] at org.openbravo.ddlutils.task.BaseDalInitializingTask.execute(BaseDalInitializ ingTask.java:79) [exportdatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) I am not sure I understand this error. How can I get more logging information on this errror? Where is the documentation of the DBSMOB project? Should I fill a bug report? Thanks -- Fabien Carrion () Campagne du ruban ASCII -- Contre les mails en html /\ contre les pieces-jointes Microsoft Web: http://fabien.carrion.free.fr/ ---------------------------------------------------------------------------- -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development
