I've asked Phil (offline) to log a bug report against Spindle.

BTW Spindle does not depend on the entries of web.xml being in any
particular order. All that's required is that web.xml is well formed and
valid (if validation is turned on that is).

Geoff

On 10/5/05, Phil Ulrich <[EMAIL PROTECTED]> wrote:
>
> The entries SHOULD be in the same order Spindle put them in to begin
> with, but here's the entire contents of web.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> <!-- generated by Spindle, http://spindle.sourceforge.net -->
>
>
> <web-app>
> <display-name>AppName</display-name>
> <filter>
> <filter-name>redirect</filter-name>
> <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>redirect</filter-name>
> <url-pattern>/</url-pattern>
> </filter-mapping>
> <servlet>
> <servlet-name>AppName</servlet-name>
> <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>AppName</servlet-name>
> <url-pattern>/app</url-pattern>
> </servlet-mapping>
> </web-app>
>
> On 10/5/05, Andreas Andreou <[EMAIL PROTECTED]> wrote:
> > Could it be an invalid web.xml that's messing things up?
> > Perhaps entries in your web.xml are in an invalid order.
> > Can you show us that file?
> >
> > Phil Ulrich wrote:
> >
> > >I've been working for a while now on a Tapestry project using Spindle
> > >and Eclipse (latest versions of each). About a week or two ago I
> > >altered web.xml to attempt to add support for DWR[1]. Eclipse began
> > >reporting several spurious errors. After discovering DWR wasn't useful
> > >for what I was doing, I took its section back out of web.xml, and
> > >noted that Eclipse was STILL reporting errors that didn't exist - I
> > >know they didn't exist because they were for lines of the file that
> > >weren't there anymore. (Also, they referenced typos that I had made
> > >and already fixed.)
> > >
> > >Apparently, messing with web.xml was the biggest mistake of my entire
> > >life. Eclipse has been slightly screwy since then when working on this
> > >project - reporting that java.lang.Object can't be found, things of
> > >that nature - but as of two days ago I cannot add ANY Tapestry
> > >elements to my project. No pages, no components, nothing. When I try,
> > >Spindle's wizard just displays this message at the top:
> > >
> > >"No valid namespaces found. Maybe the project is not a Tapestry
> project?"
> > >
> > >I'm at a loss, because I have no idea what went wrong in the first
> > >place. Help, please?
> > >
> > >Thanks,
> > >Phil
> > >
> > >[1]: http://getahead.ltd.uk/dwr/
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
The Spindle guy. http://spindle.sf.net
Get help with Spindle:
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates: http://spindle.sf.net/updates

Reply via email to