*** carlos_ has joined #idempiere | 00:28 | |
*** CarlosRuiz has quit IRC | 00:36 | |
*** carlos_ is now known as CarlosRuiz | 01:16 | |
*** ChanServ sets mode: +o CarlosRuiz | 01:16 | |
*** CarlosRuiz has quit IRC | 04:42 | |
*** mbellaux has joined #idempiere | 05:01 | |
tbayen | Hi mbellaux. Is your question still valid? | 09:11 |
---|---|---|
mbellaux | yes. Could someone give me a hit how those script files are generated from templates?, could not find anything in the code. | 09:30 |
tbayen | Hi | 09:32 |
tbayen | This is done by the setup scripts. | 09:32 |
mbellaux | which one preceisely? | 09:32 |
tbayen | I dont know which wiki page you are using for the installation. | 09:32 |
tbayen | You call a script "setup.sh" or "setup-console.sh" (or something similar with *.bak if you are using windows, but I dont hope you use that...) | 09:33 |
mbellaux | I think it's official wiki http://wiki.idempiere.org/en/Installing_from_Installers | 09:34 |
tbayen | That script collects data about your installation like your database password, etc. Then it creates the environment for iDempiere. | 09:34 |
tbayen | Did you start "sh setup.sh" as written there? | 09:34 |
mbellaux | I called setup-console.sh from installation zip. | 09:35 |
tbayen | This script should create the environment file. | 09:35 |
tbayen | stop. | 09:36 |
mbellaux | The environment file idempiereEnv.ini was created ok. | 09:37 |
tbayen | You said you need "myEnvironment.sh"? For what do you need it? Normally you should not see that this is used. | 09:37 |
tbayen | It is created in the utils directory. | 09:37 |
tbayen | But I am quite sure that running "setup.sh" creates it. | 09:39 |
mbellaux | 'sh RUN_ImportIdempiere.sh' is failing due to missing myEnvironment.sh | 09:39 |
tbayen | Or setup-console.sh | 09:39 |
tbayen | (That has the same result as setup.sh but does not use a Swing window but the console for your input). | 09:39 |
tbayen | Perhaps you carefully read the output of setup-console.sh if something goes wrong. If you can use setup.sh (that needs a gui environment like an X server) the error messages might be clearer in a requester window. | 09:40 |
tbayen | I have an appointment in some minutes. I will be back in about 90 minutes. If you are still stucked I will be back then. | 09:41 |
mbellaux | When I look into java source code that setup is kicking off ant build step using file build.xml and that build.xml was missing. | 09:41 |
mbellaux | Save changes (Y/N) [Y]: | 10:08 |
mbellaux | y | 10:08 |
mbellaux | Jun 20, 2015 6:31:16 PM org.compiere.util.Ini loadProperties | 10:08 |
mbellaux | WARNING: /opt/idempiere.gtk.linux.x86_64/idempiere-server/idempiere.properties not found | 10:08 |
mbellaux | Jun 20, 2015 6:31:16 PM org.compiere.util.Ini loadProperties | 10:08 |
mbellaux | INFO: /opt/idempiere.gtk.linux.x86_64/idempiere-server/idempiere.properties #27 | 10:08 |
mbellaux | Jun 20, 2015 6:31:16 PM org.compiere.install.ConfigurationData save | 10:08 |
mbellaux | INFO: /opt/idempiere.gtk.linux.x86_64/idempiere-server/idempiereEnv.properties | 10:08 |
mbellaux | Changes save successfully. | 10:08 |
mbellaux | file=/opt/idempiere.gtk.linux.x86_64/idempiere-server/org.adempiere.install/build.xml exists=false | 10:08 |
mbellaux | Buildfile: build.xml | 10:08 |
mbellaux | BUILD FAILED | 10:08 |
mbellaux | Buildfile: /opt/idempiere.gtk.linux.x86_64/idempiere-server/build.xml does not exist | 10:08 |
mbellaux | Total time: 0 seconds | 10:08 |
mbellaux | . | 10:08 |
mbellaux | For problems, check log file in base directory | 10:08 |
mbellaux | [root@localhost idempiere]# | 10:08 |
*** a42niem has joined #idempiere | 10:13 | |
mbellaux | Yes, I now I can see that myEnvironment.sh is genrated by build.xml. That build.xml is missing in idempiereServer.gtk.linux.x86_64.zip. I build that installation zip file from eclipse, so perhaps culprit is failing buckminster product build. | 10:24 |
tbayen | rehi | 11:47 |
tbayen | For your first steps I recommend using a standard installation package. | 11:48 |
tbayen | It is hard enough to understand that. And after a while you can deal with the problems arising from your own eclipse build. | 11:48 |
tbayen | If you are a newbie you should understand that you can do very many things with iDempiere without changing code. | 11:50 |
tbayen | My installation package contains the build.xml file. I don't know why yours does not. :-o I build my packages from the actual development trunk. | 11:53 |
mbellaux | Thanks for that. Such occasions when something is broken is a good time to learn something. Could anyone give me a hint on how buckminster generates that build.xml? | 12:12 |
mbellaux | Just general pointers would be appreciated/ | 12:14 |
tbayen | Buckminster is a monster. :-) Most people only use the workflow that is defined in the wiki page and start buckminster through the eclipse gui. If you want to know how it works internally you should ask in the google group. Heng Sin should be able to give answers or perhaps some other of the more experienced guys. | 13:43 |
tbayen | Are you new to iDempiere? Why do you want to know about buckminster internals? | 13:44 |
*** mbellaux has quit IRC | 15:27 | |
*** a42niem has quit IRC | 21:04 | |
*** is-mw has joined #idempiere | 22:21 | |
*** is-mw has quit IRC | 22:28 | |
*** is-mw has joined #idempiere | 22:29 | |
*** is-mw has quit IRC | 22:39 | |
*** tbayen_ has quit IRC | 23:27 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!