You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2009/06/05 14:56:07 UTC

[jira] Created: (PIVOT-140) Create Demos for other major JVM Scripting languages

Create Demos for other major JVM Scripting languages
----------------------------------------------------

                 Key: PIVOT-140
                 URL: https://issues.apache.org/jira/browse/PIVOT-140
             Project: Pivot
          Issue Type: Improvement
            Reporter: Sandro Martini
            Assignee: Sandro Martini
            Priority: Minor
             Fix For: 1.3


Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).


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


Re: [jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by Sandro Martini <sa...@gmail.com>.
Ok, thanks for the hints.

Sandro

Re: [jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by Todd Volkert <tv...@gmail.com>.
It's the fact that the code won't run unless the demo links against the
appropriate jar file containing the scripting engine (and that fact that we
then have to include that jar file) that's the problem.  Our tutorial web
pages could very well contain sections like "this is how you would do that
same thing in Groovy, .... and Scala, ....".

But also, there's nothing wrong with writing demos that don't get checked in
to SVN or shipped with our distributions.  We as a community need to be
better about writing articles and getting ourselves "out there".  Demos
serve as a great way to do just that, even if they don't live in our code
base.

-T

On Fri, Sep 4, 2009 at 11:45 AM, Sandro Martini <sa...@gmail.com>wrote:

> Ok, excuse me, to ensure that I have understand:
> we can't host inside a tutorial web page a fragment of source code
> (but without sources outside this HTML page, and without binary code)
> like the following, and only referring from there to the Home Page of
> that language ?
>
> Scripting Pivot with Scala:
>
> bla bla bla ...
>
> Sample Code:
>
>  object HelloWorld {
>    def main(args: Array[String]) {
>      println("Hello, world!")
>    }
>  }
>
>
>
> Scripting Pivot with Jython (http:// ...):
>
> ...
>
> Sample Code:
>
> print "Hello."
>
> ...
>
>
>
> If we can't publish also samples like these, we can close the related
> JIRA ticket, but at least could be interesting (for us, and for Pivot
> users) to ensure that some languages are compatible, and so we should
> try to make some (private) test, and write in Pivot documentation on
> what languages we have tried and are or aren't compatible, right ?
>
>
> Sandro
>

Re: [jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by Greg Brown <gk...@mac.com>.
I'm sure we could include code snippets such as that in an HTML page,  
but we wouldn't be able to include the original source or libraries  
required to build and run the example. Without that, such examples  
would seem out of place in the Pivot distribution.


On Sep 4, 2009, at 11:45 AM, Sandro Martini wrote:

> Ok, excuse me, to ensure that I have understand:
> we can't host inside a tutorial web page a fragment of source code
> (but without sources outside this HTML page, and without binary code)
> like the following, and only referring from there to the Home Page of
> that language ?
>
> Scripting Pivot with Scala:
>
> bla bla bla ...
>
> Sample Code:
>
>  object HelloWorld {
>    def main(args: Array[String]) {
>      println("Hello, world!")
>    }
>  }
>
>
>
> Scripting Pivot with Jython (http:// ...):
>
> ...
>
> Sample Code:
>
> print "Hello."
>
> ...
>
>
>
> If we can't publish also samples like these, we can close the related
> JIRA ticket, but at least could be interesting (for us, and for Pivot
> users) to ensure that some languages are compatible, and so we should
> try to make some (private) test, and write in Pivot documentation on
> what languages we have tried and are or aren't compatible, right ?
>
>
> Sandro


Re: [jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by Sandro Martini <sa...@gmail.com>.
Ok, excuse me, to ensure that I have understand:
we can't host inside a tutorial web page a fragment of source code
(but without sources outside this HTML page, and without binary code)
like the following, and only referring from there to the Home Page of
that language ?

Scripting Pivot with Scala:

bla bla bla ...

Sample Code:

  object HelloWorld {
    def main(args: Array[String]) {
      println("Hello, world!")
    }
  }



Scripting Pivot with Jython (http:// ...):

...

Sample Code:

print "Hello."

...



If we can't publish also samples like these, we can close the related
JIRA ticket, but at least could be interesting (for us, and for Pivot
users) to ensure that some languages are compatible, and so we should
try to make some (private) test, and write in Pivot documentation on
what languages we have tried and are or aren't compatible, right ?


Sandro

[jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716608#action_12716608 ] 

Greg Brown commented on PIVOT-140:
----------------------------------

As I mentioned, I don't think there's much of an advantage to building a demo that uses Rhino specifically. Java 6 (except for OS X) already includes a JS engine (a modified version of Rhino, IIRC). However, demos using the other languages would be most welcome.



> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751488#action_12751488 ] 

Todd Volkert commented on PIVOT-140:
------------------------------------

We will only be able to say that you can specify the script language for the matching scripting engine that you use, and we can say "e.g. Groovy, Scala, etc.".  But we won't be able to *host* such code examples in our SVN or distributions, because doing so would add significant girth to our NOTICE and LICENSE files, which burdens our downstream users too much -- especially given that all we really need to demo is the ability to script Pivot (what you can do in the various scripting languages is really more a demo of that language, not of Pivot).

> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Updated: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert updated PIVOT-140:
-------------------------------

    Component/s: demos

> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Updated: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-140:
-----------------------------

    Fix Version/s:     (was: 1.3.2)
                   1.3.1

> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Resolved: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-140.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.3.1)

Resolving as won't fix, since, per discussion on pivot-dev, we won't be including any scripting demos in the Pivot distribution that are based on languages that aren't included with the JDK.





> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Updated: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-140:
-----------------------------

    Fix Version/s:     (was: 1.3)
                   1.3.1

> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Sandro Martini (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751485#action_12751485 ] 

Sandro Martini commented on PIVOT-140:
--------------------------------------

So we could think on adding only a page in the tutorials containing a portion of working code, only to explain how this works.
Or also this is forbidden by licensing issues ?


> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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


[jira] Commented: (PIVOT-140) Create Demos for other major JVM Scripting languages

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751483#action_12751483 ] 

Greg Brown commented on PIVOT-140:
----------------------------------

Note that any script demos other than JavaScript will most likely not be included in the Pivot distribution due to licensing issues.


> Create Demos for other major JVM Scripting languages
> ----------------------------------------------------
>
>                 Key: PIVOT-140
>                 URL: https://issues.apache.org/jira/browse/PIVOT-140
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Create a Demo like that for Groovy but for other major JVM Scripting languages, like: 
> Scala, Jython, and maybe Mozilla Rhino (Mozilla Java version of JavaScript engine).

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