incubator-clerezza-dev mailing list archives

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


Henry Story commented on CLEREZZA-282:

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


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
9	 class CompilesScalaServerPage extends AbstractRenderlet {
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:
>             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
> 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.

View raw message