diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/bsf/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/bsf/files')
-rw-r--r-- | dev-java/bsf/files/bsf-2.4.0-PyJavaInstance.patch | 35 | ||||
-rw-r--r-- | dev-java/bsf/files/bsf-2.4.0-build-properties.xml | 44 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/bsf/files/bsf-2.4.0-PyJavaInstance.patch b/dev-java/bsf/files/bsf-2.4.0-PyJavaInstance.patch new file mode 100644 index 00000000000..bef35c168e4 --- /dev/null +++ b/dev-java/bsf/files/bsf-2.4.0-PyJavaInstance.patch @@ -0,0 +1,35 @@ +--- src/org/apache/bsf/engines/jython/JythonEngine.java.orig 2015-07-04 08:00:17.120000000 +0000 ++++ src/org/apache/bsf/engines/jython/JythonEngine.java 2015-07-04 08:04:55.230000000 +0000 +@@ -26,7 +26,7 @@ + import org.apache.bsf.util.BSFFunctions; + import org.python.core.Py; + import org.python.core.PyException; +-import org.python.core.PyJavaInstance; ++import org.python.core.PyJavaType; + import org.python.core.PyObject; + import org.python.util.InteractiveInterpreter; + +@@ -110,8 +110,9 @@ + + Object result = interp.eval ("bsf_temp_fn()"); + +- if (result != null && result instanceof PyJavaInstance) +- result = ((PyJavaInstance)result).__tojava__(Object.class); ++ if (result != null && result instanceof PyJavaType) ++ //result = ((PyJavaInstance)result).__tojava__(Object.class); ++ result = PyJavaType.wrapJavaObject(result).__tojava__(Object.class); + return result; + } catch (PyException e) { + throw new BSFException (BSFException.REASON_EXECUTION_ERROR, +@@ -126,8 +127,9 @@ + Object script) throws BSFException { + try { + Object result = interp.eval (byteify(script.toString ())); +- if (result != null && result instanceof PyJavaInstance) +- result = ((PyJavaInstance)result).__tojava__(Object.class); ++ if (result != null && result instanceof PyJavaType) ++ //result = ((PyJavaInstance)result).__tojava__(Object.class); ++ result = PyJavaType.wrapJavaObject(result).__tojava__(Object.class); + return result; + } catch (PyException e) { + throw new BSFException (BSFException.REASON_EXECUTION_ERROR, diff --git a/dev-java/bsf/files/bsf-2.4.0-build-properties.xml b/dev-java/bsf/files/bsf-2.4.0-build-properties.xml new file mode 100644 index 00000000000..6d716ed0056 --- /dev/null +++ b/dev-java/bsf/files/bsf-2.4.0-build-properties.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<project name="props"> + <property name="project.name" value="bsf"/> + <property name="project.fullName" value="Bean Scripting Framework"/> + <property name="project.version" value="2.4.0"/> + <property name="project.debug" value="on"/> + <property name="project.deprecation" value="on"/> + + <property name="build.file" value="build.xml"/> + <property name="build.properties.file" value="build-properties.xml"/> + <property name="build.dir" value="build"/> + <property name="build.dest" value="build/classes"/> + <property name="build.lib" value="build/lib"/> + <property name="build.lib.win32" value="build/lib/win32"/> + <property name="build.samples" value="build/samples"/> + <property name="build.samples.calc" value="build/samples/calc"/> + <property name="build.samples.scriptedui" value="build/samples/scriptedui"/> + <property name="build.samples.xsl" value="build/samples/xsl"/> + <property name="build.javadocs" value="build/javadocs"/> + <property name="build.tests" value="build/testcases" /> + + <property name="dist.dir" value="dist"/> + <property name="dist.dir.root" value="${dist.dir}/${project.name}-${project.version}"/> + <property name="dist.bin.file" value="${dist.dir}/${project.name}-bin-${project.version}"/> + <property name="dist.src.file" value="${dist.dir}/${project.name}-src-${project.version}"/> + + <property name="packages" value="org.apache.*"/> + + <property name="samples.dir" value="samples"/> + + <property name="site.src" location="xdocs"/> + <property name="site.dest" location="docs"/> + <property name="site.projectFile" value="stylesheets/project.xml"/> + + <property name="source.level" value="1.4" /> + + <property name="src.dir" value="src"/> + + <property name="templ.path" location="xdocs/stylesheets"/> + + <property name="tests.dir" value="test"/> + + <property name="velocity.props" location="${site.src}/velocity.properties"/> +</project> |