This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... create a Coinfiguration object | |
CoreQueueConfiguration coreQueueConfiguration = new CoreQueueConfiguration(); | |
coreQueueConfiguration.setName(QUEUE_NAME).setDurable(true); | |
configuration.addQueueConfiguration(coreQueueConfiguration); | |
server = new EmbeddedActiveMQ(); | |
server.setConfiguration(configuration); | |
server.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ igor 9:24:42 /home/igor/projects/javalite/simple-example git:(master) mvn db-migrator:create | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building ActiveJDBC - Simple Maven Example 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- db-migrator-maven-plugin:1.4.13:create (default-cli) @ simple-example --- | |
[INFO] Sourcing database configuration from file: /home/igor/projects/javalite/simple-example/src/main/resources/database.properties | |
[INFO] Environment: development.test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | |
<script src="//code.jquery.com/jquery-2.1.1.js"></script> | |
<script src="http://lipis.github.io/bootstrap-sweetalert/lib/sweet-alert.js"></script> | |
<link rel="stylesheet" href="http://lipis.github.io/bootstrap-sweetalert/lib/sweet-alert.css"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.PropertiesController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.MSWSMTPController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.RobotsController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.SitemapController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.XmldataController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.AdminController | |
edovo.log.2015-07-08:org.javalite.activeweb.ClassLoadException: java.lang.ClassNotFoundException: app.controllers.FileController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fgbs rsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MariaDB [jes_staging]> select * from answers where page_id = 2724; | |
+------+-------------------------------------------------------------------------+---------+---------+--------------+---------------------+---------------------+-------------+ | |
| id | answer_text | correct | page_id | page_item_id | created_at | updated_at | explanation | | |
+------+-------------------------------------------------------------------------+---------+---------+--------------+---------------------+---------------------+-------------+ | |
| 2391 | La odia por haberle arruinado la vida su hermana | 0 | 2724 | 0 | 2014-07-17 16:52:18 | 2014-07-17 16:52:18 | NULL | | |
| 2392 | Prefiere preocuparse por el bienestar de Katie que el de la bebé | 0 | 2724 | 0 | 2014-07-17 16:52:18 | 2014-07-17 16:52:18 | NULL | | |
| 2393 | Siente una conexión hacia su sobrinita a pesar de lo que quiera Kati |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn release:prepare | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] JavaLite - ActiveJDBC Root | |
[INFO] JavaLite - Common | |
[INFO] JavaLite - Instrumentation Plugin and JavaAgent | |
[INFO] JavaLite - ActiveJDBC ORM Framework | |
[INFO] JavaLite - DB-Migrator Maven Plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void shouldDeleteOnePatient(){ | |
deleteAndPopulateTables("doctors", "patients", "doctors_patients"); | |
Doctor doctor = Doctor.findById(1); | |
List<Patient> patients = doctor.getAll(Patient.class); | |
a(2).shouldBeEqual(patients.size()); | |
doctor.remove(patients.get(0)); | |
patients = doctor.getAll(Patient.class); | |
a(1).shouldBeEqual(patients.size()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
igor@igor-linux:20:14:30:~/projects/javalite/activeweb/activeweb-lessc-integration-test$ mvn clean install -Dsurefire.junit4.upgradecheck | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building ActiveWeb - Lessc Maven Plugin Integration Test 1.12-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ activeweb-lessc-integration-test --- | |
[INFO] Deleting /home/igor/projects/javalite/activeweb/activeweb-lessc-integration-test/target | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void shouldFindPerson(){ | |
//create data in DB | |
Person.createId("first_name", "John", "last_name", "Doe"); | |
Person.createId("first_name", "Jane", "last_name", "Doe"); | |
//perform tests that need data: |
NewerOlder