From: sven.schulz <nu...@jb...> - 2005-05-13 08:02:38
|
A template of local.properties can be found in build/etc. Copy, rename and modify as needed. I've no solution for your second problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877594#3877594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877594 |
From: mark1 <nu...@jb...> - 2005-05-28 16:39:03
|
I'm getting the same thing on my Linux (Fedora Core 3 and Ubuntu as well). The "build.sh" shell-script seems to be the problem. It contains MS-DOS style line-endings. So I used the "dos2unix" command to cleanup the CRLF characters in build.sh -- and now it runs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879347#3879347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879347 |
From: mark1 <nu...@jb...> - 2005-05-28 17:07:39
|
. . . I spoke too soon. I had gotten over the original error, but I was getting others errors after that -- thinking it was my own configuration error. The main build.sh did indeed run after cleaning it up with the "dos2unix". But it turns out that in the tools-directory the build.sh and *.xml files there ALSO to needed the same dos2unix clean-up. Even then, I'm still getting other errors. [mark@matrix build]$ sh build.sh | : command not foundrtal-2.0-RC2-src/tools/bin/common.shlib: line 7: | : command not foundrtal-2.0-RC2-src/tools/bin/common.shlib: line 9: | /home/mark/jboss-portal-2.0-RC2-src/tools/bin/common.shlib: line 11: syntax error near unexpected token '{ | 'home/mark/jboss-portal-2.0-RC2-src/tools/bin/common.shlib: line 11: `{ | xset: unknown option JVM_MS=32m | | usage: xset [-display host:dpy] option ... | I'm guessing that this builds fine on Windows, but the Unix build-scripts got corrupted somehow. Did they get re-saved by WordPad with CRLF line endings? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879350#3879350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879350 |
From: caigao <nu...@jb...> - 2005-05-29 00:42:14
|
I have the same problem as you. My env is: Redhat AS 4.0 $JBOSS_HOME $JAVA_HOME was working correct. build/local.properties and build/etc/mysql.properties were both righ. but the "sh build.sh" give me wrong answer like this: [user@host build]$ sh build.sh : command not found : command not found : command not found 'uild.sh: line 17: syntax error near unexpected token `{ 'uild.sh: line 17: `main() { [user@host build]$ ./build.sh : bad interpreter: ?????????????? some body can help us???????? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879371#3879371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879371 |
From: martingi <nu...@jb...> - 2005-05-31 15:09:58
|
I had the same problem trying to build the portal from the zipped sources. But it works if you get the sources directly from CVS. Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879577#3879577 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879577 |
From: <roy...@jb...> - 2005-05-31 15:15:32
|
Both Julien and I use Intellij IDEA on Windows to develop. I'm not sure if this is the culprit or winzip is doing this. I had Thomas verify that indeed the srcs are corrupted with windows line-endings, and the problem is not in CVS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879580#3879580 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879580 |
From: <tho...@jb...> - 2005-05-31 15:52:19
|
Try from the CVS, it will work. The packaged sources are 'Windowsified' :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879586#3879586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879586 |
From: hou0220 <do-...@jb...> - 2005-09-14 05:35:24
|
I faced the same problem when I tried to run the jboss (sh run.sh) on Linux RedHat. Then I removed the current jboss and transferred a new jboss copy with "Transfer Type = Binary" (for the previous copy I use "ASCII" type) via ftp. I tried to run Jboss again and it work! I hope this will help.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894598#3894598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894598 |