What do you get when you dump your environment vars?
http://wiki.openlaszlo.org/SubversionBuildInstructions#Set_environment_variables

echo $ANT_HOME
echo $JAVA_HOME
echo $JAVACC_HOME
echo $TOMCAT_HOME
echo $CATALINA_HOME
echo $LPS_HOME

cd $ANT_HOME
cd $JAVA_HOME
cd $JAVACC_HOME
cd $TOMCAT_HOME
cd $CATALINA_HOME
cd $LPS_HOME

Are all the folder found?

The error you are getting with the Ant build is related to the fact
that Ant cannot find the catalina-ant.jar (contains the classes for
undeploying/redeploying a webapp).

Does your $ANT_HOME/lib folder contain catalina-ant.jar?

- Raju

On Tue, Oct 4, 2011 at 12:57 AM, Amy Muntz <[email protected]> wrote:
> Do you have these environment variables defined?  In Windows, it is:
>
>
>
> set TOMCAT_HOME=C:\Tomcat5\bin
>
> set CATALINA_HOME=%TOMCAT_HOME%
>
>
>
> On Sat, Oct 1, 2011 at 11:50 AM, Rami Ojares / AMG <[email protected]>
> wrote:
>>
>> And when the build starts I get
>>
>> Buildfile: /root/openlaszlo-svn/src/svn/openlaszlo/trunk/build.xml
>>     [echo] build.url is ${build.url}
>>     [echo] dont-need-svn-info is ${dont-need-svn-info}
>>  [taskdef] Could not load definitions from resource
>> net/sf/antcontrib/antcontrib.properties. It could not be found.
>>
>> BUILD FAILED
>> /root/openlaszlo-svn/src/svn/openlaszlo/trunk/build.xml:1411: The
>> following error occurred while executing this line:
>>
>> /root/openlaszlo-svn/src/svn/openlaszlo/trunk/build-tools/tomcat-manager-ant-macros.xml:15:
>> taskdef class org.apache.catalina.ant.ReloadTask cannot be found
>>  using the classloader AntClassLoader[]
>>
>> I'm quessing that setting the $HOME needs to be set globally for all
>> shells.
>> I can not do that because that will mess up my OS.
>>
>> maybe putting the top level "src" and "lib" directories directly under
>> /root
>> could solve it but that sound very dirty too...
>>
>> Anyone have ideas? Help?
>>
>> - rami
>
>

Reply via email to