Hector Miuler Malpica Gallegos avatar Hector Miuler Malpica Gallegos committed cf73c83 Draft

agregando jar que contiene las librerías para linux

Comments (0)

Files changed (4)

 
 ## Correr la aplicación desde linea de comando
 sbt -Djava.library.path=/home/miuler/java/qtjambi-linux64-lgpl-4.5.2_01/lib/ run
+sbt run
 
 scala -Djava.library.path=/home/miuler/java/qtjambi-linux64-lgpl-4.5.2_01/lib/ -classpath lib/qtjambi-4.5.2_01.jar:/home/miuler/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.1.jar:/home/miuler/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.6.6.jar:/home/miuler/.ivy2/cache/javax.mail/mail/jars/mail-1.4.5.jar:/home/miuler/.ivy2/cache/io.netty/netty/jars/netty-4.0.0.Alpha5.jar        target/scala-2.10/mocksmtp_2.10-0.9.jar com.miuler.mocksmtp.Main
+scala -classpath qtjambi-linux64-gcc-4.5.2_01.jar:lib/qtjambi-4.5.2_01.jar:/home/miuler/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.1.jar:/home/miuler/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.6.6.jar:/home/miuler/.ivy2/cache/javax.mail/mail/jars/mail-1.4.5.jar:/home/miuler/.ivy2/cache/io.netty/netty/jars/netty-4.0.0.Alpha5.jar        target/scala-2.10/mocksmtp_2.10-0.9.jar com.miuler.mocksmtp.Main
+
 
 
 ## Instalación
Add a comment to this file

lib/qtjambi-linux64-gcc-4.5.2_01.jar

Binary file added.

src/main/scala/com/miuler/mocksmtp/gui/MainGUI.scala

 
     // =========================================================================
     systray.setToolTip("Servidor mock de correos")
+    log.debug("isNull: {}", (new QPixmap("classpath:smtp_server_16x16_off.png")).isNull)
     systray.setIcon(new QIcon(new QPixmap("classpath:smtp_server_16x16_off.png")))
     systray.activated.connect(this, "onActivated(com.trolltech.qt.gui.QSystemTrayIcon$ActivationReason)");
     systray.show()

src/test/scala/com/miuler/mocksmtp/BasicTests.scala

 package com.miuler.mocksmtp
 
 import org.junit.runner.RunWith
-import org.specs2.runner.JUnitRunner
-import org.specs2.Specification
+//import org.specs2.runner.JUnitRunner
+//import org.specs2.Specification
 
 
-@RunWith(classOf[JUnitRunner])
-class BasicTests extends Specification {
-
-  def doBefore() { println("Prueba") }
-
-  def is =
-
-    " Pruebas Basicas "                           ^
-                                                  p^
-    " Prueba de expresiones regulaes con match "  ! pruebaRegExpMatch^
-                                                  end
-
-  def pruebaRegExpMatch = {
-    val texto = "Texto de Prueba"
-
-    texto match {
-      case text:String if text.toUpperCase matches "TEXTO.*"  => success
-      case _ => failure
-    }
-
-  }
-
-}
+//@RunWith(classOf[JUnitRunner])
+//class BasicTests extends Specification {
+//
+//  def doBefore() { println("Prueba") }
+//
+//  def is =
+//
+//    " Pruebas Basicas "                           ^
+//                                                  p^
+//    " Prueba de expresiones regulaes con match "  ! pruebaRegExpMatch^
+//                                                  end
+//
+//  def pruebaRegExpMatch = {
+//    val texto = "Texto de Prueba"
+//
+//    texto match {
+//      case text:String if text.toUpperCase matches "TEXTO.*"  => success
+//      case _ => failure
+//    }
+//
+//  }
+//
+//}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.