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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
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
Show 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]
[buildout]
parts =
eggs-directory = ${buildout:eggs-directory}
xwiki
develop-eggs-directory = ${buildout:develop-eggs-directory}
[xwiki]
parts = instance
<=slap_connection
recipe = slapos.cookbook:xwiki
[instance]
hsql_location = ${software_definition:software_home}/parts/hsql/hsqldb.jar
recipe = ${instance-recipe:egg}:${instance-recipe:module}
tomcat_location = ${software_definition:software_home}/parts/tomcat
hsql_location = ${hsql:location}/hsqldb.jar
xwiki_location = ${software_definition:software_home}/parts/xwiki
tomcat_location = ${tomcat:location}
java_home = ${software_definition:software_home}/parts/java/jre1.6.0_23
xwiki_location = ${xwiki:location}
mysqld_binary = ${software_definition:software_home}/parts/mysql-5.1/libexec/mysqld
java_home = ${java:location}
mysql_binary = ${software_definition:software_home}/parts/mysql-5.1/bin/mysql
mysqld_binary = ${mysql:location}/libexec/mysqld
mysql_install_binary = ${software_definition:software_home}/parts/mysql-5.1/bin/mysql_install_db
mysql_binary = ${mysql:location}/bin/mysql
mysql_install_binary = ${mysql:location}/bin/mysql_install_db
software/xwiki/software.cfg
View file @
b9262ee3
[buildout]
[buildout]
extends =
extends =
../../stack/xwiki.cfg
../../stack/tomcat.cfg
parts +=
template
find-links =
find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/
http://www.nexedi.org/static/packages/source/slapos.buildout/
...
@@ -11,12 +8,32 @@ find-links =
...
@@ -11,12 +8,32 @@ find-links =
versions = versions
versions = versions
[template]
[template]
recipe = slapos.cookbook:download
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
md5sum = 88fe7e2d1e04618b1b4fcafde683d75a
#md5sum = 88fe7e2d1e04618b1b4fcafde683d75a
destination = ${buildout:directory}/template.cfg
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]
[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
# 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]
[buildout]
extends =
extends =
../component/lxml-python/buildout.cfg
../component/lxml-python/buildout.cfg
../component/java/buildout.cfg
../component/mysql-5.1/buildout.cfg
../component/mysql-5.1/buildout.cfg
parts =
parts =
templates
tomcat
tomcat
java
java
xwiki
hsql
hsql
mysql-5.1
mysql-5.1
eggs
eggs
...
@@ -22,23 +23,6 @@ strip-top-level-dir = true
...
@@ -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
url = http://apache.multidist.com/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.zip
md5sum = 082a0707985b6c029920d4d6d5ec11cd
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]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
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