You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Mayne, Peter" <Pe...@ap.spherion.com> on 2003/11/05 01:33:00 UTC

RE: Spindle 3.0.15 available (problems with Eclipse 3.0M4)

I've just installed Spindle 3.0.15 on Eclipse 3.0M4, and marked my existing
project as a Tapestry project, with the context root at /. (My WEB-INF is
directly below the project directory.)

My project icon has a red problem marker on it, but there's no indication of
what the problem is, or where it might be.

All of my .page and .jwc files in the Package Explorer have the orange icon,
but I had to manually associate the .html files with the green H icon. The
.application also has the orange icon.

This differs from the screenshots, which have .jwc files with a purple icon,
and .page files with a purple P icon.

When I open the .application file, I just get the XML editor, as in
sourceLarge.jpg. There's no nice looking .application editor as shown in
screenLarge.jpg.

When I edit a .jwc file, and add an element such as
"<xproperty-specification type="int"/>", I get no indications that this is
illegal, even after doing a project rebuild.

I don't get outline view that looks anything like the screenshots.

Creating a new project which puts WEB-INF below a context directory gives me
the same stuff.

So, all that Spindle has given me is a problem marker, some icons, and a
replacement XML editor (instead of the XML Buddy plugin). Since Spindle
seems to be working wonderfully for others, I'm obviously doing something
wrong, but what? (Apart from using an unsupported version of Eclipse, that
is. :-)

Thanks.

PJDM
-- 
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
T: 61 2 62689727  F: 61 2 62689777

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.



Re: Spindle 3.0.15 available (problems with Eclipse 3.0M4)

Posted by Colin Sampaleanu <co...@exis.com>.
I believe you are talking about the screenshots for Spindle 1.15. I 
think in the 3.0 alphas there is no specialized .application editor as 
in 1.15, with the 5 different sections on it, just the smart xml editor 
view which is aware of the proper format of the .application file, and 
can show you errors in it. From my point of view this is more useful 
than the old specialized view, in that it's much faster to get the 
content in. There is also an accompanying outline view for each of the 
.application, spec, and template editors.

As to why the xml views are not working properly for you, unfortunately 
I have no idea. You may want to see what happens if you move the context 
to a subdirectory as opposed to making it the same as the root of your 
project. Spindle may not be able to handle that. Personally I don't 
think it's a correct thing to do anyways (regardless of Spindle), since 
that means that eveything in your project, all sources and targets 
included, really have to be considered as being part of your webapp 
(short of using some filters when you actually generate the .war file, 
which is what I guess you are doing), and that doesn't make sense. It's 
cleaner to put the context under something like:
  /src/web
or
   /web
or
  /context
