Skip to content

Migrate org.osgi.util.function from the osgi/osgi monorepo - #1

Open
stbischof wants to merge 36 commits into
mainfrom
migration
Open

stbischof wants to merge 36 commits into
mainfrom
migration

Conversation

@stbischof

Copy link
Copy Markdown

This PR imports org.osgi.util.function from the osgi/osgi monorepo, preserving the specification's full git history:

  • complete history of every contained file (git filter-repo, including pre-rename paths); build/IDE metadata and monorepo root files are filtered out
  • one commit restructures to the Maven layout, one adds the Maven build (pom.xml, CI workflow stubs, repo metadata)
  • merged onto the repository's initial commit with --allow-unrelated-histories

Note for the ECA check: flagged identities date from the pre-Eclipse era of the OSGi Alliance; the identical commits are already hosted at Eclipse in osgi/osgi.

svnadmin and others added 30 commits July 1, 2004 16:19
The master ant script is updated to build with java 8 supporting
profiles. The jsr14 support is removed. Each project is also updated to
specify java 1.8 for the target and class library. Execution environments
are no longer used (except for cnf/src to work with Eclipse IDE).
javax.microedition packages needed by org.osgi.service.io are moved into
that project.
The gradle master script is in a gradle folder.
The ant build is now fully replaced by gradle
osgi.annotation 6.0.1 exports the packages so bndtools 3.0 does not
complain about Discouraged Access. So we can remove the packages=**
from the osgi.annotation -buildpath entry.
osgi.annotation 6.0.1 exports the packages so bndtools 3.0 does not
complain about Discouraged Access. So we can remove the packages=**
from the osgi.annotation -buildpath entry.
Also fixed new projects from master to build with JDK 8.
This is a "Runnable" whose run method throws Exception

bump package version to 1.1
The methods are updated to throw Exception
Callback is removed and then(Callback) is replaced by
thenAccept(Consumer).

Other general improvements are made to PromiseImpl.
Now that we are on Java 8, we should provide some additional methods
in the function package.

We include counterparts to the convenience methods in the juf types as
well as static methods to "convert" to and from the juf types.
function: Update with default and static methods for Java 8
We also set a central version number for the osgi.annotation version.
The build will use a project's packaging type to include it into the
proper build artifacts.

The packaging include files also allow use to build different
packaging types with different attributes such as versions. This will
be used to build annotation and core as final while cmpn and promise are
still snapshot.
build: Use include files to project package type
Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
Build updates for OSGi Working Group
This removes all Documented CLASS retention annotations and also
sets the maven-scope for osgi.annotation to compile.

Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants