Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos
Commits
b9262ee3
Commit
b9262ee3
authored
Aug 24, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update xwiki to work with 'modern' slapos. Create Tomcat stack.
parent
3bb63423
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
21 deletions
+79
-21
component/java/buildout.cfg
component/java/buildout.cfg
+8
-0
software/xwiki/instance.cfg
software/xwiki/instance.cfg
+13
-12
software/xwiki/software.cfg
software/xwiki/software.cfg
+26
-9
stack/tomcat.cfg
stack/tomcat.cfg
+32
-0
No files found.
component/java/buildout.cfg
0 → 100644
View file @
b9262ee3
[buildout]
parts =
java
versions = versions
[java]
recipe = slapos.cookbook:java
software/xwiki/instance.cfg
View file @
b9262ee3
[buildout]
parts =
xwiki
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
[xwiki]
<=slap_connection
recipe = slapos.cookbook:xwiki
hsql_location = ${software_definition:software_home}/parts/hsql/hsqldb.jar
tomcat_location = ${software_definition:software_home}/parts/tomcat
xwiki_location = ${software_definition:software_home}/parts/xwiki
java_home = ${software_definition:software_home}/parts/java/jre1.6.0_23
mysqld_binary = ${software_definition:software_home}/parts/mysql-5.1/libexec/mysqld
mysql_binary = ${software_definition:software_home}/parts/mysql-5.1/bin/mysql
mysql_install_binary = ${software_definition:software_home}/parts/mysql-5.1/bin/mysql_install_db
parts = instance
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
hsql_location = ${hsql:location}/hsqldb.jar
tomcat_location = ${tomcat:location}
xwiki_location = ${xwiki:location}
java_home = ${java:location}
mysqld_binary = ${mysql:location}/libexec/mysqld
mysql_binary = ${mysql:location}/bin/mysql
mysql_install_binary = ${mysql:location}/bin/mysql_install_db
software/xwiki/software.cfg
View file @
b9262ee3
[buildout]
extends =
../../stack/xwiki.cfg
parts +=
template
../../stack/tomcat.cfg
find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/
...
...
@@ -11,12 +8,32 @@ find-links =
versions = versions
[template]
recipe = slapos.cookbook:download
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
md5sum = 88fe7e2d1e04618b1b4fcafde683d75a
destination = ${buildout:directory}/template.cfg
#md5sum = 88fe7e2d1e04618b1b4fcafde683d75a
output = ${buildout:directory}/template.cfg
mode = 0644
[xwiki]
recipe = hexagonit.recipe.download
url = http://download.forge.objectweb.org/xwiki/xwiki-enterprise-web-2.7.war
md5sum = c56e2cde96d28c5899a16a8270b6ff88
[versions]
#slapos.cookbook = 0.17
#
## Required by slapos.cookbook==0.17
#slapos.core = 0.12
slapos.libnetworkcache = 0.2
#collective.recipe.template = 1.8
#netaddr = 0.7.5
#xml-marshaller = 0.9.7
#setuptools = 0.6c12dev-r88846
#
#hexagonit.recipe.cmmi = 1.5.0
#hexagonit.recipe.download = 1.5.0
#plone.recipe.command = 1.1
#
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-001
zc.buildout = 1.5.3-dev-SlapOS-005
stack/
xwiki
.cfg
→
stack/
tomcat
.cfg
View file @
b9262ee3
[buildout]
extends =
../component/lxml-python/buildout.cfg
../component/java/buildout.cfg
../component/mysql-5.1/buildout.cfg
parts =
templates
tomcat
java
xwiki
hsql
mysql-5.1
eggs
...
...
@@ -22,23 +23,6 @@ strip-top-level-dir = true
url = http://apache.multidist.com/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.zip
md5sum = 082a0707985b6c029920d4d6d5ec11cd
[xwiki]
recipe = hexagonit.recipe.download
url = http://download.forge.objectweb.org/xwiki/xwiki-enterprise-web-2.7.war
md5sum = c56e2cde96d28c5899a16a8270b6ff88
[java-download]
recipe = slapos.cookbook:download
# 64bit self extracting
url = http://javadl.sun.com/webapps/download/AutoDL?BundleId=43875
md5sum = e4143387e31838a51df76774d102f49a
[java]
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = rm -fr ${:location} && mkdir -p ${:location} && cd ${:location} && /bin/sh ${java-download:target}
update-command = ${:command}
[eggs]
recipe = zc.recipe.egg
eggs =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment