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
zhifan huang
slapos
Commits
71632d35
Commit
71632d35
authored
May 26, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge slapos.recipe.java as slapos.recipebox:java
parent
ecff7746
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1 addition
and
121 deletions
+1
-121
setup.py
setup.py
+1
-0
slapos/recipe/README.java.txt
slapos/recipe/README.java.txt
+0
-0
slapos/recipe/java.py
slapos/recipe/java.py
+0
-0
slapos/slapos.recipe.java/CHANGES.txt
slapos/slapos.recipe.java/CHANGES.txt
+0
-12
slapos/slapos.recipe.java/MANIFEST.in
slapos/slapos.recipe.java/MANIFEST.in
+0
-1
slapos/slapos.recipe.java/PKG-INFO
slapos/slapos.recipe.java/PKG-INFO
+0
-58
slapos/slapos.recipe.java/setup.cfg
slapos/slapos.recipe.java/setup.cfg
+0
-5
slapos/slapos.recipe.java/setup.py
slapos/slapos.recipe.java/setup.py
+0
-32
slapos/slapos.recipe.java/src/slapos/__init__.py
slapos/slapos.recipe.java/src/slapos/__init__.py
+0
-6
slapos/slapos.recipe.java/src/slapos/recipe/__init__.py
slapos/slapos.recipe.java/src/slapos/recipe/__init__.py
+0
-6
slapos/slapos.recipe.java/src/slapos/recipe/java/__init__.py
slapos/slapos.recipe.java/src/slapos/recipe/java/__init__.py
+0
-1
No files found.
setup.py
View file @
71632d35
...
@@ -48,5 +48,6 @@ setup(name=name,
...
@@ -48,5 +48,6 @@ setup(name=name,
'erp5 = slapos.recipe.erp5:Recipe'
,
'erp5 = slapos.recipe.erp5:Recipe'
,
'erp5testnode = slapos.recipe.erp5testnode:Recipe'
,
'erp5testnode = slapos.recipe.erp5testnode:Recipe'
,
'helloworld = slapos.recipe.helloworld:Recipe'
,
'helloworld = slapos.recipe.helloworld:Recipe'
,
'java = slapos.recipe.java:Recipe'
,
]},
]},
)
)
slapos/
slapos.recipe.java/README
.txt
→
slapos/
recipe/README.java
.txt
View file @
71632d35
File moved
slapos/
slapos.recipe.java/src/slapos/recipe/java/recipe
.py
→
slapos/
recipe/java
.py
View file @
71632d35
File moved
slapos/slapos.recipe.java/CHANGES.txt
deleted
100644 → 0
View file @
ecff7746
Changelog
=========
0.0.2
----------------
Adapting to use auto-extracting packages, and not rpms.
[Cedric de Saint Martin]
0.0.1
----------------
Initial Commit
[Cedric de Saint Martin]
\ No newline at end of file
slapos/slapos.recipe.java/MANIFEST.in
deleted
100644 → 0
View file @
ecff7746
include CHANGES.txt
\ No newline at end of file
slapos/slapos.recipe.java/PKG-INFO
deleted
100644 → 0
View file @
ecff7746
Metadata-Version: 1.0
Name: slapos.recipe.java
Version: 0.0.2
Summary: zc.buildout recipe that downloads and installs Java
Home-page: http://www.slapos.org
Author: Cedric de Saint Martin
Author-email: cedric.dsm@tiolive.com
License: ZPL 2.1
Description: slapos.recipe.java
=====================
This recipe downloads and installs java in your buildout.
Buildout configuration:
-----------------------
Add this section to your buildout configuration::
[buildout]
parts =
... your other parts ...
java
...
[java]
recipe = slapos.recipe.java
By default it will fetch Java 6u25, but you might want to install from another location or another version like this::
[java]
recipe = slapos.recipe.java
download-url = ftp://location/to/self-extracting/java.bin
Or you can install openjdk instead.
[java]
recipe = slapos.recipe.java
flavour = openjdk
Notes:
------
This recipe only works with linux at the moment
This recipe requires rpm2cpio and cpio to be installed on your system.
Authors:
--------
Original author: Cedric de Saint Martin - cedric.dsm [ at ] tiolive [ dot ] com
Inspired by : z3c.recipe.openoffice made by Jean-Francois Roche - jfroche@affinitic.be
Keywords: buildout java slapos
Platform: UNKNOWN
slapos/slapos.recipe.java/setup.cfg
deleted
100644 → 0
View file @
ecff7746
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
slapos/slapos.recipe.java/setup.py
deleted
100644 → 0
View file @
ecff7746
from
setuptools
import
setup
,
find_packages
import
os
version
=
'0.0.2'
name
=
'slapos.recipe.java'
def
read
(
*
rnames
):
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
rnames
)).
read
()
long_description
=
(
read
(
'README.txt'
)
+
'
\
n
'
+
read
(
'CHANGES.txt'
)
)
setup
(
name
=
name
,
version
=
version
,
author
=
"Cedric de Saint Martin"
,
author_email
=
"cedric.dsm@tiolive.com"
,
description
=
"zc.buildout recipe that downloads and installs Java"
,
long_description
=
long_description
,
license
=
'ZPL 2.1'
,
keywords
=
"buildout java slapos"
,
url
=
'http://www.slapos.org/'
,
packages
=
find_packages
(
'src'
),
include_package_data
=
True
,
package_dir
=
{
''
:
'src'
},
namespace_packages
=
[
'slapos'
,
'slapos.recipe'
],
install_requires
=
[
'zc.buildout'
,
'setuptools'
],
entry_points
=
{
'zc.buildout'
:
[
'default = %s.recipe:Recipe'
%
name
]},
)
slapos/slapos.recipe.java/src/slapos/__init__.py
deleted
100644 → 0
View file @
ecff7746
# namespace package boilerplate
try
:
__import__
(
'pkg_resources'
).
declare_namespace
(
__name__
)
except
ImportError
:
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
slapos/slapos.recipe.java/src/slapos/recipe/__init__.py
deleted
100644 → 0
View file @
ecff7746
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try
:
__import__
(
'pkg_resources'
).
declare_namespace
(
__name__
)
except
ImportError
:
from
pkgutil
import
extend_path
__path__
=
extend_path
(
__path__
,
__name__
)
slapos/slapos.recipe.java/src/slapos/recipe/java/__init__.py
deleted
100644 → 0
View file @
ecff7746
#
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