<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Build</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>Recent changes to Build</description><atom:link href="https://sourceforge.net/p/esisframeworks/wiki/Build/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 29 Jul 2017 15:12:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/esisframeworks/wiki/Build/feed" rel="self" type="application/rss+xml"/><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v108
+++ v109
@@ -324,100 +324,6 @@

 * [PgCookbook](https://github.com/grayhemp/pgcookbook/blob/master/database_server_configuration.md)

-
-##  Quartz Scheduler configuration
-
-ESIS back-end uses Quartz scheduling engine (https://quartz-scheduler.org/) to schedule and execute probes , report  generation and other  tasks.
-
-Quartz server engine runs as an instance and exposes its services to be used via RMI. Clients are then created by instanciating a scheduler and can send requests (create, execute ,stop, tasks..) to the server using a proxy.
-
-Quartz server engine can be started and stopped using the &lt;code&gt;scripts/shceduler [start|stop]&lt;/code&gt;.
-
-Quartz server configuration file :
-~~~~~~
-#============================================================================
-# Main Scheduler Properties  
-#============================================================================
-org.quartz.scheduler.instanceName = TestScheduler
-org.quartz.scheduler.instanceId = instance_one
-
-#============================================================================
-# ThreadPool  
-#============================================================================
-
-org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
-org.quartz.threadPool.threadCount = 5
-org.quartz.threadPool.threadPriority = 5
-
-#============================================================================
-# JobStore  
-#============================================================================
-
-org.quartz.jobStore.misfireThreshold = 60000
-org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
-org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
-#The org.quartz.jobStore.useProperties config parameter can be set to true (it defaults to false) 
-#in order to instruct JDBCJobStore that all values in JobDataMaps will be Strings, and therefore 
-#can be stored as name-value pairs, rather than storing more complex objects in their serialized 
-#form in the BLOB column. This is much safer in the long term, as you avoid the class versioning issues that come with serializing non-String classes into a BLOB.
-
-org.quartz.jobStore.useProperties=true
-org.quartz.jobStore.dataSource=myDS
-org.quartz.jobStore.tablePrefix=scheduler.QRTZ_
-org.quartz.jobStore.isClustered=false
-
-#============================================================================
-# Datasource  
-#============================================================================
-
-org.quartz.dataSource.myDS.driver = org.postgresql.Driver
-#org.quartz.dataSource.myDS.URL = jdbc:postgresql://localhost:5434/esis_sdw
-#org.quartz.dataSource.myDS.user =esis_user
-#org.quartz.dataSource.myDS.password =Pa55w0rd
-#If your Scheduler is busy, meaning that is nearly always executing the same number of jobs 
-#as the size of the thread pool, then you should probably set the number of connections in
-#the DataSource to be the about the size of the thread pool + 2.
-org.quartz.dataSource.myDS.maxConnections = 5
-org.quartz.dataSource.myDS.validationQuery=
-
-#============================================================================
-#plugins 
-#============================================================================
-
-#Plugins that ship with Quartz to provide various utililty capabilities can be 
-#found documented in the Quartz.Plugins namespace. They provide functionality such as
-#auto-scheduling of jobs upon scheduler startup, logging a history of job and trigger
-#events, and ensuring that the scheduler shuts down cleanly when the virtual machine exits.
-
-
-org.quartz.scheduler.rmi.export = true
-org.quartz.scheduler.rmi.createRegistry = true
-org.quartz.scheduler.rmi.registryHost = localhost
-org.quartz.scheduler.rmi.registryPort = 1099
-org.quartz.scheduler.rmi.serverPort = 1100
-
-~~~~~~
-
-Quartz client (using RMI) configuration file :
-~~~~~~
-#============================================================================
-# Main Properties  
-#============================================================================
-org.quartz.scheduler.instanceName = TestScheduler
-org.quartz.scheduler.instanceId = instance_one
-org.quartz.scheduler.skipUpdateCheck = true
-org.quartz.scheduler.jobFactory.class = org.quartz.simpl.SimpleJobFactory
-org.quartz.scheduler.rmi.proxy = true
-org.quartz.scheduler.rmi.registryHost = localhost
-org.quartz.scheduler.rmi.registryPort = 1099
-
-~~~~~~
-
-
-&lt;br/&gt;
-
-
-
 ## Setup Apache Ant, Jetty and Apache FtpServer

 For the build we need also to setup some environment variables, [Apache Ant](http://ant.apache.org Apache), [Jetty](http://jetty.codehaus.org/jetty/) and [Apache FtpServer](http://mina.apache.org/ftpserver-project/index.html).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 29 Jul 2017 15:12:31 -0000</pubDate><guid>https://sourceforge.netb6d989e6dd61e029709f6e6e7e9305953c1e1e20</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v107
+++ v108
@@ -324,34 +324,6 @@

 * [PgCookbook](https://github.com/grayhemp/pgcookbook/blob/master/database_server_configuration.md)

-##  Apache CXF Rest WebServices
-
-Apache CXF (https://cxf.apache.org/) is the Web-Service framework used by ESIS back-end. All web services are REST services.
-
-Rest Web services endpoints are registred using CXF JAX-RS APIs  and  CXFNonSpringJaxrsServlet. They are deployed in Jetty server. 
-
-~~~~~~
-AppSrvDeamon.java
-
-CXFNonSpringJaxrsServlet rest = new CXFNonSpringJaxrsServlet();
-ServletHolder restservlet = new ServletHolder(rest);
-
- //list of rest annotated rest service provided by RestServiceList
-
-List&amp;lt;String&amp;gt; restServicesList = RestServiceList.get();
-StringJoiner services = new StringJoiner(",");
-restServicesList.forEach(s-&amp;gt;services.add(s));
-
-//
-restservlet.setInitParameter("jaxrs.serviceClasses", services.toString());
-
-// add json provider       
-restservlet.setInitParameter("jaxrs.providers","org.codehaus.jackson.jaxrs.JacksonJsonProvider");
-
-restservlet.setName("rest");
-context.addServlet(restservlet, "/services/rest/*");
-~~~~~~
-&lt;br/&gt;

 ##  Quartz Scheduler configuration

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 29 Jul 2017 15:10:06 -0000</pubDate><guid>https://sourceforge.netf005534acecfb42266f11bc4ae4d963e1d8882b2</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v106
+++ v107
@@ -35,7 +35,7 @@
 ~~~~~~
 &lt;br/&gt;

-It might prove useful to have the [MacPorts](http://www.macports.org/) around. 
+The  [MacPorts](http://www.macports.org/) is also need to install autoconf and automake. 

 By default launchd will impose a limit of 256 opened files, change this to 1024 by adding &lt;code&gt;limit maxfiles 1024 1024&lt;/code&gt; to &lt;code&gt;/etc/launchd.conf&lt;/code&gt;.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 22 Apr 2017 17:47:53 -0000</pubDate><guid>https://sourceforge.netc3cb5def08edfb342e136c7506e1873edf14fc72</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v105
+++ v106
@@ -107,6 +107,7 @@
 $ sudo apt-get install ttf-mscorefonts-installer
 $ sudo apt-get install subversion
 $ sudo apt-get install autoconf
+$ sudo apt-get install python-dev
 ~~~~~~
 &lt;br/&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 22 Apr 2017 14:51:59 -0000</pubDate><guid>https://sourceforge.net86d5259bc9829e0d8d4e40daada2972488c21c77</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v104
+++ v105
@@ -252,35 +252,12 @@
 ~~~~~~
 $ . ./env.sh
 $ cd pkgs
-$ make clean
-$ cd aaa
-$ make clean
-$ make paranoid-install
-$ cd ../bbb
-$ make clean
-$ make paranoid-install
-$ cd ../ccc
-$ make clean
-$ make paranoid-install
-$ cd ../ddd
-$ make clean
-$ make paranoid-install
-$ cd ../eee
-$ make clean
-$ make paranoid-install
-~~~~~~
-&lt;br/&gt;
-
-or if you are a veteran 
-
-~~~~~~
-user@host:~$ cd esis/main
-user@host:~/code/esis/main$ . ./env.sh
-user@host:~/code/esis/main$ cd pkgs/autoinstall
-user@host:~/code/esis/main$ make clean
-user@host:~/code/esis/main/pkgs/autoinstall$ ./build.sh
-~~~~~~
-&lt;br/&gt;
+$ ./build.sh
+$ make -f PkgMakefile clean
+$ make -f PkgMakefile paranoid-install
+~~~~~~
+&lt;br/&gt;
+

 ## Perl

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 22 Apr 2017 14:37:55 -0000</pubDate><guid>https://sourceforge.netad17bc428a12925d6678380a7ab57220f56da198</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v103
+++ v104
@@ -106,6 +106,7 @@
 $ sudo apt-get install libexpat1-dev
 $ sudo apt-get install ttf-mscorefonts-installer
 $ sudo apt-get install subversion
+$ sudo apt-get install autoconf
 ~~~~~~
 &lt;br/&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Sat, 22 Apr 2017 12:44:16 -0000</pubDate><guid>https://sourceforge.net04871a3803b4a367b821e5d629e39c8b620ff5ec</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v102
+++ v103
@@ -240,7 +240,7 @@

 If behind a proxy server the &lt;code&gt;http_proxy&lt;/code&gt; environment variable must be set.

-The slow way; BE BRAVE download source code and build the files. The build process is based upon [GAR](http://www.linuxjournal.com/article/5819?page=0,2), it might prove useful to read a little bit about it before moving forward, as O/S vendors got us used to change pieces there and there that breaks GAR build process.
+The slow way; BE BRAVE download source code and build the files. The build process is based upon [GSRC](https://www.gnu.org/software/gsrc/), whicu used to be  [GAR](http://www.linuxjournal.com/article/5819?page=0,2), it might prove useful to read a little bit about it before moving forward, as O/S vendors got us used to change pieces there and there that breaks GSRC build process.

 To optimize the binaries for your current plaform create a file flags-{results of running the command &lt;code&gt;uname -n&lt;/code&gt;} and put it in the &lt;code&gt;esis/main/pkgs/autoinstall&lt;/code&gt; directory. In this file sets the &lt;code&gt;CFLAGS&lt;/code&gt; and &lt;code&gt;CXFLAGS&lt;/code&gt; to optimize the binaries. **Doing this can lead to dramatic performance improvement for Postgresql**. Some sample files are provided in the &lt;code&gt;esis/main/pkgs/autoinstall&lt;/code&gt; directory.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Wed, 21 Sep 2016 05:42:00 -0000</pubDate><guid>https://sourceforge.net0c25ea406d71633c57eae595c9e8bbcee8e28a10</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v101
+++ v102
@@ -177,7 +177,7 @@
 Checkout your application code in the &lt;code&gt;app/&lt;/code&gt; directory, for instance:

 ~~~~~~
-$ cd app
+$ cd trunk/app
 $ svn checkout https://svn.code.sf.net/p/esis/code/trunk esis
 ~~~~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Tue, 20 Sep 2016 15:21:48 -0000</pubDate><guid>https://sourceforge.net852cf6ff66d97c36c2b5a2a346d91bd014994f40</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v100
+++ v101
@@ -73,6 +73,7 @@
 $ yum install sendmail-cf
 $ yum install glib2-devel
 $ yum install wget
+$ yum install svn
 ~~~~~~
 &lt;br/&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Tue, 20 Sep 2016 15:19:59 -0000</pubDate><guid>https://sourceforge.net1bfa5a3032b70fede17269205c3c2d2fa3e075a5</guid></item><item><title>Build modified by Philippe Le Berre</title><link>https://sourceforge.net/p/esisframeworks/wiki/Build/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v99
+++ v100
@@ -136,15 +136,15 @@
 One may also see [Java for OS X 2014-001](https://support.apple.com/kb/DL1572?locale=en_US).

 ~~~~~~
-[user@localhost /]#  wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.tar.gz
+[user@localhost ~/]#  wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.tar.gz
 [user@localhost /]# sudo bash
 [root@localhost /]# cd /usr/local
 [root@localhost usr]# mkdir java
 [root@localhost usr]# cd java
-[root@localhost java]# mv ~/Desktop/jdk-6u43-linux-x64.bin .
-[root@localhost java]# chmod +x jdk-6u43-linux-x64.bin 
-[root@localhost java]# ./jdk-6u43-linux-x64.bin 
-[root@localhost java]# ln -s jdk-6u43-linux-x64.bin current
+[root@localhost java]# mv ~/jdk-8u102-linux-x64.tar.gz .
+[root@localhost java]# gunzip jdk-8u102-linux-x64.tar.gz
+[root@localhost java]# tar -xvf jdk-8u102-linux-x64.tar
+[root@localhost java]# ln -s jdk1.8.0_102 current
 ~~~~~~
 &lt;br/&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippe Le Berre</dc:creator><pubDate>Tue, 20 Sep 2016 15:10:57 -0000</pubDate><guid>https://sourceforge.nete7f0fb5ae1440ec32c6b256af35bf3191a2c862a</guid></item></channel></rss>