|
List Info
Thread: Quarterly Svn Build Attempt Question
|
|
| Quarterly Svn Build Attempt Question |

|
2007-04-17 10:05:48 |
|
Hi All,
It seemed time for my quarterly attempt to configure building laszlo from source. I got it working pretty well a couple of times with the old source distributions, but have yet to get it to work since the move to subversion. The last couple of times I failed I assumed it didn't work because I had a few nonstandard things going on, but over the past week I've managed to get my configuration to exactly match what I think the instructions outline and I still get the same error, so I thought I might ask for some help.
Here is the attempt to build and it's error message http://www.notebookmargins.com/link_from_public/build_problem/simple_failure.gif
You'll see that somehow the test for "LZ_VENDOR_ROOT" in build-opt.xml fails because it is expanding "~" to "/home/Cortlandt" instead of keeping it as a tilde. If I try to cd to $LZ_VENDOR_ROOT, it works fine.
I did notice that line 82 in build.xml didn't reference an "env." like the other refs to the environment variables <fileset dir="${LZ_VENDOR_ROOT}" includes="*.jar" /> but making it
env.LZ_VENDOR_ROOT didn't matter.
I looked at the setup-lps.sh script and can't find anything suspicious.
If someone could suggest where to look next in order to get this to work I would greatly appreciate it. I will try explicitly setting my LZ_VENDOR_ROOT variable, but would like to know where the problem is so that I can help make the process of doing this easier for others as well.
Thanks for any help!
-Cort
-------------------------------------------------------------------------------------------------------------------------
Background: ------------------------------------------------------------------------------------------------------------------------- The environment variables seem to be set correctly
http://www.notebookmargins.com/link_from_public/build_problem/env.gif
And the file structure seems to be set correctly
http://www.notebookmargins.com/link_from_public/build_problem/directory_structure.gif
Here is my windows path c:wiz; C:cygwinhomeCortandtlibpython22; C:cygwinhomeCortandtlibapache-ant-1.6.5bin
; F:Komodo; %SystemRoot%system32; %SystemRoot%;%SystemRoot%System32Wbem; C:Program FilesCommon FilesAutodesk Shared; C:Program Filesbackburner 2; C:Program FilesMicrosoft SQL Server80ToolsBinn;
C:Subversionbin; C:Program FilesQuickTimeQTSystem; C:PROGRA~1SecureFX; C:Program FilesIDM Computer SolutionsUltraEdit-32
(I also tried adding javacc explicitly, but that didn't matter)
|
| Re: Quarterly Svn Build Attempt
Question |

|
2007-04-17 10:28:20 |
|
Here's my cygwin .bash_profile, if that helps at all. I randomly tried slashes and backslashes until things worked :-(
...
#!/bin/bash .
# source the system wide bashrc if it exists
if [ -e /etc/bash.bashrc ] ; then source /etc/bash.bashrc fi
# source the users bashrc if it exists if [ -e "${HOME}/.bashrc" ] ; then source "${HOME}/.bashrc" fi
# Set PATH so it includes user's private bin if it exists
# if [ -d "${HOME}/bin" ] ; then # PATH=${HOME}/bin:${PATH} # fi
# Set MANPATH so it includes users' private man if it exists # if [ -d "${HOME}/man" ]; then # MANPATH=${HOME}/man:$
# fi
# Set INFOPATH so it includes users' private info if it exists # if [ -d "${HOME}/info" ]; then # INFOPATH=$/info:${INFOPATH} # fi
PATH=/usr/sbin:/bin:/usr/bin:/usr/local/bin:$HOME/bin:$PATH
unset USERNAME
export CVS_RSH=ssh export JAVA_HOME="c:/Java/jdk1.5.0_11" export JAVA_OPTS="-Xmx500m"
export EDITOR=emacs
export LZ_TOOLS_ROOT=c:\users\hqm\tools\trunk
export LZ_VENDOR_ROOT=c:\users\hqm\vendor export LZ_INSTALLS_ROOT=c:\users\hqm\lib
export JYTHON_HOME="c:\users\hqm\lib\jython-2.1" export ANT_HOME="c:\users\hqm\lib\apache-ant-1.6.5
" export ANT_OPTS=-Dbuild.debug=on export JAVACC_HOME="c:\users\hqm\lib\javacc2.1"
export PATH=c:/Python22:$PATH:$JYTHON_HOME:$ANT_HOME:$JAVA_HOME/bin export PATH=$PATH:c:/swftools
export TOMCAT_HOME="c:\tomcat5"
alias ls="ls --color=never -F" export DISPLAY="127.0.0.1:0"
export PATH
function lpshome () {
export LPS_HOME=C:\users\hqm\openlaszlo\$ }
lpshome legals
export HOME=`cygpath -wa /home/daddy` . c:/users/hqm/tools/trunk/env/setup-lps.sh $LPS_HOME $LZ_TOOLS_ROOT $LZ_INSTALLS_ROOT
$LZ_VENDOR_ROOT
export SVNCHANGES=c:\users\hqm\svnchanges source c:/users/hqm/tools/trunk/svn/svn-bash.sh alias java=$JAVA_HOME/bin/java.exe
and with svn-bash.sh
Index: svn-bash.sh
=================================================================== --- svn-bash.sh (revision 4325) +++ svn-bash.sh (working copy)
 -11,7 +11,7   # last modified: 2006-10-13 export EDITOR=${EDITOR:-"vim"}
-export SVNCHANGES=${SVNCHANGES HOME/svnchanges} +export SVNCHANGES=/cygdrive/c/users/hqm/svnchanges # Make sure the changes directory exists if ! [ -d $SVNCHANGES ]; then mkdir $SVNCHANGES
 -53,11 +53,14 
function svn-editchange() { changename=${1 {OL_CHANGE_NAME}} change=${SVNCHANGES}/${changename}/change.txt + echo $ if [ -w $ ]; then $EDITOR $ +# emacs -nw ../../svnchanges/${changename}/change.txt
else svn-newchange ${*} $EDITOR ${SVNCHANGES}/${OL_CHANGE_NAME}/change.txt +# emacs -nw ../../svnchanges/${changename}/change.txt fi }
On 4/17/07, Cortlandt Winters < cortrah gmail.com">cortrah gmail.com> wrote:
Hi All,
It seemed time for my quarterly attempt to configure building laszlo from source. I got it working pretty well a couple of times with the old source distributions, but have yet to get it to work since the move to subversion. The last couple of times I failed I assumed it didn't work because I had a few nonstandard things going on, but over the past week I've managed to get my configuration to exactly match what I think the instructions outline and I still get the same error, so I thought I might ask for some help.
Here is the attempt to build and it's error message
http://www.notebookmargins.com/link_from_public/build_problem/simple_failure.gif
You'll see that somehow the test for "LZ_VENDOR_ROOT" in build-opt.xml fails because it is expanding "~" to "/home/Cortlandt" instead of keeping it as a tilde. If I try to cd to $LZ_VENDOR_ROOT, it works fine.
I did notice that line 82 in build.xml didn't reference an "env." like the other refs to the environment variables <fileset dir="${LZ_VENDOR_ROOT}" includes="*.jar" /> but making it
env.LZ_VENDOR_ROOT didn't matter.
I looked at the setup-lps.sh script and can't find anything suspicious. | |