build_base.xml

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3275: Add dependecies and source code for Undertow.

  1. … 558 more files in changeset.
LDEV-3275: Put /userfiles dir in each LAMS WAR. The ApplicationContext class from Tomcat embedded in JBoss allowed getRealPath() to return proper path even for non-existent resources. Undertow's FileResourceManager returns null in such cases. This prevents CKEditor Connector servlet from initialising as it checks the path where it later stores files.

Alternative solutions are:

- configure the servlet to use a dir present in all WARs, like "META-INF"; this in counter-intuitive and does not follow WAR structure guide

- upgrade to newer CKEditor connector servlet; makes sense as we use very old one, made for FCKEditor, and the new one is available; it requires some work, though

- patch the servlet's initialisation code so it creates the dir by itself; this would result in LAMS custom CKEditor connector library

LDEV-3293: Use Spring support for Hibernate 4 instead of 3 (session factory and filters). Use new path for Hibernate DTDs. Make XDoclet generate hbm.xml files with the correct path by providing it a new template.

  1. … 111 more files in changeset.
LDEV-3275: Move lams-dictionary.jar back to lams.ear as it is a module defined in application.xml and these can not reside in lib dir.

  1. … 2 more files in changeset.
LDEV-3275: Move tool JARs to EAR/lib for automatic detection.

  1. … 6 more files in changeset.
LDEV-3275: Add TLDs. Undertow is strict about it. Fix TLD deployment path in Ant build file.

  1. … 44 more files in changeset.
LDEV-3275: Add XML RPC to Ant build path.

LDEV-3275: Rename Ant build variable jboss.home to server.home so it is separated from the server's name.

  1. … 7 more files in changeset.
LDEV-3275: Use Apache Commons Codec version 1.3 -> 1.9 delivered with WildFly.

  1. … 9 more files in changeset.
LDEV-3275: Use Apache Commons Longing version 1.0.4 -> 1.7.4 delivered with WildFly.

  1. … 17 more files in changeset.
LDEV-3275: Use Apache Commons Lang version 2.6 delivered with WildFly.

  1. … 38 more files in changeset.
LDEV-3275: Use Apache Commons IO version 2.1 -> 2.4 delivered with WildFly. Previous similar upgrades were: Apache Commons Collections 3.1 -> 3.2.1 Apache Commons BeanUtils 1.6 -> 1.8.3 Saaj 1.2 -> 1.3 JaxRPC same version, but delivered with WildFly.

  1. … 111 more files in changeset.
LDEV-3275: Deploy EAR libraries as WildFly modules. In JBoss there were several folders where libraries could be simply copied. In WildFly it is more organised, with module.xml files describing each library. In order not to keep libs in EAR, so only real LAMS code remains there, they are moved to WildFly as modules and get referenced by EAR with META-INF/jboss-deployment-structure.xml.

  1. … 38 more files in changeset.
LDEV-3275: Make Ant use WildFly libraries to build EAR. The libraries have to be exactly listed, instead of using **/*.jar. This is becaus full (not slimmed) WildFly contain other library versions than used by LAMS (located in lams_build/lib). When starting up WildFly libraries would be loaded first and probably foreshadow/clash with versions delivered with EAR.

Also an attempt to correctly deliver MySQL connector lib to WildFly modules dir was committed. Other libraries delivery will follow the same pattern.

  1. … 4 more files in changeset.
LDEV-3275: Partial switch to new server dir structure.

  1. … 8 more files in changeset.
LDEV-3275: Minify Ant .properties files. Most of the variables were constant, never changed. Since build file inheritance was introduced to LAMS, it is fairly easy to change relative paths in build files themselves. So only root path were left in .properties files and variables that can actually change from project to project.

  1. … 11 more files in changeset.
LDEV-2915: Make lams_build/build.properties an optional file included before ALL OTHER property files, so variables can be defined there.

LDEV-2839 fixed ability to run "deploy-war" target manually when jsp.precompile option is ON

LDEV-3174: Added UTF-8 encoding to Ant Java compiler.

  1. … 2 more files in changeset.
LDEV-3174: passing encoding settings to compiler

LDEV-3154: Explicitly tell Ant to produce Java 1.6 code. Add a parameter preventing warnings.

  1. … 1 more file in changeset.
LDEV-2849: Remove unnecessary libraries and dependencies.

  1. … 109 more files in changeset.
LDEV-2913: Remove test sources and build tasks from LAMS projects.

  1. … 294 more files in changeset.
LDEV-2847: Fix minor issues with exploding WARs.

LDEV-2847: Make comments nicer.

LDEV-2847: Make comments nicer.

WVI-35: Add code for lesson synchronisation: service methods for checking and downloading content, servlet methods for communication scenarios, front-end stuff for regular sync checking and displaying information nicely. Made horizon project not expose its beans to global App Context, as it is not needed any more. Add some file utility methods.

  1. … 3 more files in changeset.
LDEV-2847: Rename a target to be more revelant with its purpose.

  1. … 1 more file in changeset.
WVI-33, WVI-34: Split horizon project to encapsulate old features and new sychronisation servlet. Add initial synchronisation code. Add custom login page to horizon project. Add DB init scripts. Fix "_db-script" Ant target so it accepts files not only from db/sql dir.

  1. … 1 more file in changeset.
LDEV-2847: Remove unnecessary reference to Java classpath.

  1. … 2 more files in changeset.