sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1591950 - in /sis/branches/JDK8/application/sis-javafx: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/sis/ src/main/java/org/apache/sis/gui/
Date Fri, 02 May 2014 15:31:31 GMT
Author: desruisseaux
Date: Fri May  2 15:31:30 2014
New Revision: 1591950

URL: http://svn.apache.org/r1591950
Log:
Created an initially empty sis-javafx module for Google Summer of Code development.

Added:
    sis/branches/JDK8/application/sis-javafx/   (with props)
    sis/branches/JDK8/application/sis-javafx/pom.xml
      - copied, changed from r1591678, sis/branches/JDK8/application/sis-console/pom.xml
    sis/branches/JDK8/application/sis-javafx/src/
    sis/branches/JDK8/application/sis-javafx/src/main/
    sis/branches/JDK8/application/sis-javafx/src/main/java/
    sis/branches/JDK8/application/sis-javafx/src/main/java/org/
    sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/
    sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/
    sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/
    sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
  (with props)

Propchange: sis/branches/JDK8/application/sis-javafx/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri May  2 15:31:30 2014
@@ -0,0 +1 @@
+target

Copied: sis/branches/JDK8/application/sis-javafx/pom.xml (from r1591678, sis/branches/JDK8/application/sis-console/pom.xml)
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/application/sis-javafx/pom.xml?p2=sis/branches/JDK8/application/sis-javafx/pom.xml&p1=sis/branches/JDK8/application/sis-console/pom.xml&r1=1591678&r2=1591950&rev=1591950&view=diff
==============================================================================
--- sis/branches/JDK8/application/sis-console/pom.xml (original)
+++ sis/branches/JDK8/application/sis-javafx/pom.xml Fri May  2 15:31:30 2014
@@ -36,13 +36,13 @@
            Module Description
        =========================================================== -->
   <groupId>org.apache.sis.application</groupId>
-  <artifactId>sis-console</artifactId>
+  <artifactId>sis-javafx</artifactId>
   <packaging>bundle</packaging>
-  <name>Apache SIS console</name>
+  <name>Apache SIS application for JavaFX</name>
   <description>
   <!-- Left alignment because this description will be copied in META-INF/MANIFEST.MF
        The leading space after the first line is necessary for proper formatting. -->
-Console application.
+Client application for JavaFX.
   </description>
 
 
@@ -51,12 +51,7 @@ Console application.
        =========================================================== -->
   <developers>
     <developer>
-      <name>Martin Desruisseaux</name>
-      <id>desruisseaux</id>
-      <email>desruisseaux@apache.org</email>
-      <organization>Geomatys</organization>
-      <organizationUrl>http://www.geomatys.com</organizationUrl>
-      <timezone>+1</timezone>
+      <name>Roshan Lakmal</name>
       <roles>
         <role>developer</role>
       </roles>
@@ -70,30 +65,13 @@ Console application.
   <build>
     <plugins>
 
-      <!-- Declare the main class -->
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.apache.sis.console.Command</mainClass>
-            </manifest>
-          </archive>
-          <skipIfEmpty>true</skipIfEmpty>
-        </configuration>
-      </plugin>
-
       <!-- Package as OSGi bundle -->
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <instructions>
-            <Export-Package>
-              org.apache.sis.console
-            </Export-Package>
-            <Main-Class>org.apache.sis.console.Command</Main-Class>
-            <Bundle-SymbolicName>org.apache.sis.console</Bundle-SymbolicName>
+            <Bundle-SymbolicName>org.apache.sis.gui</Bundle-SymbolicName>
           </instructions>
         </configuration>
       </plugin>
@@ -106,32 +84,9 @@ Console application.
        =========================================================== -->
   <dependencies>
     <dependency>
-      <groupId>org.apache.sis.storage</groupId>
-      <artifactId>sis-netcdf</artifactId>
-      <version>${project.version}</version>
-      <scope>runtime</scope>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <!-- For UCAR NetCDF -->
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-jdk14</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.opengis.wrapper</groupId>
-      <artifactId>geoapi-netcdf</artifactId>
-      <version>${geoapi.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>org.apache.sis.core</groupId>
       <artifactId>sis-metadata</artifactId>
       <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
     </dependency>
   </dependencies>
 

Added: sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java?rev=1591950&view=auto
==============================================================================
--- sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
(added)
+++ sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
[UTF-8] Fri May  2 15:31:30 2014
@@ -0,0 +1,46 @@
+/*
+ * 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.
+ */
+package org.apache.sis.gui;
+
+import javafx.application.Application;
+import javafx.stage.Stage;
+
+
+/**
+ * The starting point of SIS application for JavaFX.
+ *
+ * @author  Roshan Lakmal
+ * @since   0.5
+ * @version 0.5
+ * @module
+ */
+public class ClientApplication extends Application {
+    /**
+     * Creates a new SIS application.
+     */
+    public ClientApplication() {
+    }
+
+    /**
+     * Creates and show the Graphical User Interface (GUI).
+     *
+     * @param stage The window where to display the GUI.
+     */
+    @Override
+    public void start(final Stage stage) {
+    }
+}

Propchange: sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/application/sis-javafx/src/main/java/org/apache/sis/gui/ClientApplication.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8



Mime
View raw message