Antwort: Re: build.sh won't run - FAQ suggestion
Thank you for the tip. Actually I solved it and have the build.sh runing, but I still don't know, why ... I had the same problem with the tutorial1.sh. Here is the case: When I start the skript, which is delivered with the OJB download: I get the following message: schnipp [EMAIL PROTECTED]:/misc/home/a322pc/db-ojb-1.0.rc1-tutorial sh bin/tutorial1.sh : Datei oder Verzeichnis nicht gefunden/test/ojb : command not foundine 7: Exception in thread main java.lang.NoClassDefFoundError: org/apache/ojb/tutorial1/Application : command not foundine 9: : Datei oder Verzeichnis nicht gefunden : Datei oder Verzeichnis nicht gefunden : Datei oder Verzeichnis nicht gefunden : command not foundine 13: [EMAIL PROTECTED]:/misc/home/a322pc/db-ojb-1.0.rc1-tutorial schnapp What I did to have it run, was to rewrite the same skript in a new file. It seems like there is a problem with the carriage return (Zeilenumbruch), when the skript is written on one system and then used on a different one. This was a ugly one to solve. I suggest to put this solution in a OJB Installation FAQ. Anyway... the tutorial 1 is up and runing. :-) Thanks for the help. Carsten Dennis Ryan [EMAIL PROTECTED] on 12.03.2003 18:59:08 Bitte antworten an OJB Users List [EMAIL PROTECTED] An: OJB Users List Kopie: (Blindkopie: Carsten Pörtge) Thema: Re: build.sh won't run My German isn't very good, but I believe it is saying file or directory not found which probably means that the binaries are not executable? $ chmod +x bin/*.sh Give that a try. dennis [EMAIL PROTECTED] wrote: Hello, I'm trying to install OJB on a linux computer. I set the the JAVA_HOME to the JDK1.4. I unpacked the OJB file. I checked the rights to run the build.sh (rights == 555). now, I try to run junit, calling it from the ojb-directory: bin/build.sh junit Here I get the message: bash: /bin/build.sh: Datei oder Verzeichnis nicht gefunden Does anyone have an idea, why this won't work? Thanks for helping in advanced. Yours sincerely, C. Pörtge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: build.sh won't run
did you cd to the OJB root directory before launching bin/build.sh ? OJB runs fine on my linux box... Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: build.sh won't run Hello, I'm trying to install OJB on a linux computer. I set the the JAVA_HOME to the JDK1.4. I unpacked the OJB file. I checked the rights to run the build.sh (rights == 555). now, I try to run junit, calling it from the ojb-directory: bin/build.sh junit Here I get the message: bash: /bin/build.sh: Datei oder Verzeichnis nicht gefunden Does anyone have an idea, why this won't work? Thanks for helping in advanced. Yours sincerely, C. Pörtge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: RE: build.sh won't run
Yes, my current directory for launching is the db-ojb-directory, which contains the bin-directory. Carsten Mahler Thomas [EMAIL PROTECTED] on 11.03.2003 10:58:42 Bitte antworten an OJB Users List [EMAIL PROTECTED] An: 'OJB Users List' Kopie: (Blindkopie: Carsten Pörtge) Thema: RE: build.sh won't run did you cd to the OJB root directory before launching bin/build.sh ? OJB runs fine on my linux box... Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: build.sh won't run Hello, I'm trying to install OJB on a linux computer. I set the the JAVA_HOME to the JDK1.4. I unpacked the OJB file. I checked the rights to run the build.sh (rights == 555). now, I try to run junit, calling it from the ojb-directory: bin/build.sh junit Here I get the message: bash: /bin/build.sh: Datei oder Verzeichnis nicht gefunden Does anyone have an idea, why this won't work? Thanks for helping in advanced. Yours sincerely, C. Pörtge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antwort: RE: build.sh won't run
You could try to install ant and use ant to run the targets from build.xml by calling ant junit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:44 AM To: OJB Users List Subject: Antwort: RE: build.sh won't run Yes, my current directory for launching is the db-ojb-directory, which contains the bin-directory. Carsten Mahler Thomas [EMAIL PROTECTED] on 11.03.2003 10:58:42 Bitte antworten an OJB Users List [EMAIL PROTECTED] An: 'OJB Users List' Kopie: (Blindkopie: Carsten Pörtge) Thema: RE: build.sh won't run did you cd to the OJB root directory before launching bin/build.sh ? OJB runs fine on my linux box... Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: build.sh won't run Hello, I'm trying to install OJB on a linux computer. I set the the JAVA_HOME to the JDK1.4. I unpacked the OJB file. I checked the rights to run the build.sh (rights == 555). now, I try to run junit, calling it from the ojb-directory: bin/build.sh junit Here I get the message: bash: /bin/build.sh: Datei oder Verzeichnis nicht gefunden Does anyone have an idea, why this won't work? Thanks for helping in advanced. Yours sincerely, C. Pörtge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]