Hi Ben,

I removed, and reinstalled ant and tomcat. I followed your instructions and 
built them in the correct order. I can now do an 'ant clean' without 
getting an error. My versions of catalina-ant.jar were not up to date, but 
that didn't completely solve my problem.

Thanks for the help!

Phil


>Sounds like a rhino problem; our ant build scripts use the apache
>bean scripting framework (BSF) to hook up to rhino to run some
>javascript within the ant build. The helpful error message
>"TypeError: undefined is not a function." means that there's
>something wrong with the java being called by the javascript in the
>script that starts at line 1179 of the build file.
>
>I think I know what this is, though. We upgraded to tomcat 5.0.30 so
>that we could use an api used in ant clean, in webapp.undeploy. This
>means you also have to upgrade catalina-ant.jar in $ANT_HOME/lib. The
>build process does not handle this gracefully. Please check whether
>the catalina-ant.jar file in your $ANT_HOME/lib matches exactly the
>one in $TOMCAT_HOME for tomcat 5.0.30.
>
>If updating this jar fixes the ant clean error, we don't really have
>a bug so much as... growing pains? Not sure how you file growing
>pains in jira.
>
>-ben
>
>On Jul 18, 2006, at 1:51 PM, Philip Romanik wrote:
>
> > Hi,
> >
> > Hopefully somebody can help me with this. I've never gotten 'ant
> > clean' to
> > work without an error since switching to subversion (on Windows). A
> > problem
> > with legals I'm tracking down is probably caused by a cache/temp
> > file issue
> > on my end.
> >
> > Thanks!
> >
> > Phil

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to