[ spindle-Bugs-1274139 ] Spindle mishandles projects with missing app files
"SourceForge.net" <[email protected]> Sun, 11 Sep 2005 11:54:20 -0700
| Newsgroups | gmane.comp.ide.eclipse.spindle.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1274139, was opened at 2005-08-26 12:06
Message generated for change (Settings changed) made by glongman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459328&aid=1274139&group_id=50321
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Spindle
Group: None
>Status: Closed
Resolution: Fixed
Priority: 7
Submitted By: Pablo Ilardi (pmilardi)
Assigned to: Geoffrey Longman (glongman)
Summary: Spindle mishandles projects with missing app files
Initial Comment:
Hi,
I'm using eclipse 3.1, with spindle 3.2.0. Spindle
reports an error on my servlet XML:
<servlet>
<servlet-name>hangman1</servlet-name>
<!-- Spindle error here -->
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<init-param>
<param-name>org.apache.tapestry.visit-class</param-name>
<param-value>hangman1.Visit</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
saying that the servlet path can not be found. This
class is available since I'm using the plugin with the
libraries it provides.
All this is running on Windows XP professional version.
Thanks.
Regards Pablo.
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-11 14:14
Message:
Logged In: YES
user_id=387057
fixed, will appear in Spindle 3.2.2
----------------------------------------------------------------------
Comment By: Pablo Ilardi (pmilardi)
Date: 2005-09-07 08:45
Message:
Logged In: YES
user_id=965448
Well thanks that worked Just fine .. Thank you very much !
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-07 08:31
Message:
Logged In: YES
user_id=387057
Good news. There is a bug! While I track down the root
cause, here's a the symptom and a workaround.
Tapestry does not require one to have a .application file.
At runtime, if Tapestry can't find one then it will create a
standin application specification and go from there.
Hangman1 falls into this case.
Recently I refactored the code that processes web.xml and,
well, I guess I screwed up as the above case is not handled
correctly.
To work around the problem you need to add a Tapestry
.application file called "hangman1.application" to a folder
called "hangman1" like this...
TapestryInAction/hangman1/context/WEB-INF/hangman1/hangman1.application
The file can be pretty much empty..
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Apache Software Foundation//Tapestry Specification
3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<application name="hangman1">
</application>
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-07 08:16
Message:
Logged In: YES
user_id=387057
ok, that actually gives me something to go with...
----------------------------------------------------------------------
Comment By: Pablo Ilardi (pmilardi)
Date: 2005-09-06 08:44
Message:
Logged In: YES
user_id=965448
Well now the the message changes ...
"ignoring servlet, Unable to resolve path: no location found"
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-06 08:04
Message:
Logged In: YES
user_id=387057
Try installing 3.2.1 and see if that makes any difference.
----------------------------------------------------------------------
Comment By: Pablo Ilardi (pmilardi)
Date: 2005-09-05 09:00
Message:
Logged In: YES
user_id=965448
Hi, I'm attaching now my eclipse log ... but it has nothing
obout spindle
Pablo.
----------------------------------------------------------------------
Comment By: Pablo Ilardi (pmilardi)
Date: 2005-09-03 19:47
Message:
Logged In: YES
user_id=965448
Yes sorry I lost the last email. I'll do it by first hour on
monday. Thanks
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-03 14:01
Message:
Logged In: YES
user_id=387057
can't help without the log
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-08-26 20:24
Message:
Logged In: YES
user_id=387057
could you also attach the eclipse log?
thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459328&aid=1274139&group_id=50321
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf