You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/10/29 15:35:44 UTC

svn commit: r1028733 [1/3] - in /pivot/trunk: demos/xsl/ examples/src/org/apache/pivot/examples/svg/ tutorials/src/org/apache/pivot/tutorials/labels/ tutorials/www/ tutorials/xsl/ wtk/src/org/apache/pivot/wtk/

Author: gbrown
Date: Fri Oct 29 13:35:44 2010
New Revision: 1028733

URL: http://svn.apache.org/viewvc?rev=1028733&view=rev
Log:
Add SVG tutorial example.

Added:
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo-64x64.png   (with props)
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo.svg
    pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/svg.bxml
    pivot/trunk/tutorials/www/svg-images.xml
Modified:
    pivot/trunk/demos/xsl/demo.html.xsl
    pivot/trunk/demos/xsl/demo.jnlp.xsl
    pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml
    pivot/trunk/tutorials/www/index.xml
    pivot/trunk/tutorials/xsl/tutorial.xsl
    pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java

Modified: pivot/trunk/demos/xsl/demo.html.xsl
URL: http://svn.apache.org/viewvc/pivot/trunk/demos/xsl/demo.html.xsl?rev=1028733&r1=1028732&r2=1028733&view=diff
==============================================================================
--- pivot/trunk/demos/xsl/demo.html.xsl (original)
+++ pivot/trunk/demos/xsl/demo.html.xsl Fri Oct 29 13:35:44 2010
@@ -95,6 +95,16 @@ limitations under the License.
                 <xsl:text><![CDATA[");
                 ]]></xsl:text>
             </xsl:for-each>
+
+            <xsl:choose>
+                <xsl:when test='$signed'>
+                    libraries.push("lib/svgSalamander-tiny.signed.jar");
+                </xsl:when>
+                <xsl:otherwise>
+                    libraries.push("lib/svgSalamander-tiny.jar");
+                </xsl:otherwise>
+            </xsl:choose>
+
             attributes.archive = libraries.join(",");
 
             <!-- Base parameters -->

Modified: pivot/trunk/demos/xsl/demo.jnlp.xsl
URL: http://svn.apache.org/viewvc/pivot/trunk/demos/xsl/demo.jnlp.xsl?rev=1028733&r1=1028732&r2=1028733&view=diff
==============================================================================
--- pivot/trunk/demos/xsl/demo.jnlp.xsl (original)
+++ pivot/trunk/demos/xsl/demo.jnlp.xsl Fri Oct 29 13:35:44 2010
@@ -110,6 +110,15 @@ limitations under the License.
                     </xsl:if>
                 </xsl:element>
             </xsl:for-each>
+
+            <xsl:choose>
+                <xsl:when test='$signed'>
+                    libraries.push("lib/svgSalamander-tiny.signed.jar");
+                </xsl:when>
+                <xsl:otherwise>
+                    libraries.push("lib/svgSalamander-tiny.jar");
+                </xsl:otherwise>
+            </xsl:choose>
         </resources>
 
         <application-desc main-class="org.apache.pivot.wtk.DesktopApplicationContext">

Modified: pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml?rev=1028733&r1=1028732&r2=1028733&view=diff
==============================================================================
--- pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml (original)
+++ pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml Fri Oct 29 13:35:44 2010
@@ -16,7 +16,7 @@ See the License for the specific languag
 limitations under the License.
 -->
 
-<Window title="SVGImage Demo" maximized="true"
+<Window title="SVG Example" maximized="true"
     xmlns:bxml="http://pivot.apache.org/bxml"
     xmlns:content="org.apache.pivot.wtk.content"
     xmlns:svg="biz.ixnay.demos.svg"

Added: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo-64x64.png
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo-64x64.png?rev=1028733&view=auto
==============================================================================
Binary file - no diff available.

Propchange: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/labels/logo-64x64.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream