You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2009/10/20 16:22:34 UTC

svn commit: r827513 - /incubator/pivot/trunk/demos/www/rss_feed.jnlp

Author: smartini
Date: Tue Oct 20 14:22:34 2009
New Revision: 827513

URL: http://svn.apache.org/viewvc?rev=827513&view=rev
Log:
add jnlp for RSS demo

Added:
    incubator/pivot/trunk/demos/www/rss_feed.jnlp

Added: incubator/pivot/trunk/demos/www/rss_feed.jnlp
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/rss_feed.jnlp?rev=827513&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/rss_feed.jnlp (added)
+++ incubator/pivot/trunk/demos/www/rss_feed.jnlp Tue Oct 20 14:22:34 2009
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+%>
+
+<%@ page language="java" contentType="application/x-java-jnlp-file" pageEncoding="UTF-8" %>
+
+<%@ include file="version.jsp" %>
+<%@ include file="jnlp_common.jsp" %>
+
+<jnlp spec="1.6+" codebase="<%= codebase %>" href="<%= href %>">
+    <information>
+        <title>Pivot RSS Feed Demo</title>
+        <vendor>Apache Pivot</vendor>
+        <homepage href="http://incubator.apache.org/pivot/"/>
+        <description>This application demonstrates how to build a simple RSS client in Pivot. It uses a custom list view item renderer to present the news data. Double-clicking an item in the list will open the article in a new window.</description>
+        <icon kind="shortcut" href="logo.png" />
+        <offline-allowed/>
+        <shortcut online="false">
+            <desktop/>
+        </shortcut>
+    </information>
+
+    <resources>
+<%@ include file="jnlp_properties.jsp" %>
+        <java version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
+
+        <extension name="pivot-runtime" href="<%= codebase %>pivot-runtime.jnlp" />
+
+        <jar href="lib/pivot-demos-<%= version %>.jar" main="true" />
+    </resources>
+
+    <application-desc main-class="org.apache.pivot.wtk.DesktopApplicationContext">
+        <argument>org.apache.pivot.demos.rss.RSSFeedDemo</argument>
+    </application-desc>
+    
+    <update check="background" />
+</jnlp>