etc. (but that's just my opinion :-) ).

Regards,
Colin

Mayne, Peter wrote:

> I've just installed Spindle 3.0.15 on Eclipse 3.0M4, and marked my 
> existing project as a Tapestry project, with the context root at /. 
> (My WEB-INF is directly below the project directory.)
>
> My project icon has a red problem marker on it, but there's no 
> indication of what the problem is, or where it might be.
>
> All of my .page and .jwc files in the Package Explorer have the orange 
> icon, but I had to manually associate the ..html files with the green 
> H icon. The .application also has the orange icon.
>
> This differs from the screenshots, which have .jwc files with a purple 
> icon, and .page files with a purple P icon.
>
> When I open the .application file, I just get the XML editor, as in 
> sourceLarge.jpg. There's no nice looking .application editor as shown 
> in screenLarge.jpg.
>
> When I edit a .jwc file, and add an element such as 
> "<xproperty-specification type="int"/>", I get no indications that 
> this is illegal, even after doing a project rebuild.
>
> I don't get outline view that looks anything like the screenshots.
>
> Creating a new project which puts WEB-INF below a context directory 
> gives me the same stuff.
>
> So, all that Spindle has given me is a problem marker, some icons, and 
> a replacement XML editor (instead of the XML Buddy plugin). Since 
> Spindle seems to be working wonderfully for others, I'm obviously 
> doing something wrong, but what? (Apart from using an unsupported 
> version of Eclipse, that is. :-)
>
> Thanks.
>
> PJDM
> -- 
> Peter Mayne
> Technology Consultant
> Spherion Technology Solutions
> Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
> T: 61 2 62689727  F: 61 2 62689777
>
>The information contained in this email and any attachments to it:
>
>(a) may be confidential and if you are not the intended recipient, any interference with, 
>use, disclosure or copying of this material is unauthorised and prohibited; and
>
>(b) may contain personal information of the recipient and/or the sender as defined 
>under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
>collect, hold and use such information and any personal information contained in a 
>response to this email, for any reasonable purpose in the ordinary course of 
>Spherion's 
>business, including forwarding this email internally or disclosing it to a third party. All 
>personal information collected by Spherion will be handled in accordance with 
>Spherion's Privacy Policy. If you have received this email in error, please notify the 
>sender and delete it.
>
>(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
>this email and any attachments without first entering into a contractual agreement with 
>Spherion. You further agree not to divulge any information contained in this document 
>to any person(s) or entities without the express permission of Spherion.
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Spindle 3.0.15 available (problems with Eclipse 3.0M4)

Posted by Geoff Longman <gl...@intelligentworks.com>.

> I've just installed Spindle 3.0.15 on Eclipse 3.0M4, and marked my
existing
> project as a Tapestry project, with the context root at /. (My WEB-INF is
> directly below the project directory.)

please read the 'Requirments' section at
http://tapestry.sourceforge.net/wiki/index.php/SpindleAlpha
WEB-INF can't be right under the project.

>
> My project icon has a red problem marker on it, but there's no indication
of
> what the problem is, or where it might be.

In 2.1.x there was the Task view that wouldshow you the markers and thier
messages. In 2.1.x you might have to set the view filter to 'on this
resource and all its children'. Otherwise the view will be so full of stuff
you might miss the marker your interested in. In 3.0 I think (but can't
confirm) that the task view has been split out into a couple of views.

>
> All of my .page and .jwc files in the Package Explorer have the orange
icon,
> but I had to manually associate the .html files with the green H icon. The
> .application also has the orange icon.


See the 'Note about the editors' section of the wiki page (link above). Old
spindle and new Spindle don'tplay well together.

>
> This differs from the screenshots, which have .jwc files with a purple
icon,
> and .page files with a purple P icon.

There are no screenshot for Spindle 3.0 - you're looking at screenshots of
the old Spindle. When Spindle 3.0.x goes beta, the screenshots on the site
will be updated.

>
> When I open the .application file, I just get the XML editor, as in
> sourceLarge.jpg. There's no nice looking .application editor as shown in
> screenLarge.jpg.

See last comment

>
> When I edit a .jwc file, and add an element such as
> "<xproperty-specification type="int"/>", I get no indications that this is
> illegal, even after doing a project rebuild.

please enter a bug here:

https://sourceforge.net/tracker/?func=add&group_id=50321&atid=459328

In general there are a few things that can help me track down  problem:

attach eclipse/workspace/.metadata/.log to the bug (even better delete .log,
reproduce, then attach .log)

If your project is small and you are willing, zip it up and attach it to the
bug (make sure to include .project .classpath and .tapestryplugin in the
zip).

>
> I don't get outline view that looks anything like the screenshots.

Once again, there are no screenshots for these alpha builds

>
> Creating a new project which puts WEB-INF below a context directory gives
me
> the same stuff.

Huh?


>
> So, all that Spindle has given me is a problem marker, some icons, and a
> replacement XML editor (instead of the XML Buddy plugin). Since Spindle
> seems to be working wonderfully for others, I'm obviously doing something
> wrong, but what? (Apart from using an unsupported version of Eclipse, that
> is. :-)

Well, one thing that Spindle has that XMLBuddy does not is Tapestry specific
syntax completion.

Try hitting ctrl-space in a jwcid or in the type attribute of a <component>
tag. There are others.


Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org