Install a newer tomcat, actually -- tomcat 5.0.30.
And copy the catalina-ant.jar over your existing $ANT_HOME/lib/
catalina-ant.jar
Now in vendor, or just get it from the web. Remember to create a user
in conf/tomcat-users.xml.
On Jun 12, 2006, at 1:27 PM, P T Withington wrote:
> Ben fixed this.
>
> You have to sync your tools and your build.xml and install a newer
> ant.
>
> On 2006-06-12, at 15:49 EDT, Max Carlson wrote:
>
>> It always stops either
>> 1. trying to delete the log file, which is locked when the app is
>> deployed.or
>> 2. trying to undeploy the app when it's already installed
>>
>> _____________________________Log when
>> deployed__________________________
>> $ ant clean
>> Buildfile: build.xml
>>
>> build-opt:
>>
>> init:
>> [echo] Ant project:lps on Windows XP 5.1 x86
>> [echo] ant.home: c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] JRE: 1.5.0_05 (Sun Microsystems Inc.)
>> [echo] JAVA_HOME: c:/jdk1.5.0_05
>> [echo] LPS Version: 4.0.x Latest
>> [echo] LPS_HOME: C:\Laszlo\svn\openlaszlo\branches\legals
>> [echo] LZ_VENDOR_ROOT: C:\Laszlo\svn\vendor
>> [echo] LZ_TOOLS_ROOT: C:\Laszlo\svn\tools\trunk
>> [echo] LZ_INSTALLS_ROOT: ${env.LZ_INSTALLS_ROOT}
>> [echo] server.home: ${env.TOMCAT_HOME}
>> [echo] lps.branch: legals
>> [echo] platform: is windows
>> [echo] Skipping prefetch is true
>> [echo] Skipping wrappertest is true
>> [echo] classpath is ${my.classpath}
>> [exec] python version info (2, 2, 3, 'final', 0)
>> [exec] python xml version info (0, 8, 0)
>>
>> init:
>> [echo] ANT_HOME is c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] ANT_LIB is c:/Laszlo/tools/apache-ant-1.6.5/lib
>>
>> install:
>>
>> init:
>> [echo] ANT_HOME is c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] ANT_LIB is c:/Laszlo/tools/apache-ant-1.6.5/lib
>>
>> copy-ant-jars:
>>
>> clean-nocache:
>>
>> build-opt:
>>
>> init:
>>
>> clean-webapp:
>>
>> build-opt:
>>
>> init:
>>
>> clean-cache:
>>
>> webapp.undeploy:
>> [undeploy] FAIL - No context exists for path /legals
>>
>>
>> BUILD FAILED
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:357: The following
>> error occu
>> rred while executing this line:
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:419: The following
>> error occu
>> rred while executing this line:
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:1220: FAIL - No
>> context exist
>> s for path /legals
>>
>> Total time: 2 seconds
>>
>>
>>
>>
>> __________________________Log when
>> undeployed__________________________
>> $ ant clean
>> Buildfile: build.xml
>>
>> build-opt:
>>
>> init:
>> [echo] Ant project:lps on Windows XP 5.1 x86
>> [echo] ant.home: c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] JRE: 1.5.0_05 (Sun Microsystems Inc.)
>> [echo] JAVA_HOME: c:/jdk1.5.0_05
>> [echo] LPS Version: 4.0.x Latest
>> [echo] LPS_HOME: C:\Laszlo\svn\openlaszlo\branches\legals
>> [echo] LZ_VENDOR_ROOT: C:\Laszlo\svn\vendor
>> [echo] LZ_TOOLS_ROOT: C:\Laszlo\svn\tools\trunk
>> [echo] LZ_INSTALLS_ROOT: ${env.LZ_INSTALLS_ROOT}
>> [echo] server.home: ${env.TOMCAT_HOME}
>> [echo] lps.branch: legals
>> [echo] platform: is windows
>> [echo] Skipping prefetch is true
>> [echo] Skipping wrappertest is true
>> [echo] classpath is ${my.classpath}
>> [exec] python version info (2, 2, 3, 'final', 0)
>> [exec] python xml version info (0, 8, 0)
>>
>> init:
>> [echo] ANT_HOME is c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] ANT_LIB is c:/Laszlo/tools/apache-ant-1.6.5/lib
>>
>> install:
>>
>> init:
>> [echo] ANT_HOME is c:/Laszlo/tools/apache-ant-1.6.5
>> [echo] ANT_LIB is c:/Laszlo/tools/apache-ant-1.6.5/lib
>>
>> copy-ant-jars:
>>
>> clean-nocache:
>>
>> build-opt:
>>
>> init:
>>
>> clean-webapp:
>>
>> build-opt:
>>
>> init:
>>
>> clean-cache:
>>
>> webapp.undeploy:
>> [undeploy] FAIL - No context exists for path /legals
>>
>>
>> BUILD FAILED
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:357: The following
>> error occu
>> rred while executing this line:
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:419: The following
>> error occu
>> rred while executing this line:
>> C:\Laszlo\svn\openlaszlo\branches\legals\build.xml:1220: FAIL - No
>> context exist
>> s for path /legals
>>
>> Total time: 2 seconds
>> --
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
>> _______________________________________________
>> Laszlo-dev mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
benjamin shine
software engineer
[EMAIL PROTECTED]
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev