incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Story (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLEREZZA-282) .ssp handling in Integrated Development Environments (IDE)
Date Wed, 24 Nov 2010 13:56:14 GMT

    [ https://issues.apache.org/jira/browse/CLEREZZA-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935324#action_12935324
] 

Henry Story commented on CLEREZZA-282:
--------------------------------------

The code required to turn any ssp into a scala class is given here Reto told me yesterday

http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/org/apache/clerezza/platform/typerendering/scalaserverpages/implicit-header.txt?view=markup

ie:

1       import org.apache.clerezza.rdf.ontologies._
2	import org.apache.clerezza.rdf.core._
3	import org.apache.clerezza.rdf.utils._
4	import org.apache.clerezza.rdf.scala.utils._
5	import org.apache.clerezza.rdf.scala.utils.Preamble._
6	import org.apache.clerezza.platform.typerendering.scala._
7	import javax.ws.rs.core.UriInfo
8	
9	 class CompilesScalaServerPage extends AbstractRenderlet {
10	
11	        override def renderedPage(arguments: RenderedPage.Arguments): RenderedPage = {
12	                new RenderedPage(arguments) {
13	                        override def content = {

....

end   }



> .ssp handling in Integrated Development Environments (IDE)
> ----------------------------------------------------------
>
>                 Key: CLEREZZA-282
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-282
>             Project: Clerezza
>          Issue Type: Wish
>         Environment: Netbeans, but other IDEs probably too
>            Reporter: Henry Story
>         Attachments: screenshot-1.jpg
>
>
> SSP stands for Scala Server Pages. The advantage of Scala Server Pages should be that
they are Scala. But they are not. As a result IDEs don't really work
> correctly with them as shown in the picture. This means that the IDE cannot function
as powerfully as it should. One should be able to jump to documentation
> for classes used for example, have completion working etc... Instead we have a very non
standard language, which does not even have the advantage of being
> XML (for which many editor modes exist), and for which there are very few developers
available.
> So either one should make the Scala be proper Scala or ...? 
> Btw.
> The hint for the red lines here say "Expected Class or Object definition"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message