Advertisement
Guest User

Untitled

a guest
Oct 25th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. # Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
  2. # License Information: http://lamsfoundation.org/licensing/lams/2.0/
  3. #
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License version 2.0
  6. # as published by the Free Software Foundation.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
  16. # USA
  17. #
  18. # http://www.gnu.org/licenses/gpl.txt
  19.  
  20. # put into EAR MANIFEST.MF file
  21. project.version=3.0
  22.  
  23. # is HTTPS in use? if so, set it to true, so JSESSIONID cookie is secured
  24. secure.cookie=false
  25.  
  26. # which o/s related property file do you want? valid values "windows" or "unix"
  27. osPropertiesName=unix
  28.  
  29. # these properties sometimes get altered in project's own properties file
  30. src.java.dir=${basedir}/src/java
  31. conf.web.dir=${basedir}/web
  32. conf.dir=${basedir}/conf
  33.  
  34. #======== TOOL PROPERTIES =========
  35.  
  36. # Some properties come from Tool private build.properties file
  37. # They can also be overriden in that file, like in EAdventure Tool
  38. name=lams_tool_${signature}
  39. product=lams-tool-${signature}
  40. toolContext=/lams/tool/${signature}
  41.  
  42. # Project physical and logical paths
  43. product.path.java=org.lamsfoundation.lams.tool.${tool.short.name}
  44. product.path.filesystem=org/lamsfoundation/lams/tool/${tool.short.name}
  45.  
  46. # Tool private application context file
  47. tool.application.context.file=${tool.short.name}ApplicationContext.xml
  48.  
  49. # Tool SQL files
  50. tool.build.sql.create=create_lams_tool_${tool.short.name}.sql
  51.  
  52. #======== END TOOL PROPERTIES =========
  53.  
  54. #======== DATABASE PROPERTIES =========
  55. db.host=localhost
  56. # Naknadno dodate - 05.09 - V.G.
  57. db.remotehost=89.216.56.107
  58. db.port=3306
  59. db.name=lams
  60. db.nameTest=lams3
  61. db.username=root
  62. db.password=root
  63.  
  64. db.scripts=${basedir}/db/sql
  65.  
  66.  
  67. # Basedir of embedded MySQL server. This is also the place where data is stored.
  68. # Set it if you use MXJ for running and/or building LAMS.
  69. db.location=C:/lams/database
  70. db.location=/var/opt/lams/database
  71.  
  72. # To build LAMS using standalone MySQL server, use properties below
  73. db.url.build=jdbc:mysql://${db.host}:${db.port}/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true&useSSL=false
  74. db.url.init.build=${db.url.build}
  75.  
  76. # To build LAMS using embedded MySQL server, use properties below
  77. # If you build LAMS this way, you will also need to run it using the embedded server.
  78. # db.config.build configuration is a replacement for my.ini and it's optional. If left blank, server defaults will be used.
  79. #db.config.build=&server.skip-external-locking&server.key_buffer_size=16K&server.max_allowed_packet=1M&server.table_open_cache=4&server.sort_buffer_size=64K&server.read_buffer_size=256K&server.read_rnd_buffer_size=257K&server.net_buffer_length=2K&server.thread_stack=128K
  80. #db.url.build=jdbc:mysql:mxj://localhost:13306/${db.name}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=true&server.basedir=${db.location}${db.config.build}
  81. #db.url.init.build=${db.url.build}&server.initialize-user=true&createDatabaseIfNotExist=true
  82.  
  83. # To run LAMS using standalone MySQL server, use properties below
  84. db.url.run=jdbc:mysql://${db.host}:${db.port}/${db.name}
  85. db.url.run=jdbc:mysql://${db.host}:${db.port}/${db.nameTest}
  86.  
  87. # To run LAMS using embedded MySQL server, use properties below
  88. #db.url.run=jdbc:mysql:mxj://localhost:13306/${db.name}
  89.  
  90. #======== END DATABASE PROPERTIES =========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement