[Laszlo-dev] ant install dose not progress

Henry Minsky henry.minsky at gmail.com
Wed Sep 19 18:34:10 PDT 2007


My experience using Windows XP and cygwin, with the top-of-tree
development branch

+  I start tomcat with $TOMCAT_HOME/bin/startup.sh

+ I install the webapp with

ant webapp.deploy

+ I rebuild the app using

ant webapp.undeploy build webapp.deploy

If I need to do ant clean, I *must* kill the tomcat process, otherwise
some files cannot be deleted.

If some jar file in WEB-INF/lib needs to be updated, I usually need to
kill the tomcat process as well.  As Ben said, there are some file
handles which Windows will not release while the Tomcat process is running.







On 9/19/07, keiji Ono <keiji_ono at net8.co.jp> wrote:
>
> Thank you Ben, it worked great. :)
> As you said, i started the tomcat by using catalina.sh. After that, 'ant
> install' succeeded.
> I wonder 'ant start' did not working on it.
>
> Thank you,
> mt1
>
> Benjamin Shine wrote:
>
> > Yep, we added webapp.install in the great build.xml rework of 06.
> >
> > WinXP can be extremely annoying about letting go of locks to files it
> > thinks it has open -- I think that's what you're seeing here.
> >
> > Try shutting down tomcat, shutting down your machine, restarting your
> > machine, restarting tomcat, then doing ant install. Sorry, I know
> > that's a pain, but it's a windows thing, not our fault!
> >
> > Does that work?
> >
> > -ben
> >
> >
> > On Sep 19, 2007, at 4:42 AM, mt1 wrote:
> >
> >> Thank you J, but unfortunately there is not the target name,
> >> webapp.install, in build.xml.
> >>
> >> mt1
> >>
> >> J Crowley wrote:
> >>
> >>> Hrmm, have you tried:
> >>>
> >>> ant webapp.install
> >>>
> >>> On Sep 19, 2007, at 4:48 AM, mt1 wrote:
> >>>
> >>>> Hi all,
> >>>> I think it was very tiny problem for you, but tell me something.
> >>>> It was build procedure issue on 3.3.3.
> >>>> I have succeeded 'ant build' and 'ant start', but 'ant install' have
> >>>> not progressed.
> >>>> My environment are Win XP and Cygwin.
> >>>> The echo messages were as below,
> >>>>
> >>>> $ant install
> >>>> Buildfile: build.xml
> >>>> build-opt:
> >>>> init:
> >>>> [echo] Ant project:lps on Windows XP 5.1 x86
> >>>> [echo] ant.home: C:\cygwin\home\mt1\OpenLaszlo\3.3.3_src
> >>>> \trunk\lps-3.3.3-src\tools\jakarta-ant-1.5.1
> >>>> [echo] JRE: 1.5.0_06(Sun Microsystems Inc.)
> >>>> [echo] JAVA_HOME: c:\Program Files\Java\jdk1.5.0_06
> >>>> [echo] LPS Version: 3.3.3 Production
> >>>> [echo] LPS_HOME: C:\cygwin\home\mt1\OpenLaszlo\3.3.3_src
> >>>> \trunk\lps-3.3.3-src\lps-3.3.3
> >>>> [echo] server.home: C:\cygwin\home\mt1\loc\jakarta- tomcat-5.0.24
> >>>> [echo] lps.branch: lps-3.3.3
> >>>> [echo] platform: is windows
> >>>> [echo] Skipping noship
> >>>> [echo] python version info(2,2,2,'final',0)
> >>>> [echo] python xml version info(0,8,0)
> >>>> install:
> >>>>
> >>>> How can i do well it?
> >>>> Thank you.
> >>>>
> >>>> mt1
> >>>>
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070919/c778abe1/attachment.html


More information about the Laszlo-dev mailing list