List Info

Thread: Quarterly Svn Build Attempt Question




Quarterly Svn Build Attempt Question
user name
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=&quot;*.jar&quot; /> 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;
&nbsp;C:cygwinhomeCortandtlibpython22;
 C:cygwinhomeCortandtlibapache-ant-1.6.5bin ;
 F:Komodo;
 %SystemRoot%system32;
 %SystemRoot%;%SystemRoot%System32Wbem;
 C:Program FilesCommon FilesAutodesk Shared;
&nbsp;C:Program Filesbackburner 2;
 C:Program FilesMicrosoft SQL Server80ToolsBinn;
 C:Subversionbin;
 C:Program FilesQuickTimeQTSystem;
 C:PROGRA~1SecureFX;
&nbsp;C:Program FilesIDM Computer SolutionsUltraEdit-32

(I also tried adding javacc explicitly, but that didn't matter)

Re: Quarterly Svn Build Attempt Question
user name
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&quot; ] ; then
#&nbsp;  PATH=${HOME}/bin:${PATH}
# fi

# Set MANPATH so it includes users' private man if it exists
# if [ -d "${HOME}/man&quot; ]; then
#&nbsp;  MANPATH=${HOME}/man:$
# fi

# Set INFOPATH so it includes users' private info if it exists
# if [ -d "${HOME}/info&quot; ]; then
#&nbsp;  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=&quot;c:\users\hqm\lib\apache-ant-1.6.5 &quot;
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&quot;

alias ls="ls --color=never -F"
export DISPLAY=&quot;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 &nbsp;  (revision 4325)
+++ svn-bash.sh &nbsp;  (working copy)
-11,7 +11,7
 # last modified: 2006-10-13
 
&nbsp;export EDITOR=${EDITOR:-&quot;vim"}
-export SVNCHANGES=${SVNCHANGESHOME/svnchanges}
+export SVNCHANGES=/cygdrive/c/users/hqm/svnchanges
 # Make sure the changes directory exists
&nbsp;if ! [ -d $SVNCHANGES ]; then
 ; &nbsp; &nbsp; mkdir $SVNCHANGES
-53,11 +53,14
 function svn-editchange() {
 &nbsp; &nbsp; changename=${1{OL_CHANGE_NAME}}
&nbsp; &nbsp;  change=${SVNCHANGES}/${changename}/change.txt
+ &nbsp;  echo $
  ; &nbsp; if [ -w $ ]; then
 ; &nbsp; &nbsp; &nbsp;  $EDITOR $
+# &nbsp; &nbsp; &nbsp;  emacs -nw ../../svnchanges/${changename}/change.txt
 &nbsp; &nbsp; else
 ; &nbsp; &nbsp; &nbsp;  svn-newchange ${*}
 ; &nbsp; &nbsp; &nbsp;  $EDITOR ${SVNCHANGES}/${OL_CHANGE_NAME}/change.txt
+# &nbsp; &nbsp; &nbsp;  emacs -nw ../../svnchanges/${changename}/change.txt
&nbsp;   ; fi
 }
 


On 4/17/07, Cortlandt Winters < cortrahgmail.com">cortrahgmail.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&quot; in build-opt.xml fails because it is expanding "~&quot; 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=&quot;*.jar&quot; /> 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;
&nbsp;C:cygwinhomeCortandtlibpython22;
 C:cygwinhomeCortandtlibapache-ant-1.6.5bin ;
 F:Komodo;
&nbsp;%SystemRoot%system32;
 %SystemRoot%;%SystemRoot%System32Wbem;
 C:Program FilesCommon FilesAutodesk Shared;
&nbsp;C:Program Filesbackburner 2;
 C:Program FilesMicrosoft SQL Server80ToolsBinn;
 C:Subversionbin;
 C:Program FilesQuickTimeQTSystem;
 C:PROGRA~1SecureFX;
&nbsp;C:Program FilesIDM Computer SolutionsUltraEdit-32

(I also tried adding javacc explicitly, but that didn't matter)




--
Henry Minsky
Software Architect
hminskylaszlosystems.com">hminskylaszlosystems.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )