int-initial-oracle - Build # 1980 - Fixed:

Check console output at https://ci.openbravo.com/job/int-initial-oracle/1980/ 
to view the results.


Committers since last success:

Changes for Build #1979
No changes

Changes for Build #1980

    Carlos Aristu <[email protected]> null
    fixes issue 35852: Add a mechanism to cache the static resources
      
    Carlos Aristu <[email protected]> null
    [login-static] Use JDK7 nio2 alternative instead of java.io.File
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java

    Carlos Aristu <[email protected]> null
    [login-static] Keep gen folder location cached
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java

    Carlos Aristu <[email protected]> null
    [login-static] Provide more information in getStaticResourceFileNames()
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java

    Carlos Aristu <[email protected]> null
    [login-static] Explain how the MBean name is generated
        src/org/openbravo/jmx/MBeanRegistry.java

    Carlos Aristu <[email protected]> null
    [login-static] Merge with pi
      
    Carlos Aristu <[email protected]> null
    [login-static] Improved log message
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java

    Carlos Aristu <[email protected]> null
    [login-static] If js file is removed, prevent app fail to load
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Renamed OBManagementFactory to MBeanRegistry
        src/org/openbravo/jmx/MBeanRegistry.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelApplicationInitializer.java
        src/org/openbravo/jmx/OBManagementFactory.java

    Carlos Aristu <[email protected]> null
    [login-static] Improvements related to JMX management
- Return a list with the keys of the cached elements instead of the whole map.
- Return a list with the name of the static resource files being cached.
- Added a new method to clean all elements in cache.
- Added log with info level to show information when JMX actions are executed.
- Added class javadoc in StaticResourceProviderMBean interface.
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProviderMBean.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StyleSheetResourceComponent.java

    Carlos Aristu <[email protected]> null
    [login-static] Do not set appName just to either classic or OB3
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java

    Carlos Aristu <[email protected]> null
    [login-static] Do not need to keep mBeanServer as an instance variable

On the first call to ManagementFactory.getPlatformMBeanServer() method, it 
creates the platform MBeanServer. In subsequent calls, it will simply return 
the initially created platform MBeanServer. For this reason, we do not need to 
keep an instance variable for the MBeanServer in OBManagementFactory and we can 
use an static method to register the MBeans.
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelApplicationInitializer.java
        src/org/openbravo/jmx/OBManagementFactory.java

    Carlos Aristu <[email protected]> null
    [login-static] Do not return directly the generated file name
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Fix warning on javadoc generation
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProviderMBean.java
        src/org/openbravo/jmx/OBManagementFactory.java

    Carlos Aristu <[email protected]> null
    [login-static] Keep static js file name in cache instead of keeping the path
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Define StaticResourceProvider as an MBean
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProviderMBean.java
        src/org/openbravo/jmx/OBManagementFactory.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelApplicationInitializer.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java

    Carlos Aristu <[email protected]> null
    [login-static] The key to cache css resources should depend on some 
parameters

The key used to cache a css resource now depends on:
- The application name
- The skin parameter
- The cssDataUri parameter
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StyleSheetResourceComponent.java

    Carlos Aristu <[email protected]> null
    [login-static] Refactor to use a common cache for static resources (js and 
css)
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceProvider.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelComponentProvider.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StyleSheetResourceComponent.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Cache static files by using a new map in 
KernelComponentProvider
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelComponentProvider.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Define staticResourceFilePath variable as final
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Removed optional type tag

According to [1] in HTML is better to leave the 'type' tag out. The browser 
knows what to do.

[1] http://javascript.crockford.com/script.html
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Keep in cache the script path when not in classic mode
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        src/index.jsp

    Carlos Aristu <[email protected]> null
    [login-static] Prevent request by caching the path of the static JS file
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
        src/index.jsp




Last 20 lines of the console output:

[...truncated 1538 lines...]
Total time: 1 second

executing script 'Tomcat stop'
[int-initial-oracle] $ /bin/bash /tmp/build_step_template4632948407854516386.sh 
ENABLE
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
 * Stopping Tomcat servlet engine for Openbravo tomcat
   ...done.

executing script 'Check openbravo log'
[int-initial-oracle] $ /bin/bash /tmp/build_step_template7144543873911918225.sh 
ENABLE
DEBUG: Check openbravo log called with parameters: ENABLED=ENABLE
Check log: openbravo log (artifact: int-initial-oracle.log) is clean

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to