Author: remi
Date: 2009-04-10 16:47:03 +0200 (Fri, 10 Apr 2009)
New Revision: 4486

Modified:
   
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/pom.xml
   
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/resources/gadget.xml
   
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/sources/com/kysoh/gadgets/shortcut/ShortcutGadget.java
Log:
* adapted the gadget to perfectly run in the python framework.
* bumped to 1.2

Modified: 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/pom.xml
===================================================================
--- 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/pom.xml
 2009-04-10 14:40:42 UTC (rev 4485)
+++ 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/pom.xml
 2009-04-10 14:47:03 UTC (rev 4486)
@@ -4,7 +4,7 @@
     <groupId>com.kysoh</groupId>
     <artifactId>tuxdroid-gadget-shortcut</artifactId>
     <packaging>jar</packaging>
-    <version>1.1</version>
+    <version>1.2</version>
     <name>Shortcut launcher for Tux Droid</name>
     <url>http://www.tuxisalive.com</url>
     
@@ -13,7 +13,7 @@
        <dependency>
            <groupId>com.kysoh</groupId>
            <artifactId>tuxdroid-gadget-java-kit</artifactId>
-           <version>0.0.1</version>
+           <version>0.0.2</version>
        </dependency>
     </dependencies>
     
@@ -70,10 +70,14 @@
                                <copy 
file="${project.build.directory}/${project.artifactId}-${project.version}.jar"
                                    todir="./libraries" />
                                <zip destfile="./${project.artifactId}.tgf">
-                                   <zipfileset dir="." includes="resources/*" 
/>
-                                   <zipfileset dir="." includes="libraries/*" 
/>
-                                   <zipfileset dir="." 
includes="executables/*" />
-                               </zip>
+                    <zipfileset dir="." includes="resources/*" />
+                    <zipfileset dir="." includes="libraries/*" >
+                        <exclude name="libraries/tuxdroid-gadget-java-kit*" />
+                        <exclude name="libraries/karmalab-commons*" />
+                        <exclude name="libraries/tuxdroid-java-api*" />
+                    </zipfileset>
+                    <zipfileset dir="." includes="executables/*" />
+                </zip>
                            </tasks>
                        </configuration>
                        <goals>

Modified: 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/resources/gadget.xml
===================================================================
--- 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/resources/gadget.xml
    2009-04-10 14:40:42 UTC (rev 4485)
+++ 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/resources/gadget.xml
    2009-04-10 14:47:03 UTC (rev 4486)
@@ -8,7 +8,7 @@
                <name>Shortcut Gadget</name>
                <description>This gadgets launches an external 
application</description>
                <author>Yoran Brault</author>
-               <version>1.1</version>
+               <version>1.2</version>
                <iconFile>resources/gadget.png</iconFile>
                <uuid>548f7a9a-567c-773e-a0dd-102ff68a1a42</uuid>
        </description>

Modified: 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/sources/com/kysoh/gadgets/shortcut/ShortcutGadget.java
===================================================================
--- 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/sources/com/kysoh/gadgets/shortcut/ShortcutGadget.java
  2009-04-10 14:40:42 UTC (rev 4485)
+++ 
softwares_suite_v3/community/gadget/tuxdroid-gadget-shortcut/trunk/tuxdroid-gadget-shortcut/sources/com/kysoh/gadgets/shortcut/ShortcutGadget.java
  2009-04-10 14:47:03 UTC (rev 4486)
@@ -53,9 +53,9 @@
                        arguments.add("rundll32");
                        arguments.add("SHELL32.DLL,ShellExec_RunDLL");
                }
-               
+
                for(String str : this.configuration().getPath().split(" ")) {
-                       arguments.add(str);     
+                       arguments.add(str);
                }
                /* Create a new string array */
                String[] args = new String[arguments.size()];
@@ -69,4 +69,7 @@
                new ShortcutGadget().boot(args, new Configuration());
        }
 
+    @Override
+    public void onGadgetStop() {
+    }
 }


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to