From 1bd71c9dd096b7caaec556f6a0e3b39e3f4eb4c0 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sun, 16 Oct 2022 09:19:56 +0200 Subject: [PATCH] Move Third Party components to Argeo Distribution --- Makefile-tp.mk | 33 - ext/Makefile | 21 - ext/javax.mail.mbox/.classpath | 7 - ext/javax.mail.mbox/.project | 28 - ext/javax.mail.mbox/bnd.bnd | 7 - ext/javax.mail.mbox/build.properties | 4 - .../sun/mail/mbox/ContentLengthCounter.java | 75 -- .../sun/mail/mbox/ContentLengthUpdater.java | 116 -- .../src/com/sun/mail/mbox/DefaultMailbox.java | 106 -- .../src/com/sun/mail/mbox/FileInterface.java | 143 -- .../src/com/sun/mail/mbox/InboxFile.java | 22 - .../src/com/sun/mail/mbox/LineCounter.java | 64 - .../src/com/sun/mail/mbox/MailFile.java | 26 - .../src/com/sun/mail/mbox/Mailbox.java | 29 - .../src/com/sun/mail/mbox/MboxFolder.java | 1164 ----------------- .../src/com/sun/mail/mbox/MboxMessage.java | 532 -------- .../src/com/sun/mail/mbox/MboxProvider.java | 29 - .../src/com/sun/mail/mbox/MboxStore.java | 113 -- .../src/com/sun/mail/mbox/MessageLoader.java | 285 ---- .../sun/mail/mbox/NewlineOutputStream.java | 94 -- .../src/com/sun/mail/mbox/SolarisMailbox.java | 81 -- .../src/com/sun/mail/mbox/SunOSMailbox.java | 20 - .../src/com/sun/mail/mbox/SunV3BodyPart.java | 314 ----- .../src/com/sun/mail/mbox/SunV3Multipart.java | 201 --- .../src/com/sun/mail/mbox/TempFile.java | 183 --- .../src/com/sun/mail/mbox/UNIXFile.java | 132 -- .../src/com/sun/mail/mbox/UNIXFolder.java | 74 -- .../src/com/sun/mail/mbox/UNIXInbox.java | 123 -- .../sun/mail/remote/POP3RemoteProvider.java | 29 - .../com/sun/mail/remote/POP3RemoteStore.java | 36 - .../sun/mail/remote/RemoteDefaultFolder.java | 50 - .../src/com/sun/mail/remote/RemoteInbox.java | 68 - .../src/com/sun/mail/remote/RemoteStore.java | 127 -- ext/org.argeo.ext.slf4j/.classpath | 7 - ext/org.argeo.ext.slf4j/.project | 28 - ext/org.argeo.ext.slf4j/bnd.bnd | 3 - ext/org.argeo.ext.slf4j/build.properties | 4 - .../src/org/slf4j/impl/ArgeoLogger.java | 180 --- .../org/slf4j/impl/StaticLoggerBinder.java | 41 - .../org/slf4j/impl/SystemLoggingAdapter.java | 203 --- tp/Make.java | 48 - .../org.argeo.tp.swt/eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/includes.properties | 2 - .../org.argeo.tp.swt/eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/includes.properties | 2 - .../org.argeo.tp.swt/eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/includes.properties | 2 - .../org.argeo.tp.swt/eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/includes.properties | 2 - tp/org.argeo.tp.apache/apache-sshd/common.bnd | 2 - tp/org.argeo.tp.apache/apache-sshd/merge.bnd | 16 - .../apache-sshd/org.apache.sshd.cli.bnd | 2 - .../org.apache.sshd.common.bnd.retired | 11 - .../org.apache.sshd.core.bnd.retired | 6 - .../apache-sshd/org.apache.sshd.git.bnd | 6 - .../apache-sshd/org.apache.sshd.putty.bnd | 5 - .../apache-sshd/org.apache.sshd.scp.bnd | 2 - .../apache-sshd/org.apache.sshd.sftp.bnd | 2 - tp/org.argeo.tp.apache/batik/common.bnd | 2 - tp/org.argeo.tp.apache/batik/merge.bnd | 28 - .../batik/org.apache.batik.constants.bnd | 2 - .../batik/org.apache.batik.css.bnd | 2 - .../batik/org.apache.batik.i18n.bnd | 2 - .../batik/org.apache.batik.util.bnd | 2 - .../org.apache.commons.cli.bnd | 3 - .../org.apache.commons.codec.bnd | 3 - .../org.apache.commons.compress.bnd | 8 - .../org.apache.commons.exec.bnd | 3 - .../org.apache.commons.fileupload.bnd | 6 - .../org.apache.commons.httpclient.bnd | 3 - .../org.apache.commons.io.bnd | 4 - .../org.apache.commons.vfs.bnd | 5 - .../org.apache.httpcomponents.httpclient.bnd | 3 - .../org.apache.httpcomponents.httpcore.bnd | 3 - .../org.apache.httpcomponents.httpmime.bnd | 3 - .../org.apache.tika.core.bnd | 4 - .../org.apache.tika.parsers.bnd | 5 - .../org.apache.tomcat.jni.bnd | 3 - .../org.apache.xalan.bnd.retired | 3 - .../org.apache.xalan.serializer.bnd.retired | 3 - tp/org.argeo.tp.apache/org.apache.xerces.bnd | 6 - .../org.apache.xml.resolver.bnd | 3 - .../org.apache.xmlgraphics.bnd.retired | 3 - tp/org.argeo.tp.apache/xalan/merge.bnd | 6 - tp/org.argeo.tp.apache/xmlgraphics/merge.bnd | 11 - ...mlgraphics.image.loader.spi.ImageConverter | 5 - ...aphics.image.loader.spi.ImageLoaderFactory | 4 - ...mlgraphics.image.loader.spi.ImagePreloader | 5 - .../com.adobe.xmp.xmpcore.bnd | 4 - tp/org.argeo.tp.formats/com.drew.metadata.bnd | 3 - .../com.github.mangstadt.biweekly.bnd | 3 - .../com.github.mangstadt.ezvcard.bnd | 8 - .../com.github.mangstadt.vinnie.bnd | 3 - tp/org.argeo.tp.formats/com.graphbuilder.bnd | 3 - tp/org.argeo.tp.formats/com.lowagie.bnd | 3 - .../de.rototor.pdfbox.graphics2d.bnd | 3 - .../flying-saucer/common.bnd | 2 - .../flying-saucer/org.xhtmlrenderer.core.bnd | 1 - .../org.xhtmlrenderer.openpdf.bnd | 1 - .../flying-saucer/org.xhtmlrenderer.swt.bnd | 4 - tp/org.argeo.tp.formats/fop/merge.bnd | 16 - .../io.nayuki.qrcodegen.bnd | 2 - tp/org.argeo.tp.formats/javax.xml.bind.bnd | 7 - .../org.apache.commons.collections4.bnd | 3 - .../org.apache.commons.csv.bnd | 3 - .../org.apache.commons.imaging.bnd | 4 - .../org.apache.commons.lang3.bnd | 3 - .../org.apache.commons.math3.bnd | 3 - .../org.apache.commons.text.bnd | 3 - .../org.apache.pdfbox.jempbox.bnd | 3 - .../org.apache.xml.security.bnd | 3 - .../org.mozilla.javascript.bnd | 4 - tp/org.argeo.tp.formats/pdfbox/common.bnd | 2 - .../pdfbox/org.apache.pdfbox.bnd | 5 - .../pdfbox/org.apache.pdfbox.fontbox.bnd | 2 - .../pdfbox/org.apache.pdfbox.xmpbox.bnd | 2 - tp/org.argeo.tp.gis/ejml/merge.bnd | 17 - tp/org.argeo.tp.gis/geotools/merge.bnd | 65 - tp/org.argeo.tp.gis/org.json.simple.bnd | 2 - tp/org.argeo.tp.gis/org.locationtech.jts.bnd | 2 - tp/org.argeo.tp.gis/units/merge.bnd | 14 - .../EDU.oswego.cs.dl.util.concurrent.bnd | 3 - .../com.google.guava.bnd.retired | 5 - ...com.google.guava.failureaccess.bnd.retired | 4 - tp/org.argeo.tp.jcr/jackrabbit/common.bnd | 2 - .../org.apache.jackrabbit.api.bnd.retired | 3 - .../jackrabbit/org.apache.jackrabbit.core.bnd | 13 - .../jackrabbit/org.apache.jackrabbit.data.bnd | 14 - .../org.apache.jackrabbit.jcr.client.bnd | 2 - .../org.apache.jackrabbit.jcr.commons.bnd | 2 - .../org.apache.jackrabbit.jcr2dav.bnd | 2 - .../org.apache.jackrabbit.jcr2spi.bnd | 2 - .../org.apache.jackrabbit.server.bnd | 2 - .../org.apache.jackrabbit.servlet.bnd | 4 - .../jackrabbit/org.apache.jackrabbit.spi.bnd | 2 - .../org.apache.jackrabbit.spi.commons.bnd | 2 - .../org.apache.jackrabbit.spi2dav.bnd | 2 - .../org.apache.jackrabbit.spi2jcr.bnd | 2 - .../org.apache.jackrabbit.webdav.bnd | 2 - tp/org.argeo.tp.jcr/javax.jcr.bnd | 5 - tp/org.argeo.tp.jcr/oak/common.bnd | 2 - .../oak/org.apache.jackrabbit.api.bnd | 3 - .../org.apache.commons.collections.bnd | 3 - .../org.apache.commons.dbcp.bnd | 5 - .../org.apache.commons.pool.bnd | 3 - tp/org.argeo.tp.jcr/org.apache.lucene.bnd | 3 - .../jetty-websocket/merge.bnd | 22 - tp/org.argeo.tp.jetty/jetty/common.bnd | 2 - .../jetty/org.eclipse.jetty.alpn.client.bnd | 2 - .../jetty/org.eclipse.jetty.alpn.server.bnd | 2 - .../jetty/org.eclipse.jetty.client.bnd | 3 - ...org.eclipse.jetty.continuation.bnd.retired | 3 - .../jetty/org.eclipse.jetty.http.bnd | 3 - .../jetty/org.eclipse.jetty.http2.client.bnd | 2 - .../jetty/org.eclipse.jetty.http2.common.bnd | 2 - .../jetty/org.eclipse.jetty.http2.hpack.bnd | 2 - .../jetty/org.eclipse.jetty.http2.server.bnd | 2 - .../jetty/org.eclipse.jetty.io.bnd | 3 - .../jetty/org.eclipse.jetty.jmx.bnd | 3 - .../jetty/org.eclipse.jetty.security.bnd | 3 - .../jetty/org.eclipse.jetty.server.bnd | 3 - .../jetty/org.eclipse.jetty.servlet.bnd | 3 - .../jetty/org.eclipse.jetty.servlets.bnd | 3 - .../jetty/org.eclipse.jetty.util.ajax.bnd | 3 - .../jetty/org.eclipse.jetty.util.bnd | 3 - .../jetty/org.eclipse.jetty.xml.bnd | 3 - tp/org.argeo.tp.poi/org.apache.xmlbeans.bnd | 8 - tp/org.argeo.tp.poi/poi/common.bnd | 2 - tp/org.argeo.tp.poi/poi/org.apache.poi.bnd | 5 - .../poi/org.apache.poi.ooxml.bnd | 8 - .../poi/org.apache.poi.ooxml.schemas.bnd | 7 - .../poi/org.apache.poi.scratchpad.bnd | 5 - tp/org.argeo.tp.sdk/biz.aQute.bndlib.bnd | 3 - tp/org.argeo.tp.sdk/junit-jupiter/merge.bnd | 14 - tp/org.argeo.tp.sdk/junit-platform/merge.bnd | 22 - tp/org.argeo.tp.sdk/org.apiguardian.bnd | 2 - .../org.eclipse.jdt.core.compiler.batch.bnd | 4 - tp/org.argeo.tp.sdk/org.eclipse.jgit.bnd | 6 - tp/org.argeo.tp.sdk/org.graalvm.bnd.retired | 4 - tp/org.argeo.tp.sdk/org.hamcrest.core.bnd | 2 - tp/org.argeo.tp.sdk/org.junit.bnd | 6 - tp/org.argeo.tp.sdk/org.junit.vintage.bnd | 2 - tp/org.argeo.tp.sdk/org.opentest4j.bnd | 2 - tp/org.argeo.tp.sdk/org.redline-rpm.bnd | 7 - tp/org.argeo.tp/bouncycastle/bcmail.bnd | 3 - tp/org.argeo.tp/bouncycastle/bcpg.bnd | 3 - tp/org.argeo.tp/bouncycastle/bcpkix.bnd | 3 - tp/org.argeo.tp/bouncycastle/bcprov.bnd | 3 - tp/org.argeo.tp/bouncycastle/bcutil.bnd | 3 - tp/org.argeo.tp/bouncycastle/common.bnd | 2 - .../com.googlecode.javaewah.JavaEWAH.bnd | 4 - tp/org.argeo.tp/com.zaxxer.sparsebits.bnd | 3 - ...erxml.jackson.core.jackson-annotations.bnd | 3 - ...om.fasterxml.jackson.core.jackson-core.bnd | 3 - ...asterxml.jackson.core.jackson-databind.bnd | 3 - tp/org.argeo.tp/jackson/common.bnd | 2 - tp/org.argeo.tp/jakarta.servlet.api.bnd | 3 - tp/org.argeo.tp/javax.activation.bnd | 3 - tp/org.argeo.tp/javax.mail.bnd | 4 - tp/org.argeo.tp/javax.websocket.bnd | 4 - tp/org.argeo.tp/net.i2p.crypto.eddsa.bnd | 5 - tp/org.argeo.tp/org.h2.bnd | 4 - tp/org.argeo.tp/org.postgresql.jdbc42.bnd | 4 - tp/org.argeo.tp/org.tukaani.xz.bnd | 2 - tp/org.argeo.tp/org.w3c.css.sac.bnd | 3 - tp/org.argeo.tp/org.w3c.dom.smil.bnd | 4 - tp/org.argeo.tp/org.w3c.dom.svg.bnd | 3 - tp/org.argeo.tp/slf4j/common.bnd | 2 - tp/org.argeo.tp/slf4j/org.slf4j.api.bnd | 2 - .../slf4j/org.slf4j.commons.logging.bnd | 3 - .../slf4j/org.slf4j.log4j.bnd.deactivated | 3 - tp/osgi/api/org.argeo.tp.osgi/osgi.cmpn.bnd | 2 - tp/osgi/api/org.argeo.tp.osgi/osgi.core.bnd | 2 - .../eclipse-equinox/common.bnd | 2 - .../eclipse-equinox/includes.properties | 14 - .../eclipse-equinox/common.bnd | 3 - .../eclipse-equinox/includes.properties | 8 - .../eclipse-rap/common.bnd | 2 - .../eclipse-rap/excludes.properties | 0 .../eclipse-rap/includes.properties | 15 - .../org.argeo.tp.swt/eclipse-rap/common.bnd | 2 - .../eclipse-rap/includes.properties | 10 - .../eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/excludes.properties | 7 - .../eclipse-rcp/includes.properties | 6 - .../org.eclipse.emf.common.bnd | 3 - .../org.eclipse.emf.ecore.bnd | 3 - .../org.eclipse.emf.ecore.change.bnd | 3 - .../org.eclipse.emf.ecore.xmi.bnd | 3 - .../eclipse-equinox/common.bnd | 2 - .../eclipse-equinox/excludes.properties | 1 - .../eclipse-equinox/includes.properties | 1 - .../eclipse-nebula/common.bnd | 2 - .../eclipse-nebula/excludes.properties | 2 - .../eclipse-nebula/includes.properties | 2 - .../org.argeo.tp.swt/eclipse-rcp/common.bnd | 2 - .../eclipse-rcp/excludes.properties | 3 - .../eclipse-rcp/includes.properties | 5 - tp/uris.properties | 4 - 239 files changed, 5732 deletions(-) delete mode 100644 Makefile-tp.mk delete mode 100644 ext/Makefile delete mode 100644 ext/javax.mail.mbox/.classpath delete mode 100644 ext/javax.mail.mbox/.project delete mode 100644 ext/javax.mail.mbox/bnd.bnd delete mode 100644 ext/javax.mail.mbox/build.properties delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthCounter.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthUpdater.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/DefaultMailbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/FileInterface.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/InboxFile.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/LineCounter.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MailFile.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/Mailbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxFolder.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxMessage.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxProvider.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxStore.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/MessageLoader.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/NewlineOutputStream.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/SolarisMailbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/SunOSMailbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3BodyPart.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3Multipart.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/TempFile.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFile.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFolder.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXInbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteProvider.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteStore.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteDefaultFolder.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteInbox.java delete mode 100644 ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteStore.java delete mode 100644 ext/org.argeo.ext.slf4j/.classpath delete mode 100644 ext/org.argeo.ext.slf4j/.project delete mode 100644 ext/org.argeo.ext.slf4j/bnd.bnd delete mode 100644 ext/org.argeo.ext.slf4j/build.properties delete mode 100644 ext/org.argeo.ext.slf4j/src/org/slf4j/impl/ArgeoLogger.java delete mode 100644 ext/org.argeo.ext.slf4j/src/org/slf4j/impl/StaticLoggerBinder.java delete mode 100644 ext/org.argeo.ext.slf4j/src/org/slf4j/impl/SystemLoggingAdapter.java delete mode 100644 tp/Make.java delete mode 100644 tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd delete mode 100644 tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties delete mode 100644 tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd delete mode 100644 tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties delete mode 100644 tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd delete mode 100644 tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties delete mode 100644 tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd delete mode 100644 tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/common.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/merge.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.cli.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.common.bnd.retired delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.core.bnd.retired delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.git.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.putty.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.scp.bnd delete mode 100644 tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.sftp.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/common.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/merge.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/org.apache.batik.constants.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/org.apache.batik.css.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/org.apache.batik.i18n.bnd delete mode 100644 tp/org.argeo.tp.apache/batik/org.apache.batik.util.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.cli.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.codec.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.compress.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.exec.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.fileupload.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.httpclient.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.io.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.commons.vfs.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.httpcomponents.httpclient.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.httpcomponents.httpcore.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.httpcomponents.httpmime.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.tika.core.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.tika.parsers.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.tomcat.jni.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.xalan.bnd.retired delete mode 100644 tp/org.argeo.tp.apache/org.apache.xalan.serializer.bnd.retired delete mode 100644 tp/org.argeo.tp.apache/org.apache.xerces.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.xml.resolver.bnd delete mode 100644 tp/org.argeo.tp.apache/org.apache.xmlgraphics.bnd.retired delete mode 100644 tp/org.argeo.tp.apache/xalan/merge.bnd delete mode 100644 tp/org.argeo.tp.apache/xmlgraphics/merge.bnd delete mode 100644 tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageConverter delete mode 100644 tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory delete mode 100644 tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader delete mode 100644 tp/org.argeo.tp.formats/com.adobe.xmp.xmpcore.bnd delete mode 100644 tp/org.argeo.tp.formats/com.drew.metadata.bnd delete mode 100644 tp/org.argeo.tp.formats/com.github.mangstadt.biweekly.bnd delete mode 100644 tp/org.argeo.tp.formats/com.github.mangstadt.ezvcard.bnd delete mode 100644 tp/org.argeo.tp.formats/com.github.mangstadt.vinnie.bnd delete mode 100644 tp/org.argeo.tp.formats/com.graphbuilder.bnd delete mode 100644 tp/org.argeo.tp.formats/com.lowagie.bnd delete mode 100644 tp/org.argeo.tp.formats/de.rototor.pdfbox.graphics2d.bnd delete mode 100644 tp/org.argeo.tp.formats/flying-saucer/common.bnd delete mode 100644 tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.core.bnd delete mode 100644 tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.openpdf.bnd delete mode 100644 tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.swt.bnd delete mode 100644 tp/org.argeo.tp.formats/fop/merge.bnd delete mode 100644 tp/org.argeo.tp.formats/io.nayuki.qrcodegen.bnd delete mode 100644 tp/org.argeo.tp.formats/javax.xml.bind.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.collections4.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.csv.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.imaging.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.lang3.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.math3.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.commons.text.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.pdfbox.jempbox.bnd delete mode 100644 tp/org.argeo.tp.formats/org.apache.xml.security.bnd delete mode 100644 tp/org.argeo.tp.formats/org.mozilla.javascript.bnd delete mode 100644 tp/org.argeo.tp.formats/pdfbox/common.bnd delete mode 100644 tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.bnd delete mode 100644 tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.fontbox.bnd delete mode 100644 tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.xmpbox.bnd delete mode 100644 tp/org.argeo.tp.gis/ejml/merge.bnd delete mode 100644 tp/org.argeo.tp.gis/geotools/merge.bnd delete mode 100644 tp/org.argeo.tp.gis/org.json.simple.bnd delete mode 100644 tp/org.argeo.tp.gis/org.locationtech.jts.bnd delete mode 100644 tp/org.argeo.tp.gis/units/merge.bnd delete mode 100644 tp/org.argeo.tp.jcr/EDU.oswego.cs.dl.util.concurrent.bnd delete mode 100644 tp/org.argeo.tp.jcr/com.google.guava.bnd.retired delete mode 100644 tp/org.argeo.tp.jcr/com.google.guava.failureaccess.bnd.retired delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/common.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.api.bnd.retired delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.core.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.data.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.client.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.commons.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2dav.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2spi.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.server.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.servlet.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.commons.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2dav.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2jcr.bnd delete mode 100644 tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.webdav.bnd delete mode 100644 tp/org.argeo.tp.jcr/javax.jcr.bnd delete mode 100644 tp/org.argeo.tp.jcr/oak/common.bnd delete mode 100644 tp/org.argeo.tp.jcr/oak/org.apache.jackrabbit.api.bnd delete mode 100644 tp/org.argeo.tp.jcr/org.apache.commons.collections.bnd delete mode 100644 tp/org.argeo.tp.jcr/org.apache.commons.dbcp.bnd delete mode 100644 tp/org.argeo.tp.jcr/org.apache.commons.pool.bnd delete mode 100644 tp/org.argeo.tp.jcr/org.apache.lucene.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty-websocket/merge.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/common.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.client.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.server.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.client.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.continuation.bnd.retired delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.client.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.common.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.hpack.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.server.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.io.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.jmx.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.security.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.server.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlet.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlets.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.ajax.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.bnd delete mode 100644 tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.xml.bnd delete mode 100644 tp/org.argeo.tp.poi/org.apache.xmlbeans.bnd delete mode 100644 tp/org.argeo.tp.poi/poi/common.bnd delete mode 100644 tp/org.argeo.tp.poi/poi/org.apache.poi.bnd delete mode 100644 tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.bnd delete mode 100644 tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.schemas.bnd delete mode 100644 tp/org.argeo.tp.poi/poi/org.apache.poi.scratchpad.bnd delete mode 100644 tp/org.argeo.tp.sdk/biz.aQute.bndlib.bnd delete mode 100644 tp/org.argeo.tp.sdk/junit-jupiter/merge.bnd delete mode 100644 tp/org.argeo.tp.sdk/junit-platform/merge.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.apiguardian.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.eclipse.jdt.core.compiler.batch.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.eclipse.jgit.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.graalvm.bnd.retired delete mode 100644 tp/org.argeo.tp.sdk/org.hamcrest.core.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.junit.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.junit.vintage.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.opentest4j.bnd delete mode 100644 tp/org.argeo.tp.sdk/org.redline-rpm.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/bcmail.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/bcpg.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/bcpkix.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/bcprov.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/bcutil.bnd delete mode 100644 tp/org.argeo.tp/bouncycastle/common.bnd delete mode 100644 tp/org.argeo.tp/com.googlecode.javaewah.JavaEWAH.bnd delete mode 100644 tp/org.argeo.tp/com.zaxxer.sparsebits.bnd delete mode 100644 tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-annotations.bnd delete mode 100644 tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-core.bnd delete mode 100644 tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-databind.bnd delete mode 100644 tp/org.argeo.tp/jackson/common.bnd delete mode 100644 tp/org.argeo.tp/jakarta.servlet.api.bnd delete mode 100644 tp/org.argeo.tp/javax.activation.bnd delete mode 100644 tp/org.argeo.tp/javax.mail.bnd delete mode 100644 tp/org.argeo.tp/javax.websocket.bnd delete mode 100644 tp/org.argeo.tp/net.i2p.crypto.eddsa.bnd delete mode 100644 tp/org.argeo.tp/org.h2.bnd delete mode 100644 tp/org.argeo.tp/org.postgresql.jdbc42.bnd delete mode 100644 tp/org.argeo.tp/org.tukaani.xz.bnd delete mode 100644 tp/org.argeo.tp/org.w3c.css.sac.bnd delete mode 100644 tp/org.argeo.tp/org.w3c.dom.smil.bnd delete mode 100644 tp/org.argeo.tp/org.w3c.dom.svg.bnd delete mode 100644 tp/org.argeo.tp/slf4j/common.bnd delete mode 100644 tp/org.argeo.tp/slf4j/org.slf4j.api.bnd delete mode 100644 tp/org.argeo.tp/slf4j/org.slf4j.commons.logging.bnd delete mode 100644 tp/org.argeo.tp/slf4j/org.slf4j.log4j.bnd.deactivated delete mode 100644 tp/osgi/api/org.argeo.tp.osgi/osgi.cmpn.bnd delete mode 100644 tp/osgi/api/org.argeo.tp.osgi/osgi.core.bnd delete mode 100644 tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/common.bnd delete mode 100644 tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/includes.properties delete mode 100644 tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd delete mode 100644 tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties delete mode 100644 tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/common.bnd delete mode 100644 tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/excludes.properties delete mode 100644 tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/includes.properties delete mode 100644 tp/swt/rap/org.argeo.tp.swt/eclipse-rap/common.bnd delete mode 100644 tp/swt/rap/org.argeo.tp.swt/eclipse-rap/includes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/common.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/excludes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/includes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.common.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.change.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.xmi.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/common.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/excludes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/includes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/common.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/excludes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/includes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/excludes.properties delete mode 100644 tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties delete mode 100644 tp/uris.properties diff --git a/Makefile-tp.mk b/Makefile-tp.mk deleted file mode 100644 index 8a7e12d66..000000000 --- a/Makefile-tp.mk +++ /dev/null @@ -1,33 +0,0 @@ -include sdk.mk -.PHONY: clean all - -all: distribution - $(MAKE) -C ext all - - -BOOTSTRAP_BASE=$(SDK_BUILD_BASE)/bootstrap - -A2_OUTPUT = $(SDK_BUILD_BASE)/a2 - -distribution: bootstrap - $(JVM) -cp \ - $(BOOTSTRAP_BASE)/bndlib.jar:$(BOOTSTRAP_BASE)/slf4j-api.jar:$(BOOTSTRAP_BASE)/org.argeo.slc.api/bin:$(BOOTSTRAP_BASE)/org.argeo.slc.factory/bin \ - tp/Make.java $(A2_OUTPUT) - -bootstrap : - mkdir -p $(SDK_BUILD_BASE)/bootstrap - wget -c -O $(BOOTSTRAP_BASE)/ecj.jar https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.29.0/ecj-3.29.0.jar - wget -c -O $(BOOTSTRAP_BASE)/slf4j-api.jar https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.28/slf4j-api-1.7.28.jar - wget -c -O $(BOOTSTRAP_BASE)/bndlib.jar https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/5.3.0/biz.aQute.bndlib-5.3.0.jar - $(JVM) -cp $(BOOTSTRAP_BASE)/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main -11 -nowarn -time -cp \ - $(BOOTSTRAP_BASE)/bndlib.jar:$(BOOTSTRAP_BASE)/slf4j.jar \ - org.argeo.slc.api/src[-d $(BOOTSTRAP_BASE)/org.argeo.slc.api/bin] \ - org.argeo.slc.factory/src[-d $(BOOTSTRAP_BASE)/org.argeo.slc.factory/bin] \ - -clean: - rm -rf $(BOOTSTRAP_BASE) - rm -rf $(A2_OUTPUT)/org.argeo.tp - rm -rf $(A2_OUTPUT)/org.argeo.tp.* - $(MAKE) -C ext clean - -include $(SDK_SRC_BASE)/sdk/argeo-build/osgi.mk \ No newline at end of file diff --git a/ext/Makefile b/ext/Makefile deleted file mode 100644 index fae40cc4b..000000000 --- a/ext/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -include ../sdk.mk -.PHONY: clean all osgi - -all: osgi - -A2_CATEGORY = org.argeo.tp - -BUNDLES = \ -org.argeo.ext.slf4j \ -javax.mail.mbox \ - -clean: - rm -rf $(BUILD_BASE) - -A2_OUTPUT = $(SDK_BUILD_BASE)/a2 -A2_BASE = $(A2_OUTPUT) - -VPATH = .:ext -DEP_CATEGORIES = org.argeo.tp - -include $(SDK_SRC_BASE)/sdk/argeo-build/osgi.mk \ No newline at end of file diff --git a/ext/javax.mail.mbox/.classpath b/ext/javax.mail.mbox/.classpath deleted file mode 100644 index e801ebfb4..000000000 --- a/ext/javax.mail.mbox/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/ext/javax.mail.mbox/.project b/ext/javax.mail.mbox/.project deleted file mode 100644 index b037595ff..000000000 --- a/ext/javax.mail.mbox/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - javax.mail.mbox - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/ext/javax.mail.mbox/bnd.bnd b/ext/javax.mail.mbox/bnd.bnd deleted file mode 100644 index 496cdb134..000000000 --- a/ext/javax.mail.mbox/bnd.bnd +++ /dev/null @@ -1,7 +0,0 @@ -Export-Package: com.sun.mail.*;version="1.6.7" - -Import-Package: \ -javax.mail.event,\ -* - -Bundle-Version : 1.6.7 diff --git a/ext/javax.mail.mbox/build.properties b/ext/javax.mail.mbox/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/ext/javax.mail.mbox/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthCounter.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthCounter.java deleted file mode 100644 index f01aa592d..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthCounter.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -/** - * Count the number of bytes in the body of the message written to the stream. - */ -class ContentLengthCounter extends OutputStream { - private long size = 0; - private boolean inHeader = true; - private int lastb1 = -1, lastb2 = -1; - - public void write(int b) throws IOException { - if (inHeader) { - // if line terminator is CR - if (b == '\r' && lastb1 == '\r') - inHeader = false; - else if (b == '\n') { - // if line terminator is \n - if (lastb1 == '\n') - inHeader = false; - // if line terminator is CRLF - else if (lastb1 == '\r' && lastb2 == '\n') - inHeader = false; - } - lastb2 = lastb1; - lastb1 = b; - } else - size++; - } - - public void write(byte[] b) throws IOException { - if (inHeader) - super.write(b); - else - size += b.length; - } - - public void write(byte[] b, int off, int len) throws IOException { - if (inHeader) - super.write(b, off, len); - else - size += len; - } - - public long getSize() { - return size; - } - - /* - public static void main(String argv[]) throws Exception { - int b; - ContentLengthCounter os = new ContentLengthCounter(); - while ((b = System.in.read()) >= 0) - os.write(b); - System.out.println("size " + os.getSize()); - } - */ -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthUpdater.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthUpdater.java deleted file mode 100644 index b6d4408f2..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/ContentLengthUpdater.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -/** - * Update the Content-Length header in the message written to the stream. - */ -class ContentLengthUpdater extends FilterOutputStream { - private String contentLength; - private boolean inHeader = true; - private boolean sawContentLength = false; - private int lastb1 = -1, lastb2 = -1; - private StringBuilder line = new StringBuilder(); - - public ContentLengthUpdater(OutputStream os, long contentLength) { - super(os); - this.contentLength = "Content-Length: " + contentLength; - } - - public void write(int b) throws IOException { - if (inHeader) { - String eol = "\n"; - // First, determine if we're still in the header. - if (b == '\r') { - // if line terminator is CR - if (lastb1 == '\r') { - inHeader = false; - eol = "\r"; - // else, if line terminator is CRLF - } else if (lastb1 == '\n' && lastb2 == '\r') { - inHeader = false; - eol = "\r\n"; - } - // else, if line terminator is \n - } else if (b == '\n') { - if (lastb1 == '\n') { - inHeader = false; - eol = "\n"; - } - } - - // If we're no longer in the header, and we haven't seen - // a Content-Length header yet, it's time to put one out. - if (!inHeader && !sawContentLength) { - out.write(contentLength.getBytes("iso-8859-1")); - out.write(eol.getBytes("iso-8859-1")); - } - - // If we have a full line, see if it's a Content-Length header. - if (b == '\r' || (b == '\n' && lastb1 != '\r')) { - if (line.toString().regionMatches(true, 0, - "content-length:", 0, 15)) { - // yup, got it - sawContentLength = true; - // put out the new version - out.write(contentLength.getBytes("iso-8859-1")); - } else { - // not a Content-Length header, just write it out - out.write(line.toString().getBytes("iso-8859-1")); - } - line.setLength(0); // clear buffer for next line - } - if (b == '\r' || b == '\n') - out.write(b); // write out line terminator immediately - else - line.append((char)b); // accumulate characters of the line - - // rotate saved characters for next time through loop - lastb2 = lastb1; - lastb1 = b; - } else - out.write(b); // not in the header, just write it out - } - - public void write(byte[] b) throws IOException { - if (inHeader) - write(b, 0, b.length); - else - out.write(b); - } - - public void write(byte[] b, int off, int len) throws IOException { - if (inHeader) { - for (int i = 0 ; i < len ; i++) { - write(b[off + i]); - } - } else - out.write(b, off, len); - } - - // for testing - public static void main(String argv[]) throws Exception { - int b; - ContentLengthUpdater os = - new ContentLengthUpdater(System.out, Long.parseLong(argv[0])); - while ((b = System.in.read()) >= 0) - os.write(b); - os.flush(); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/DefaultMailbox.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/DefaultMailbox.java deleted file mode 100644 index bac0b0576..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/DefaultMailbox.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -public class DefaultMailbox extends Mailbox { - private final String home; - - private static final boolean homeRelative = - Boolean.getBoolean("mail.mbox.homerelative"); - - public DefaultMailbox() { - home = System.getProperty("user.home"); - } - - public MailFile getMailFile(String user, String folder) { - return new DefaultMailFile(filename(user, folder)); - } - - public String filename(String user, String folder) { - try { - char c = folder.charAt(0); - if (c == File.separatorChar) { - return folder; - } else if (c == '~') { - int i = folder.indexOf(File.separatorChar); - String tail = ""; - if (i > 0) { - tail = folder.substring(i); - folder = folder.substring(0, i); - } - return home + tail; - } else { - if (folder.equalsIgnoreCase("INBOX")) - folder = "INBOX"; - if (homeRelative) - return home + File.separator + folder; - else - return folder; - } - } catch (StringIndexOutOfBoundsException e) { - return folder; - } - } -} - -class DefaultMailFile extends File implements MailFile { - protected transient RandomAccessFile file; - - private static final long serialVersionUID = 3713116697523761684L; - - DefaultMailFile(String name) { - super(name); - } - - public boolean lock(String mode) { - try { - file = new RandomAccessFile(this, mode); - return true; - } catch (FileNotFoundException fe) { - return false; - } catch (IOException ie) { - file = null; - return false; - } - } - - public void unlock() { - if (file != null) { - try { - file.close(); - } catch (IOException e) { - // ignore it - } - file = null; - } - } - - public void touchlock() { - } - - public FileDescriptor getFD() { - if (file == null) - return null; - try { - return file.getFD(); - } catch (IOException e) { - return null; - } - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/FileInterface.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/FileInterface.java deleted file mode 100644 index 891f0d551..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/FileInterface.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.File; -import java.io.FilenameFilter; - -public interface FileInterface { - /** - * Gets the name of the file. This method does not include the - * directory. - * @return the file name. - */ - public String getName(); - - /** - * Gets the path of the file. - * @return the file path. - */ - public String getPath(); - - /** - * Gets the absolute path of the file. - * @return the absolute file path. - */ - public String getAbsolutePath(); - - /** - * Gets the official, canonical path of the File. - * @return canonical path - */ - // XXX - JDK1.1 - // public String getCanonicalPath(); - - /** - * Gets the name of the parent directory. - * @return the parent directory, or null if one is not found. - */ - public String getParent(); - - /** - * Returns a boolean indicating whether or not a file exists. - */ - public boolean exists(); - - /** - * Returns a boolean indicating whether or not a writable file - * exists. - */ - public boolean canWrite(); - - /** - * Returns a boolean indicating whether or not a readable file - * exists. - */ - public boolean canRead(); - - /** - * Returns a boolean indicating whether or not a normal file - * exists. - */ - public boolean isFile(); - - /** - * Returns a boolean indicating whether or not a directory file - * exists. - */ - public boolean isDirectory(); - - /** - * Returns a boolean indicating whether the file name is absolute. - */ - public boolean isAbsolute(); - - /** - * Returns the last modification time. The return value should - * only be used to compare modification dates. It is meaningless - * as an absolute time. - */ - public long lastModified(); - - /** - * Returns the length of the file. - */ - public long length(); - - /** - * Creates a directory and returns a boolean indicating the - * success of the creation. Will return false if the directory already - * exists. - */ - public boolean mkdir(); - - /** - * Renames a file and returns a boolean indicating whether - * or not this method was successful. - * @param dest the new file name - */ - public boolean renameTo(File dest); - - /** - * Creates all directories in this path. This method - * returns true if the target (deepest) directory was created, - * false if the target directory was not created (e.g., if it - * existed previously). - */ - public boolean mkdirs(); - - /** - * Lists the files in a directory. Works only on directories. - * @return an array of file names. This list will include all - * files in the directory except the equivalent of "." and ".." . - */ - public String[] list(); - - /** - * Uses the specified filter to list files in a directory. - * @param filter the filter used to select file names - * @return the filter selected files in this directory. - * @see FilenameFilter - */ - public String[] list(FilenameFilter filter); - - /** - * Deletes the specified file. Returns true - * if the file could be deleted. - */ - public boolean delete(); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/InboxFile.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/InboxFile.java deleted file mode 100644 index e4fffd5f6..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/InboxFile.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -public interface InboxFile extends MailFile { - public boolean openLock(String mode); - public void closeLock(); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/LineCounter.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/LineCounter.java deleted file mode 100644 index 1ae4084f9..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/LineCounter.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -/** - * Count number of lines output. - */ -class LineCounter extends FilterOutputStream { - private int lastb = -1; - protected int lineCount; - - public LineCounter(OutputStream os) { - super(os); - } - - public void write(int b) throws IOException { - // If we have a full line, count it. - if (b == '\r' || (b == '\n' && lastb != '\r')) - lineCount++; - out.write(b); - lastb = b; - } - - public void write(byte[] b) throws IOException { - write(b, 0, b.length); - } - - public void write(byte[] b, int off, int len) throws IOException { - for (int i = 0 ; i < len ; i++) { - write(b[off + i]); - } - } - - public int getLineCount() { - return lineCount; - } - - // for testing - public static void main(String argv[]) throws Exception { - int b; - LineCounter os = - new LineCounter(System.out); - while ((b = System.in.read()) >= 0) - os.write(b); - os.flush(); - System.out.println(os.getLineCount()); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MailFile.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MailFile.java deleted file mode 100644 index f790fced8..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MailFile.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.FileDescriptor; - -public interface MailFile extends FileInterface { - public boolean lock(String mode); - public void unlock(); - public void touchlock(); - public FileDescriptor getFD(); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/Mailbox.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/Mailbox.java deleted file mode 100644 index b902121c9..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/Mailbox.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -public abstract class Mailbox { - /** - * Return a MailFile object for the specified user's folder. - */ - public abstract MailFile getMailFile(String user, String folder); - - /** - * Return the file name corresponding to a folder with the given name. - */ - public abstract String filename(String user, String folder); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxFolder.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxFolder.java deleted file mode 100644 index 340b84ff0..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxFolder.java +++ /dev/null @@ -1,1164 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import javax.mail.*; -import javax.mail.event.*; -import javax.mail.internet.*; -import javax.mail.util.*; -import java.io.*; -import java.util.*; -import com.sun.mail.util.LineInputStream; - -/** - * This class represents a mailbox file containing RFC822 style email messages. - * - * @author John Mani - * @author Bill Shannon - */ - -public class MboxFolder extends Folder { - - private String name; // null => the default folder - private boolean is_inbox = false; - private int total; // total number of messages in mailbox - private volatile boolean opened = false; - private List messages; - private TempFile temp; - private MboxStore mstore; - private MailFile folder; - private long file_size; // the size the last time we read or wrote it - private long saved_file_size; // size at the last open, close, or expunge - private boolean special_imap_message; - - private static final boolean homeRelative = - Boolean.getBoolean("mail.mbox.homerelative"); - - /** - * Metadata for each message, to avoid instantiating MboxMessage - * objects for messages we're not going to look at.

- * - * MboxFolder keeps an array of these objects corresponding to - * each message in the folder. Access to the array elements is - * synchronized, but access to contents of this object is not. - * The metadata stored here is only accessed if the message field - * is null; otherwise the MboxMessage object contains the metadata. - */ - static final class MessageMetadata { - public long start; // offset in temp file of start of this message - // public long end; // offset in temp file of end of this message - public long dataend; // offset of end of message data, <= "end" - public MboxMessage message; // the message itself - public boolean recent; // message is recent? - public boolean deleted; // message is marked deleted? - public boolean imap; // special imap message? - } - - public MboxFolder(MboxStore store, String name) { - super(store); - this.mstore = store; - this.name = name; - - if (name != null && name.equalsIgnoreCase("INBOX")) - is_inbox = true; - - folder = mstore.getMailFile(name == null ? "~" : name); - if (folder.exists()) - saved_file_size = folder.length(); - else - saved_file_size = -1; - } - - public char getSeparator() { - return File.separatorChar; - } - - public Folder[] list(String pattern) throws MessagingException { - if (!folder.isDirectory()) - throw new MessagingException("not a directory"); - - if (name == null) - return list(null, pattern, true); - else - return list(name + File.separator, pattern, false); - } - - /* - * Version of list shared by MboxStore and MboxFolder. - */ - protected Folder[] list(String ref, String pattern, boolean fromStore) - throws MessagingException { - if (ref != null && ref.length() == 0) - ref = null; - int i; - String refdir = null; - String realdir = null; - - pattern = canonicalize(ref, pattern); - if ((i = indexOfAny(pattern, "%*")) >= 0) { - refdir = pattern.substring(0, i); - } else { - refdir = pattern; - } - if ((i = refdir.lastIndexOf(File.separatorChar)) >= 0) { - // get rid of anything after directory name - refdir = refdir.substring(0, i + 1); - realdir = mstore.mb.filename(mstore.user, refdir); - } else if (refdir.length() == 0 || refdir.charAt(0) != '~') { - // no separator and doesn't start with "~" => home or cwd - refdir = null; - if (homeRelative) - realdir = mstore.home; - else - realdir = "."; - } else { - realdir = mstore.mb.filename(mstore.user, refdir); - } - List flist = new ArrayList(); - listWork(realdir, refdir, pattern, fromStore ? 0 : 1, flist); - if (Match.path("INBOX", pattern, '\0')) - flist.add("INBOX"); - - Folder fl[] = new Folder[flist.size()]; - for (i = 0; i < fl.length; i++) { - fl[i] = createFolder(mstore, flist.get(i)); - } - return fl; - } - - public String getName() { - if (name == null) - return ""; - else if (is_inbox) - return "INBOX"; - else - return folder.getName(); - } - - public String getFullName() { - if (name == null) - return ""; - else - return name; - } - - public Folder getParent() { - if (name == null) - return null; - else if (is_inbox) - return createFolder(mstore, null); - else - // XXX - have to recognize other folders under default folder - return createFolder(mstore, folder.getParent()); - } - - public boolean exists() { - return folder.exists(); - } - - public int getType() { - if (folder.isDirectory()) - return HOLDS_FOLDERS; - else - return HOLDS_MESSAGES; - } - - public Flags getPermanentFlags() { - return MboxStore.permFlags; - } - - public synchronized boolean hasNewMessages() { - if (folder instanceof UNIXFile) { - UNIXFile f = (UNIXFile)folder; - if (f.length() > 0) { - long atime = f.lastAccessed(); - long mtime = f.lastModified(); -//System.out.println(name + " atime " + atime + " mtime " + mtime); - return atime < mtime; - } - return false; - } - long current_size; - if (folder.exists()) - current_size = folder.length(); - else - current_size = -1; - // if we've never opened the folder, remember the size now - // (will cause us to return false the first time) - if (saved_file_size < 0) - saved_file_size = current_size; - return current_size > saved_file_size; - } - - public synchronized Folder getFolder(String name) - throws MessagingException { - if (folder.exists() && !folder.isDirectory()) - throw new MessagingException("not a directory"); - return createFolder(mstore, - (this.name == null ? "~" : this.name) + File.separator + name); - } - - public synchronized boolean create(int type) throws MessagingException { - switch (type) { - case HOLDS_FOLDERS: - if (!folder.mkdirs()) { - return false; - } - break; - - case HOLDS_MESSAGES: - if (folder.exists()) { - return false; - } - try { - (new FileOutputStream((File)folder)).close(); - } catch (FileNotFoundException fe) { - File parent = new File(folder.getParent()); - if (!parent.mkdirs()) - throw new - MessagingException("can't create folder: " + name); - try { - (new FileOutputStream((File)folder)).close(); - } catch (IOException ex3) { - throw new - MessagingException("can't create folder: " + name, ex3); - } - } catch (IOException e) { - throw new - MessagingException("can't create folder: " + name, e); - } - break; - - default: - throw new MessagingException("type not supported"); - } - notifyFolderListeners(FolderEvent.CREATED); - return true; - } - - public synchronized boolean delete(boolean recurse) - throws MessagingException { - checkClosed(); - if (name == null) - throw new MessagingException("can't delete default folder"); - boolean ret = true; - if (recurse && folder.isDirectory()) - ret = delete(new File(folder.getPath())); - if (ret && folder.delete()) { - notifyFolderListeners(FolderEvent.DELETED); - return true; - } - return false; - } - - /** - * Recursively delete the specified file/directory. - */ - private boolean delete(File f) { - File[] files = f.listFiles(); - boolean ret = true; - for (int i = 0; ret && i < files.length; i++) { - if (files[i].isDirectory()) - ret = delete(files[i]); - else - ret = files[i].delete(); - } - return ret; - } - - public synchronized boolean renameTo(Folder f) - throws MessagingException { - checkClosed(); - if (name == null) - throw new MessagingException("can't rename default folder"); - if (!(f instanceof MboxFolder)) - throw new MessagingException("can't rename to: " + f.getName()); - String newname = ((MboxFolder)f).folder.getPath(); - if (folder.renameTo(new File(newname))) { - notifyFolderRenamedListeners(f); - return true; - } - return false; - } - - /* Ensure the folder is open */ - void checkOpen() throws IllegalStateException { - if (!opened) - throw new IllegalStateException("Folder is not Open"); - } - - /* Ensure the folder is not open */ - private void checkClosed() throws IllegalStateException { - if (opened) - throw new IllegalStateException("Folder is Open"); - } - - /* - * Check that the given message number is within the range - * of messages present in this folder. If the message - * number is out of range, we check to see if new messages - * have arrived. - */ - private void checkRange(int msgno) throws MessagingException { - if (msgno < 1) // message-numbers start at 1 - throw new IndexOutOfBoundsException("message number < 1"); - - if (msgno <= total) - return; - - // Out of range, let's check if there are any new messages. - getMessageCount(); - - if (msgno > total) // Still out of range ? Throw up ... - throw new IndexOutOfBoundsException(msgno + " > " + total); - } - - /* Ensure the folder is open & readable */ - private void checkReadable() throws IllegalStateException { - if (!opened || (mode != READ_ONLY && mode != READ_WRITE)) - throw new IllegalStateException("Folder is not Readable"); - } - - /* Ensure the folder is open & writable */ - private void checkWritable() throws IllegalStateException { - if (!opened || mode != READ_WRITE) - throw new IllegalStateException("Folder is not Writable"); - } - - public boolean isOpen() { - return opened; - } - - /* - * Open the folder in the specified mode. - */ - public synchronized void open(int mode) throws MessagingException { - if (opened) - throw new IllegalStateException("Folder is already Open"); - - if (!folder.exists()) - throw new FolderNotFoundException(this, "Folder doesn't exist: " + - folder.getPath()); - this.mode = mode; - switch (mode) { - case READ_WRITE: - default: - if (!folder.canWrite()) - throw new MessagingException("Open Failure, can't write: " + - folder.getPath()); - // fall through... - - case READ_ONLY: - if (!folder.canRead()) - throw new MessagingException("Open Failure, can't read: " + - folder.getPath()); - break; - } - - if (is_inbox && folder instanceof InboxFile) { - InboxFile inf = (InboxFile)folder; - if (!inf.openLock(mode == READ_WRITE ? "rw" : "r")) - throw new MessagingException("Failed to lock INBOX"); - } - if (!folder.lock("r")) - throw new MessagingException("Failed to lock folder: " + name); - messages = new ArrayList(); - total = 0; - Message[] msglist = null; - try { - temp = new TempFile(null); - saved_file_size = folder.length(); - msglist = load(0L, false); - } catch (IOException e) { - throw new MessagingException("IOException", e); - } finally { - folder.unlock(); - } - notifyConnectionListeners(ConnectionEvent.OPENED); - if (msglist != null) - notifyMessageAddedListeners(msglist); - opened = true; // now really opened - } - - public synchronized void close(boolean expunge) throws MessagingException { - checkOpen(); - - try { - if (mode == READ_WRITE) { - try { - writeFolder(true, expunge); - } catch (IOException e) { - throw new MessagingException("I/O Exception", e); - } - } - messages = null; - } finally { - opened = false; - if (is_inbox && folder instanceof InboxFile) { - InboxFile inf = (InboxFile)folder; - inf.closeLock(); - } - temp.close(); - temp = null; - notifyConnectionListeners(ConnectionEvent.CLOSED); - } - } - - /** - * Re-write the folder with the current contents of the messages. - * If closing is true, turn off the RECENT flag. If expunge is - * true, don't write out deleted messages (only used from close() - * when the message cache won't be accessed again). - * - * Return the number of messages written. - */ - protected int writeFolder(boolean closing, boolean expunge) - throws IOException, MessagingException { - - /* - * First, see if there have been any changes. - */ - int modified = 0, deleted = 0, recent = 0; - for (int msgno = 1; msgno <= total; msgno++) { - MessageMetadata md = messages.get(messageIndexOf(msgno)); - MboxMessage msg = md.message; - if (msg != null) { - Flags flags = msg.getFlags(); - if (msg.isModified() || !msg.origFlags.equals(flags)) - modified++; - if (flags.contains(Flags.Flag.DELETED)) - deleted++; - if (flags.contains(Flags.Flag.RECENT)) - recent++; - } else { - if (md.deleted) - deleted++; - if (md.recent) - recent++; - } - } - if ((!closing || recent == 0) && (!expunge || deleted == 0) && - modified == 0) - return 0; - - /* - * Have to save any new mail that's been appended to the - * folder since we last loaded it. - */ - if (!folder.lock("rw")) - throw new MessagingException("Failed to lock folder: " + name); - int oldtotal = total; // XXX - Message[] msglist = null; - if (folder.length() != file_size) - msglist = load(file_size, !closing); - // don't use the folder's FD, need to re-open in order to trunc the file - OutputStream os = - new BufferedOutputStream(new FileOutputStream((File)folder)); - int wr = 0; - boolean keep = true; - try { - if (special_imap_message) - appendStream(getMessageStream(0), os); - for (int msgno = 1; msgno <= total; msgno++) { - MessageMetadata md = messages.get(messageIndexOf(msgno)); - MboxMessage msg = md.message; - if (msg != null) { - if (expunge && msg.isSet(Flags.Flag.DELETED)) - continue; // skip it; - if (closing && msgno <= oldtotal && - msg.isSet(Flags.Flag.RECENT)) - msg.setFlag(Flags.Flag.RECENT, false); - writeMboxMessage(msg, os); - } else { - if (expunge && md.deleted) - continue; // skip it; - if (closing && msgno <= oldtotal && md.recent) { - // have to instantiate message so that we can - // clear the recent flag - msg = (MboxMessage)getMessage(msgno); - msg.setFlag(Flags.Flag.RECENT, false); - writeMboxMessage(msg, os); - } else { - appendStream(getMessageStream(msgno), os); - } - } - folder.touchlock(); - wr++; - } - // If no messages in the mailbox, and we're closing, - // maybe we should remove the mailbox. - if (wr == 0 && closing) { - String skeep = ((MboxStore)store).getSession(). - getProperty("mail.mbox.deleteEmpty"); - if (skeep != null && skeep.equalsIgnoreCase("true")) - keep = false; - } - } catch (IOException e) { - throw e; - } catch (MessagingException e) { - throw e; - } catch (Exception e) { -e.printStackTrace(); - throw new MessagingException("unexpected exception " + e); - } finally { - // close the folder, flushing out the data - try { - os.close(); - file_size = saved_file_size = folder.length(); - if (!keep) { - folder.delete(); - file_size = 0; - } - } catch (IOException ex) {} - - if (keep) { - // make sure the access time is greater than the mod time - // XXX - would be nice to have utime() - try { - Thread.sleep(1000); // sleep for a second - } catch (InterruptedException ex) {} - InputStream is = null; - try { - is = new FileInputStream((File)folder); - is.read(); // read a byte - } catch (IOException ex) {} // ignore errors - try { - if (is != null) - is.close(); - is = null; - } catch (IOException ex) {} // ignore errors - } - - folder.unlock(); - if (msglist != null) - notifyMessageAddedListeners(msglist); - } - return wr; - } - - /** - * Append the input stream to the output stream, closing the - * input stream when done. - */ - private static final void appendStream(InputStream is, OutputStream os) - throws IOException { - try { - byte[] buf = new byte[64 * 1024]; - int len; - while ((len = is.read(buf)) > 0) - os.write(buf, 0, len); - } finally { - is.close(); - } - } - - /** - * Write a MimeMessage to the specified OutputStream in a - * format suitable for a UNIX mailbox, i.e., including a correct - * Content-Length header and with the local platform's line - * terminating convention.

- * - * If the message is really a MboxMessage, use its writeToFile - * method, which has access to the UNIX From line. Otherwise, do - * all the work here, creating an appropriate UNIX From line. - */ - public static void writeMboxMessage(MimeMessage msg, OutputStream os) - throws IOException, MessagingException { - try { - if (msg instanceof MboxMessage) { - ((MboxMessage)msg).writeToFile(os); - } else { - // XXX - modify the message to preserve the flags in headers - MboxMessage.setHeadersFromFlags(msg); - ContentLengthCounter cos = new ContentLengthCounter(); - NewlineOutputStream nos = new NewlineOutputStream(cos); - msg.writeTo(nos); - nos.flush(); - os = new NewlineOutputStream(os, true); - os = new ContentLengthUpdater(os, cos.getSize()); - PrintStream pos = new PrintStream(os, false, "iso-8859-1"); - pos.println(getUnixFrom(msg)); - msg.writeTo(pos); - pos.flush(); - } - } catch (MessagingException me) { - throw me; - } catch (IOException ioe) { - throw ioe; - } - } - - /** - * Construct an appropriately formatted UNIX From line using - * the sender address and the date in the message. - */ - protected static String getUnixFrom(MimeMessage msg) { - Address[] afrom; - String from; - Date ddate; - String date; - try { - if ((afrom = msg.getFrom()) == null || - !(afrom[0] instanceof InternetAddress) || - (from = ((InternetAddress)afrom[0]).getAddress()) == null) - from = "UNKNOWN"; - if ((ddate = msg.getReceivedDate()) == null || - (ddate = msg.getSentDate()) == null) - ddate = new Date(); - } catch (MessagingException e) { - from = "UNKNOWN"; - ddate = new Date(); - } - date = ddate.toString(); - // date is of the form "Sat Aug 12 02:30:00 PDT 1995" - // need to strip out the timezone - return "From " + from + " " + - date.substring(0, 20) + date.substring(24); - } - - public synchronized int getMessageCount() throws MessagingException { - if (!opened) - return -1; - - boolean locked = false; - Message[] msglist = null; - try { - if (folder.length() != file_size) { - if (!folder.lock("r")) - throw new MessagingException("Failed to lock folder: " + - name); - locked = true; - msglist = load(file_size, true); - } - } catch (IOException e) { - throw new MessagingException("I/O Exception", e); - } finally { - if (locked) { - folder.unlock(); - if (msglist != null) - notifyMessageAddedListeners(msglist); - } - } - return total; - } - - /** - * Get the specified message. Note that messages are numbered - * from 1. - */ - public synchronized Message getMessage(int msgno) - throws MessagingException { - checkReadable(); - checkRange(msgno); - - MessageMetadata md = messages.get(messageIndexOf(msgno)); - MboxMessage m = md.message; - if (m == null) { - InputStream is = getMessageStream(msgno); - try { - m = loadMessage(is, msgno, mode == READ_WRITE); - } catch (IOException ex) { - MessagingException mex = - new MessageRemovedException("mbox message gone", ex); - throw mex; - } - md.message = m; - } - return m; - } - - private final int messageIndexOf(int msgno) { - return special_imap_message ? msgno : msgno - 1; - } - - private InputStream getMessageStream(int msgno) { - int index = messageIndexOf(msgno); - MessageMetadata md = messages.get(index); - return temp.newStream(md.start, md.dataend); - } - - public synchronized void appendMessages(Message[] msgs) - throws MessagingException { - if (!folder.lock("rw")) - throw new MessagingException("Failed to lock folder: " + name); - - OutputStream os = null; - boolean err = false; - try { - os = new BufferedOutputStream( - new FileOutputStream(((File)folder).getPath(), true)); - // XXX - should use getAbsolutePath()? - for (int i = 0; i < msgs.length; i++) { - if (msgs[i] instanceof MimeMessage) { - writeMboxMessage((MimeMessage)msgs[i], os); - } else { - err = true; - continue; - } - folder.touchlock(); - } - } catch (IOException e) { - throw new MessagingException("I/O Exception", e); - } catch (MessagingException e) { - throw e; - } catch (Exception e) { -e.printStackTrace(); - throw new MessagingException("unexpected exception " + e); - } finally { - if (os != null) - try { - os.close(); - } catch (IOException e) { - // ignored - } - folder.unlock(); - } - if (opened) - getMessageCount(); // loads new messages as a side effect - if (err) - throw new MessagingException("Can't append non-Mime message"); - } - - public synchronized Message[] expunge() throws MessagingException { - checkWritable(); - - /* - * First, write out the folder to make sure we have permission, - * disk space, etc. - */ - int wr = total; // number of messages written out - try { - wr = writeFolder(false, true); - } catch (IOException e) { - throw new MessagingException("expunge failed", e); - } - if (wr == total) // wrote them all => nothing expunged - return new Message[0]; - - /* - * Now, actually get rid of the expunged messages. - */ - int del = 0; - Message[] msglist = new Message[total - wr]; - int msgno = 1; - while (msgno <= total) { - MessageMetadata md = messages.get(messageIndexOf(msgno)); - MboxMessage msg = md.message; - if (msg != null) { - if (msg.isSet(Flags.Flag.DELETED)) { - msg.setExpunged(true); - msglist[del] = msg; - del++; - messages.remove(messageIndexOf(msgno)); - total--; - } else { - msg.setMessageNumber(msgno); // update message number - msgno++; - } - } else { - if (md.deleted) { - // have to instantiate it for the notification - msg = (MboxMessage)getMessage(msgno); - msg.setExpunged(true); - msglist[del] = msg; - del++; - messages.remove(messageIndexOf(msgno)); - total--; - } else { - msgno++; - } - } - } - if (del != msglist.length) // this is really an assert - throw new MessagingException("expunge delete count wrong"); - notifyMessageRemovedListeners(true, msglist); - return msglist; - } - - /* - * Load more messages from the folder starting at the specified offset. - */ - private Message[] load(long offset, boolean notify) - throws MessagingException, IOException { - int oldtotal = total; - MessageLoader loader = new MessageLoader(temp); - int loaded = loader.load(folder.getFD(), offset, messages); - total += loaded; - file_size = folder.length(); - - if (offset == 0 && loaded > 0) { - /* - * If the first message is the special message that the - * IMAP server adds to the mailbox, remember that we've - * seen it so it won't be shown to the user. - */ - MessageMetadata md = messages.get(0); - if (md.imap) { - special_imap_message = true; - total--; - } - } - if (notify) { - Message[] msglist = new Message[total - oldtotal]; - for (int i = oldtotal, j = 0; i < total; i++, j++) - msglist[j] = getMessage(i + 1); - return msglist; - } else - return null; - } - - /** - * Parse the input stream and return an appropriate message object. - * The InputStream must be a SharedInputStream. - */ - private MboxMessage loadMessage(InputStream is, int msgno, - boolean writable) throws MessagingException, IOException { - LineInputStream in = new LineInputStream(is); - - /* - * Read lines until a UNIX From line, - * skipping blank lines. - */ - String line; - String unix_from = null; - while ((line = in.readLine()) != null) { - if (line.trim().length() == 0) - continue; - if (line.startsWith("From ")) { - /* - * A UNIX From line looks like: - * From address Day Mon DD HH:MM:SS YYYY - */ - unix_from = line; - int i; - // find the space after the address, before the date - i = unix_from.indexOf(' ', 5); - if (i < 0) - continue; // not a valid UNIX From line - break; - } - throw new MessagingException("Garbage in mailbox: " + line); - } - - if (unix_from == null) - throw new EOFException("end of mailbox"); - - /* - * Now load the RFC822 headers into an InternetHeaders object. - */ - InternetHeaders hdrs = new InternetHeaders(is); - - // the rest is the message content - SharedInputStream sis = (SharedInputStream)is; - InputStream stream = sis.newStream(sis.getPosition(), -1); - return new MboxMessage(this, hdrs, stream, msgno, unix_from, writable); - } - - /* - * Only here to make accessible to MboxMessage. - */ - protected void notifyMessageChangedListeners(int type, Message m) { - super.notifyMessageChangedListeners(type, m); - } - - - /** - * this is an exact duplicate of the Folder.getURL except it doesn't - * add a beginning '/' to the URLName. - */ - public URLName getURLName() { - // XXX - note: this should not be done this way with the - // new javax.mail apis. - - URLName storeURL = getStore().getURLName(); - if (name == null) - return storeURL; - - char separator = getSeparator(); - String fullname = getFullName(); - StringBuilder encodedName = new StringBuilder(); - - // We need to encode each of the folder's names, and replace - // the store's separator char with the URL char '/'. - StringTokenizer tok = new StringTokenizer( - fullname, Character.toString(separator), true); - - while (tok.hasMoreTokens()) { - String s = tok.nextToken(); - if (s.charAt(0) == separator) - encodedName.append("/"); - else - // XXX - should encode, but since there's no decoder... - //encodedName.append(java.net.URLEncoder.encode(s)); - encodedName.append(s); - } - - return new URLName(storeURL.getProtocol(), storeURL.getHost(), - storeURL.getPort(), encodedName.toString(), - storeURL.getUsername(), - null /* no password */); - } - - /** - * Create an MboxFolder object, or a subclass thereof. - * Can be overridden by subclasses of MboxFolder so that - * the appropriate subclass is created by the list method. - */ - protected Folder createFolder(MboxStore store, String name) { - return new MboxFolder(store, name); - } - - /* - * Support routines for list(). - */ - - /** - * Return a canonicalized pattern given a reference name and a pattern. - */ - private static String canonicalize(String ref, String pat) { - if (ref == null) - return pat; - try { - if (pat.length() == 0) { - return ref; - } else if (pat.charAt(0) == File.separatorChar) { - return ref.substring(0, ref.indexOf(File.separatorChar)) + pat; - } else { - return ref + pat; - } - } catch (StringIndexOutOfBoundsException e) { - return pat; - } - } - - /** - * Return the first index of any of the characters in "any" in "s", - * or -1 if none are found. - * - * This should be a method on String. - */ - private static int indexOfAny(String s, String any) { - try { - int len = s.length(); - for (int i = 0; i < len; i++) { - if (any.indexOf(s.charAt(i)) >= 0) - return i; - } - return -1; - } catch (StringIndexOutOfBoundsException e) { - return -1; - } - } - - /** - * The recursive part of generating the list of mailboxes. - * realdir is the full pathname to the directory to search. - * dir is the name the user uses, often a relative name that's - * relative to the user's home directory. dir (if not null) always - * has a trailing file separator character. - * - * @param realdir real pathname of directory to start looking in - * @param dir user's name for realdir - * @param pat pattern to match against - * @param level level of the directory hierarchy we're in - * @param flist list to which to add folder names that match - */ - // Derived from the c-client listWork() function. - private void listWork(String realdir, String dir, String pat, - int level, List flist) { - String sl[]; - File fdir = new File(realdir); - try { - sl = fdir.list(); - } catch (SecurityException e) { - return; // can't read it, ignore it - } - - if (level == 0 && dir != null && - Match.path(dir, pat, File.separatorChar)) - flist.add(dir); - - if (sl == null) - return; // nothing return, we're done - - if (realdir.charAt(realdir.length() - 1) != File.separatorChar) - realdir += File.separator; - - for (int i = 0; i < sl.length; i++) { - if (sl[i].charAt(0) == '.') - continue; // ignore all "dot" files for now - String md = realdir + sl[i]; - File mf = new File(md); - if (!mf.exists()) - continue; - String name; - if (dir != null) - name = dir + sl[i]; - else - name = sl[i]; - if (mf.isDirectory()) { - if (Match.path(name, pat, File.separatorChar)) { - flist.add(name); - name += File.separator; - } else { - name += File.separator; - if (Match.path(name, pat, File.separatorChar)) - flist.add(name); - } - if (Match.dir(name, pat, File.separatorChar)) - listWork(md, name, pat, level + 1, flist); - } else { - if (Match.path(name, pat, File.separatorChar)) - flist.add(name); - } - } - } -} - -/** - * Pattern matching support class for list(). - * Should probably be more public. - */ -// Translated from the c-client functions pmatch_full() and dmatch(). -class Match { - /** - * Pathname pattern match - * - * @param s base string - * @param pat pattern string - * @param delim delimiter character - * @return true if base matches pattern - */ - static public boolean path(String s, String pat, char delim) { - try { - return path(s, 0, s.length(), pat, 0, pat.length(), delim); - } catch (StringIndexOutOfBoundsException e) { - return false; - } - } - - static private boolean path(String s, int s_index, int s_len, - String pat, int p_index, int p_len, char delim) - throws StringIndexOutOfBoundsException { - - while (p_index < p_len) { - char c = pat.charAt(p_index); - switch (c) { - case '%': - if (++p_index >= p_len) // % at end of pattern - // ok if no delimiters - return delim == 0 || s.indexOf(delim, s_index) < 0; - // scan remainder until delimiter - do { - if (path(s, s_index, s_len, pat, p_index, p_len, delim)) - return true; - } while (s.charAt(s_index) != delim && ++s_index < s_len); - // ran into a delimiter or ran out of string without a match - return false; - - case '*': - if (++p_index >= p_len) // end of pattern? - return true; // unconditional match - do { - if (path(s, s_index, s_len, pat, p_index, p_len, delim)) - return true; - } while (++s_index < s_len); - // ran out of string without a match - return false; - - default: - // if ran out of string or no match, fail - if (s_index >= s_len || c != s.charAt(s_index)) - return false; - - // try the next string and pattern characters - s_index++; - p_index++; - } - } - return s_index >= s_len; - } - - /** - * Directory pattern match - * - * @param s base string - * @param pat pattern string - * @return true if base is a matching directory of pattern - */ - static public boolean dir(String s, String pat, char delim) { - try { - return dir(s, 0, s.length(), pat, 0, pat.length(), delim); - } catch (StringIndexOutOfBoundsException e) { - return false; - } - } - - static private boolean dir(String s, int s_index, int s_len, - String pat, int p_index, int p_len, char delim) - throws StringIndexOutOfBoundsException { - - while (p_index < p_len) { - char c = pat.charAt(p_index); - switch (c) { - case '%': - if (s_index >= s_len) // end of base? - return true; // subset match - if (++p_index >= p_len) // % at end of pattern? - return false; // no inferiors permitted - do { - if (dir(s, s_index, s_len, pat, p_index, p_len, delim)) - return true; - } while (s.charAt(s_index) != delim && ++s_index < s_len); - - if (s_index + 1 == s_len) // s ends with a delimiter - return true; // must be a subset of pattern - return dir(s, s_index, s_len, pat, p_index, p_len, delim); - - case '*': - return true; // unconditional match - - default: - if (s_index >= s_len) // end of base? - return c == delim; // matched if at delimiter - - if (c != s.charAt(s_index)) - return false; - - // try the next string and pattern characters - s_index++; - p_index++; - } - } - return s_index >= s_len; - } -} - -/** - * A ByteArrayOutputStream that allows us to share the byte array - * rather than copy it. Eventually could replace this with something - * that doesn't require a single contiguous byte array. - */ -class SharedByteArrayOutputStream extends ByteArrayOutputStream { - public SharedByteArrayOutputStream(int size) { - super(size); - } - - public InputStream toStream() { - return new SharedByteArrayInputStream(buf, 0, count); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxMessage.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxMessage.java deleted file mode 100644 index db57a2652..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxMessage.java +++ /dev/null @@ -1,532 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; -import java.util.StringTokenizer; -import java.util.Date; -import java.text.SimpleDateFormat; -import javax.activation.*; -import javax.mail.*; -import javax.mail.internet.*; -import javax.mail.event.MessageChangedEvent; -import com.sun.mail.util.LineInputStream; - -/** - * This class represents an RFC822 style email message that resides in a file. - * - * @author Bill Shannon - */ - -public class MboxMessage extends MimeMessage { - - boolean writable = false; - // original msg flags, used by MboxFolder to detect modification - Flags origFlags; - /* - * A UNIX From line looks like: - * From address Day Mon DD HH:MM:SS YYYY - */ - String unix_from; - InternetAddress unix_from_user; - Date rcvDate; - int lineCount = -1; - private static OutputStream nullOutputStream = new OutputStream() { - public void write(int b) { } - public void write(byte[] b, int off, int len) { } - }; - - /** - * Construct an MboxMessage from the InputStream. - */ - public MboxMessage(Session session, InputStream is) - throws MessagingException, IOException { - super(session); - BufferedInputStream bis; - if (is instanceof BufferedInputStream) - bis = (BufferedInputStream)is; - else - bis = new BufferedInputStream(is); - LineInputStream dis = new LineInputStream(bis); - bis.mark(1024); - String line = dis.readLine(); - if (line != null && line.startsWith("From ")) - this.unix_from = line; - else - bis.reset(); - parse(bis); - saved = true; - } - - /** - * Construct an MboxMessage using the given InternetHeaders object - * and content from an InputStream. - */ - public MboxMessage(MboxFolder folder, InternetHeaders hdrs, InputStream is, - int msgno, String unix_from, boolean writable) - throws MessagingException { - super(folder, hdrs, null, msgno); - setFlagsFromHeaders(); - origFlags = getFlags(); - this.unix_from = unix_from; - this.writable = writable; - this.contentStream = is; - } - - /** - * Returns the "From" attribute. The "From" attribute contains - * the identity of the person(s) who wished this message to - * be sent.

- * - * If our superclass doesn't have a value, we return the address - * from the UNIX From line. - * - * @return array of Address objects - * @exception MessagingException - */ - public Address[] getFrom() throws MessagingException { - Address[] ret = super.getFrom(); - if (ret == null) { - InternetAddress ia = getUnixFrom(); - if (ia != null) - ret = new InternetAddress[] { ia }; - } - return ret; - } - - /** - * Returns the address from the UNIX "From" line. - * - * @return UNIX From address - * @exception MessagingException - */ - public synchronized InternetAddress getUnixFrom() - throws MessagingException { - if (unix_from_user == null && unix_from != null) { - int i; - // find the space after the address, before the date - i = unix_from.indexOf(' ', 5); - if (i > 5) { - try { - unix_from_user = - new InternetAddress(unix_from.substring(5, i)); - } catch (AddressException e) { - // ignore it - } - } - } - return unix_from_user != null ? - (InternetAddress)unix_from_user.clone() : null; - } - - private String getUnixFromLine() { - if (unix_from != null) - return unix_from; - String from = "unknown"; - try { - Address[] froma = getFrom(); - if (froma != null && froma.length > 0 && - froma[0] instanceof InternetAddress) - from = ((InternetAddress)froma[0]).getAddress(); - } catch (MessagingException ex) { } - Date d = null; - try { - d = getSentDate(); - } catch (MessagingException ex) { - // ignore - } - if (d == null) - d = new Date(); - // From shannon Mon Jun 10 12:06:52 2002 - SimpleDateFormat fmt = new SimpleDateFormat("EEE LLL dd HH:mm:ss yyyy"); - return "From " + from + " " + fmt.format(d); - } - - /** - * Get the date this message was received, from the UNIX From line. - * - * @return the date this message was received - * @exception MessagingException - */ - @SuppressWarnings("deprecation") // for Date constructor - public Date getReceivedDate() throws MessagingException { - if (rcvDate == null && unix_from != null) { - int i; - // find the space after the address, before the date - i = unix_from.indexOf(' ', 5); - if (i > 5) { - try { - rcvDate = new Date(unix_from.substring(i)); - } catch (IllegalArgumentException iae) { - // ignore it - } - } - } - return rcvDate == null ? null : new Date(rcvDate.getTime()); - } - - /** - * Return the number of lines for the content of this message. - * Return -1 if this number cannot be determined.

- * - * Note that this number may not be an exact measure of the - * content length and may or may not account for any transfer - * encoding of the content.

- * - * This implementation returns -1. - * - * @return number of lines in the content. - * @exception MessagingException - */ - public int getLineCount() throws MessagingException { - if (lineCount < 0 && isMimeType("text/plain")) { - LineCounter lc = null; - // writeTo will set the SEEN flag, remember the original state - boolean seen = isSet(Flags.Flag.SEEN); - try { - lc = new LineCounter(nullOutputStream); - getDataHandler().writeTo(lc); - lineCount = lc.getLineCount(); - } catch (IOException ex) { - // ignore it, can't happen - } finally { - try { - if (lc != null) - lc.close(); - } catch (IOException ex) { - // can't happen - } - } - if (!seen) - setFlag(Flags.Flag.SEEN, false); - } - return lineCount; - } - - /** - * Set the specified flags on this message to the specified value. - * - * @param flags the flags to be set - * @param set the value to be set - */ - public void setFlags(Flags newFlags, boolean set) - throws MessagingException { - Flags oldFlags = (Flags)flags.clone(); - super.setFlags(newFlags, set); - if (!flags.equals(oldFlags)) { - setHeadersFromFlags(this); - if (folder != null) - ((MboxFolder)folder).notifyMessageChangedListeners( - MessageChangedEvent.FLAGS_CHANGED, this); - } - } - - /** - * Return the content type, mapping from SunV3 types to MIME types - * as necessary. - */ - public String getContentType() throws MessagingException { - String ct = super.getContentType(); - if (ct.indexOf('/') < 0) - ct = SunV3BodyPart.MimeV3Map.toMime(ct); - return ct; - } - - /** - * Produce the raw bytes of the content. This method is used during - * parsing, to create a DataHandler object for the content. Subclasses - * that can provide a separate input stream for just the message - * content might want to override this method.

- * - * This implementation just returns a ByteArrayInputStream constructed - * out of the content byte array. - * - * @see #content - */ - protected InputStream getContentStream() throws MessagingException { - if (folder != null) - ((MboxFolder)folder).checkOpen(); - if (isExpunged()) - throw new MessageRemovedException("mbox message expunged"); - if (!isSet(Flags.Flag.SEEN)) - setFlag(Flags.Flag.SEEN, true); - return super.getContentStream(); - } - - /** - * Return a DataHandler for this Message's content. - * If this is a SunV3 multipart message, handle it specially. - * - * @exception MessagingException - */ - public synchronized DataHandler getDataHandler() - throws MessagingException { - if (dh == null) { - // XXX - Following is a kludge to avoid having to register - // the "multipart/x-sun-attachment" data type with the JAF. - String ct = getContentType(); - if (ct.equalsIgnoreCase("multipart/x-sun-attachment")) - dh = new DataHandler( - new SunV3Multipart(new MimePartDataSource(this)), ct); - else - return super.getDataHandler(); // will set "dh" - } - return dh; - } - - // here only to allow package private access from MboxFolder - protected void setMessageNumber(int msgno) { - super.setMessageNumber(msgno); - } - - // here to synchronize access to expunged field - public synchronized boolean isExpunged() { - return super.isExpunged(); - } - - // here to synchronize and to allow access from MboxFolder - protected synchronized void setExpunged(boolean expunged) { - super.setExpunged(expunged); - } - - // XXX - We assume that only body parts that are part of a SunV3 - // multipart will use the SunV3 headers (X-Sun-Content-Length, - // X-Sun-Content-Lines, X-Sun-Data-Type, X-Sun-Encoding-Info, - // X-Sun-Data-Description, X-Sun-Data-Name) so we don't handle - // them here. - - /** - * Set the flags for this message based on the Status, - * X-Status, and X-Dt-Delete-Time headers. - * - * SIMS 2.0: - * "X-Status: DFAT", deleted, flagged, answered, draft. - * Unset flags represented as "$". - * User flags not supported. - * - * University of Washington IMAP server: - * "X-Status: DFAT", deleted, flagged, answered, draft. - * Unset flags not present. - * "X-Keywords: userflag1 userflag2" - */ - private synchronized void setFlagsFromHeaders() { - flags = new Flags(Flags.Flag.RECENT); - try { - String s = getHeader("Status", null); - if (s != null) { - if (s.indexOf('R') >= 0) - flags.add(Flags.Flag.SEEN); - if (s.indexOf('O') >= 0) - flags.remove(Flags.Flag.RECENT); - } - s = getHeader("X-Dt-Delete-Time", null); // set by dtmail - if (s != null) - flags.add(Flags.Flag.DELETED); - s = getHeader("X-Status", null); // set by IMAP server - if (s != null) { - if (s.indexOf('D') >= 0) - flags.add(Flags.Flag.DELETED); - if (s.indexOf('F') >= 0) - flags.add(Flags.Flag.FLAGGED); - if (s.indexOf('A') >= 0) - flags.add(Flags.Flag.ANSWERED); - if (s.indexOf('T') >= 0) - flags.add(Flags.Flag.DRAFT); - } - s = getHeader("X-Keywords", null); // set by IMAP server - if (s != null) { - StringTokenizer st = new StringTokenizer(s); - while (st.hasMoreTokens()) - flags.add(st.nextToken()); - } - } catch (MessagingException e) { - // ignore it - } - } - - /** - * Set the various header fields that represent the message flags. - */ - static void setHeadersFromFlags(MimeMessage msg) { - try { - Flags flags = msg.getFlags(); - StringBuilder status = new StringBuilder(); - if (flags.contains(Flags.Flag.SEEN)) - status.append('R'); - if (!flags.contains(Flags.Flag.RECENT)) - status.append('O'); - if (status.length() > 0) - msg.setHeader("Status", status.toString()); - else - msg.removeHeader("Status"); - - boolean sims = false; - String s = msg.getHeader("X-Status", null); - // is it a SIMS 2.0 format X-Status header? - sims = s != null && s.length() == 4 && s.indexOf('$') >= 0; - status.setLength(0); - if (flags.contains(Flags.Flag.DELETED)) - status.append('D'); - else if (sims) - status.append('$'); - if (flags.contains(Flags.Flag.FLAGGED)) - status.append('F'); - else if (sims) - status.append('$'); - if (flags.contains(Flags.Flag.ANSWERED)) - status.append('A'); - else if (sims) - status.append('$'); - if (flags.contains(Flags.Flag.DRAFT)) - status.append('T'); - else if (sims) - status.append('$'); - if (status.length() > 0) - msg.setHeader("X-Status", status.toString()); - else - msg.removeHeader("X-Status"); - - String[] userFlags = flags.getUserFlags(); - if (userFlags.length > 0) { - status.setLength(0); - for (int i = 0; i < userFlags.length; i++) - status.append(userFlags[i]).append(' '); - status.setLength(status.length() - 1); // smash trailing space - msg.setHeader("X-Keywords", status.toString()); - } - if (flags.contains(Flags.Flag.DELETED)) { - s = msg.getHeader("X-Dt-Delete-Time", null); - if (s == null) - // XXX - should be time - msg.setHeader("X-Dt-Delete-Time", "1"); - } - } catch (MessagingException e) { - // ignore it - } - } - - protected void updateHeaders() throws MessagingException { - super.updateHeaders(); - setHeadersFromFlags(this); - } - - /** - * Save any changes made to this message. - */ - public void saveChanges() throws MessagingException { - if (folder != null) - ((MboxFolder)folder).checkOpen(); - if (isExpunged()) - throw new MessageRemovedException("mbox message expunged"); - if (!writable) - throw new MessagingException("Message is read-only"); - - super.saveChanges(); - - try { - /* - * Count the size of the body, in order to set the Content-Length - * header. (Should we only do this to update an existing - * Content-Length header?) - * XXX - We could cache the content bytes here, for use later - * in writeTo. - */ - ContentLengthCounter cos = new ContentLengthCounter(); - OutputStream os = new NewlineOutputStream(cos); - super.writeTo(os); - os.flush(); - setHeader("Content-Length", String.valueOf(cos.getSize())); - // setContentSize((int)cos.getSize()); - } catch (MessagingException e) { - throw e; - } catch (Exception e) { - throw new MessagingException("unexpected exception " + e); - } - } - - /** - * Expose modified flag to MboxFolder. - */ - boolean isModified() { - return modified; - } - - /** - * Put out a byte stream suitable for saving to a file. - * XXX - ultimately implement "ignore headers" here? - */ - public void writeToFile(OutputStream os) throws IOException { - try { - if (getHeader("Content-Length") == null) { - /* - * Count the size of the body, in order to set the - * Content-Length header. - */ - ContentLengthCounter cos = new ContentLengthCounter(); - OutputStream oos = new NewlineOutputStream(cos); - super.writeTo(oos, null); - oos.flush(); - setHeader("Content-Length", String.valueOf(cos.getSize())); - // setContentSize((int)cos.getSize()); - } - - os = new NewlineOutputStream(os, true); - PrintStream pos = new PrintStream(os, false, "iso-8859-1"); - - pos.println(getUnixFromLine()); - super.writeTo(pos, null); - pos.flush(); - } catch (MessagingException e) { - throw new IOException("unexpected exception " + e); - } - } - - public void writeTo(OutputStream os, String[] ignoreList) - throws IOException, MessagingException { - // set the SEEN flag now, which will normally be set by - // getContentStream, so it will show up in our headers - if (!isSet(Flags.Flag.SEEN)) - setFlag(Flags.Flag.SEEN, true); - super.writeTo(os, ignoreList); - } - - /** - * Interpose on superclass method to make sure folder is still open - * and message hasn't been expunged. - */ - public String[] getHeader(String name) - throws MessagingException { - if (folder != null) - ((MboxFolder)folder).checkOpen(); - if (isExpunged()) - throw new MessageRemovedException("mbox message expunged"); - return super.getHeader(name); - } - - /** - * Interpose on superclass method to make sure folder is still open - * and message hasn't been expunged. - */ - public String getHeader(String name, String delimiter) - throws MessagingException { - if (folder != null) - ((MboxFolder)folder).checkOpen(); - if (isExpunged()) - throw new MessageRemovedException("mbox message expunged"); - return super.getHeader(name, delimiter); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxProvider.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxProvider.java deleted file mode 100644 index d0b056d1a..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxProvider.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import javax.mail.Provider; - -/** - * The Mbox protocol provider. - */ -public class MboxProvider extends Provider { - public MboxProvider() { - super(Provider.Type.STORE, "mbox", MboxStore.class.getName(), - "Oracle", null); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxStore.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxStore.java deleted file mode 100644 index 1ce39bc9b..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MboxStore.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; -import javax.mail.*; - -public class MboxStore extends Store { - - String user; - String home; - Mailbox mb; - static Flags permFlags; - - static { - // we support all flags - permFlags = new Flags(); - permFlags.add(Flags.Flag.SEEN); - permFlags.add(Flags.Flag.RECENT); - permFlags.add(Flags.Flag.DELETED); - permFlags.add(Flags.Flag.FLAGGED); - permFlags.add(Flags.Flag.ANSWERED); - permFlags.add(Flags.Flag.DRAFT); - permFlags.add(Flags.Flag.USER); - } - - public MboxStore(Session session, URLName url) { - super(session, url); - - // XXX - handle security exception - user = System.getProperty("user.name"); - home = System.getProperty("user.home"); - String os = System.getProperty("os.name"); - try { - String cl = "com.sun.mail.mbox." + os + "Mailbox"; - mb = (Mailbox)Class.forName(cl). - getDeclaredConstructor().newInstance(); - } catch (Exception e) { - mb = new DefaultMailbox(); - } - } - - /** - * Since we do not have any authentication - * to do and we do not want a dialog put up asking the user for a - * password we always succeed in connecting. - * But if we're given a password, that means the user is - * doing something wrong so fail the request. - */ - protected boolean protocolConnect(String host, int port, String user, - String passwd) throws MessagingException { - - if (passwd != null) - throw new AuthenticationFailedException( - "mbox does not allow passwords"); - // XXX - should we use the user? - return true; - } - - protected void setURLName(URLName url) { - // host, user, password, and file don't matter so we strip them out - if (url != null && (url.getUsername() != null || - url.getHost() != null || - url.getFile() != null)) - url = new URLName(url.getProtocol(), null, -1, null, null, null); - super.setURLName(url); - } - - - public Folder getDefaultFolder() throws MessagingException { - checkConnected(); - - return new MboxFolder(this, null); - } - - public Folder getFolder(String name) throws MessagingException { - checkConnected(); - - return new MboxFolder(this, name); - } - - public Folder getFolder(URLName url) throws MessagingException { - checkConnected(); - return getFolder(url.getFile()); - } - - private void checkConnected() throws MessagingException { - if (!isConnected()) - throw new MessagingException("Not connected"); - } - - MailFile getMailFile(String folder) { - return mb.getMailFile(user, folder); - } - - Session getSession() { - return session; - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MessageLoader.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/MessageLoader.java deleted file mode 100644 index b5ecaaadd..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/MessageLoader.java +++ /dev/null @@ -1,285 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; -import java.util.*; - -/** - * A support class that contains the state and logic needed when - * loading messages from a folder. - */ -final class MessageLoader { - private final TempFile temp; - private FileInputStream fis = null; - private OutputStream fos = null; - private int pos, len; // position in and length of buffer - private long off; // current offset in temp file - private long prevend; // the end of the previous message in temp file - private MboxFolder.MessageMetadata md; - private byte[] buf = null; - // the length of the longest header we'll need to look at - private static final int LINELEN = "Content-Length: XXXXXXXXXX".length(); - private char[] line; - - public MessageLoader(TempFile temp) { - this.temp = temp; - } - - /** - * Load messages from the given file descriptor, starting at the - * specified offset, adding the MessageMetadata to the list.

- * - * The data is assumed to be in UNIX mbox format, with newlines - * only as the line terminators. - */ - public int load(FileDescriptor fd, long offset, - List msgs) - throws IOException { - // XXX - could allocate and deallocate buffers here - int loaded = 0; - try { - fis = new FileInputStream(fd); - if (fis.skip(offset) != offset) - throw new EOFException("Failed to skip to offset " + offset); - this.off = prevend = temp.length(); - pos = len = 0; - line = new char[LINELEN]; - buf = new byte[64 * 1024]; - fos = temp.getAppendStream(); - int n; - // keep loading messages as long as we have headers - while ((n = skipHeader(loaded == 0)) >= 0) { - long start; - if (n == 0) { - // didn't find a Content-Length, skip the body - start = skipBody(); - if (start < 0) { - // md.end = -1; - md.dataend = -1; - msgs.add(md); - loaded++; - break; - } - md.dataend = start; - } else { - // skip over the body - skip(n); - md.dataend = off; - int b; - // skip any blank lines after the body - while ((b = get()) >= 0) { - if (b != '\n') - break; - } - start = off; - if (b >= 0) - start--; // back up one byte if not at EOF - } - // md.end = start; - prevend = start; - msgs.add(md); - loaded++; - } - } finally { - try { - fis.close(); - } catch (IOException ex) { - // ignore - } - try { - fos.close(); - } catch (IOException ex) { - // ignore - } - line = null; - buf = null; - } - return loaded; - } - - /** - * Skip over the message header, returning the content length - * of the body, or 0 if no Content-Length header was seen. - * Update the MessageMetadata based on the headers seen. - * return -1 on EOF. - */ - private int skipHeader(boolean first) throws IOException { - int clen = 0; - boolean bol = true; - int lpos = -1; - int b; - boolean saw_unix_from = false; - int lineno = 0; - md = new MboxFolder.MessageMetadata(); - md.start = prevend; - md.recent = true; - while ((b = get()) >= 0) { - if (bol) { - if (b == '\n') - break; - lpos = 0; - } - if (b == '\n') { - bol = true; - lineno++; - // newline at end of line, was the line one of the headers - // we're looking for? - if (lpos > 7) { - // XXX - make this more efficient? - String s = new String(line, 0, lpos); - // fast check for Content-Length header - if (lineno == 1 && line[0] == 'F' && isPrefix(s, "From ")) { - saw_unix_from = true; - } else if (line[7] == '-' && - isPrefix(s, "Content-Length:")) { - s = s.substring(15).trim(); - try { - clen = Integer.parseInt(s); - } catch (NumberFormatException ex) { - // ignore it - } - // fast check for Status header - } else if ((line[1] == 't' || line[1] == 'T') && - isPrefix(s, "Status:")) { - if (s.indexOf('O') >= 0) - md.recent = false; - // fast check for X-Status header - } else if ((line[3] == 't' || line[3] == 'T') && - isPrefix(s, "X-Status:")) { - if (s.indexOf('D') >= 0) - md.deleted = true; - // fast check for X-Dt-Delete-Time header - } else if (line[4] == '-' && - isPrefix(s, "X-Dt-Delete-Time:")) { - md.deleted = true; - // fast check for X-IMAP header - } else if (line[5] == 'P' && s.startsWith("X-IMAP:")) { - md.imap = true; - } - } - } else { - // accumlate data in line buffer - bol = false; - if (lpos < 0) // ignoring this line - continue; - if (lpos == 0 && (b == ' ' || b == '\t')) - lpos = -1; // ignore continuation lines - else if (lpos < line.length) - line[lpos++] = (char)b; - } - } - - // if we hit EOF, or this is the first message we're loading and - // it doesn't have a UNIX From line, return EOF. - // (After the first message, UNIX From lines are seen by skipBody - // to terminate the message.) - if (b < 0 || (first && !saw_unix_from)) - return -1; - else - return clen; - } - - /** - * Does "s" start with "pre", ignoring case? - */ - private static final boolean isPrefix(String s, String pre) { - return s.regionMatches(true, 0, pre, 0, pre.length()); - } - - /** - * Skip over the body of the message looking for a line that starts - * with "From ". If found, return the offset of the beginning of - * that line. Return -1 on EOF. - */ - private long skipBody() throws IOException { - boolean bol = true; - int lpos = -1; - long loff = off; - int b; - while ((b = get()) >= 0) { - if (bol) { - lpos = 0; - loff = off - 1; - } - if (b == '\n') { - bol = true; - if (lpos >= 5) { // have enough data to test? - if (line[0] == 'F' && line[1] == 'r' && line[2] == 'o' && - line[3] == 'm' && line[4] == ' ') - return loff; - } - } else { - bol = false; - if (lpos < 0) - continue; - if (lpos == 0 && b != 'F') - lpos = -1; // ignore lines that don't start with F - else if (lpos < 5) // only need first 5 chars to test - line[lpos++] = (char)b; - } - } - return -1; - } - - /** - * Skip "n" bytes, returning how much we were able to skip. - */ - private final int skip(int n) throws IOException { - int n0 = n; - if (pos + n < len) { - pos += n; // can do it all within this buffer - off += n; - } else { - do { - n -= (len - pos); // skip rest of this buffer - off += (len - pos); - fill(); - if (len <= 0) // ran out of data - return n0 - n; - } while (n > len); - pos += n; - off += n; - } - return n0; - } - - /** - * Return the next byte. - */ - private final int get() throws IOException { - if (pos >= len) - fill(); - if (pos >= len) - return -1; - else { - off++; - return buf[pos++] & 0xff; - } - } - - /** - * Fill our buffer with more data. - * Every buffer we read is also written to the temp file. - */ - private final void fill() throws IOException { - len = fis.read(buf); - pos = 0; - if (len > 0) - fos.write(buf, 0, len); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/NewlineOutputStream.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/NewlineOutputStream.java deleted file mode 100644 index f4a31cba0..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/NewlineOutputStream.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; -import java.nio.charset.StandardCharsets; - -/** - * Convert the various newline conventions to the local platform's - * newline convention. Optionally, make sure the output ends with - * a blank line. - */ -public class NewlineOutputStream extends FilterOutputStream { - private int lastb = -1; - private int bol = 1; // number of times in a row we're at beginning of line - private final boolean endWithBlankLine; - private static final byte[] newline; - - static { - String s = null; - try { - s = System.lineSeparator(); - } catch (SecurityException sex) { - // ignore, should never happen - } - if (s == null || s.length() <= 0) - s = "\n"; - newline = s.getBytes(StandardCharsets.ISO_8859_1); - } - - public NewlineOutputStream(OutputStream os) { - this(os, false); - } - - public NewlineOutputStream(OutputStream os, boolean endWithBlankLine) { - super(os); - this.endWithBlankLine = endWithBlankLine; - } - - public void write(int b) throws IOException { - if (b == '\r') { - out.write(newline); - bol++; - } else if (b == '\n') { - if (lastb != '\r') { - out.write(newline); - bol++; - } - } else { - out.write(b); - bol = 0; // no longer at beginning of line - } - lastb = b; - } - - public void write(byte b[]) throws IOException { - write(b, 0, b.length); - } - - public void write(byte b[], int off, int len) throws IOException { - for (int i = 0 ; i < len ; i++) { - write(b[off + i]); - } - } - - public void flush() throws IOException { - if (endWithBlankLine) { - if (bol == 0) { - // not at bol, return to bol and add a blank line - out.write(newline); - out.write(newline); - } else if (bol == 1) { - // at bol, add a blank line - out.write(newline); - } - } - bol = 2; - out.flush(); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SolarisMailbox.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/SolarisMailbox.java deleted file mode 100644 index 84f3abcc9..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SolarisMailbox.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.File; - -public class SolarisMailbox extends Mailbox { - private final String home; - private final String user; - - private static final boolean homeRelative = - Boolean.getBoolean("mail.mbox.homerelative"); - - public SolarisMailbox() { - String h = System.getenv("HOME"); - if (h == null) - h = System.getProperty("user.home"); - home = h; - user = System.getProperty("user.name"); - } - - public MailFile getMailFile(String user, String folder) { - if (folder.equalsIgnoreCase("INBOX")) - return new UNIXInbox(user, filename(user, folder)); - else - return new UNIXFolder(filename(user, folder)); - } - - /** - * Given a name of a mailbox folder, expand it to a full path name. - */ - public String filename(String user, String folder) { - try { - switch (folder.charAt(0)) { - case '/': - return folder; - case '~': - int i = folder.indexOf(File.separatorChar); - String tail = ""; - if (i > 0) { - tail = folder.substring(i); - folder = folder.substring(0, i); - } - if (folder.length() == 1) - return home + tail; - else - return "/home/" + folder.substring(1) + tail; // XXX - default: - if (folder.equalsIgnoreCase("INBOX")) { - if (user == null) // XXX - should never happen - user = this.user; - String inbox = System.getenv("MAIL"); - if (inbox == null) - inbox = "/var/mail/" + user; - return inbox; - } else { - if (homeRelative) - return home + File.separator + folder; - else - return folder; - } - } - } catch (StringIndexOutOfBoundsException e) { - return folder; - } - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunOSMailbox.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunOSMailbox.java deleted file mode 100644 index 55230d1e1..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunOSMailbox.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -public class SunOSMailbox extends SolarisMailbox { -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3BodyPart.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3BodyPart.java deleted file mode 100644 index 189ff85a2..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3BodyPart.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import javax.mail.*; -import javax.mail.internet.*; -import javax.activation.*; -import java.io.*; - -/** - * This class represents a SunV3 BodyPart. - * - * @author Bill Shannon - * @see javax.mail.Part - * @see javax.mail.internet.MimePart - * @see javax.mail.internet.MimeBodyPart - */ - -public class SunV3BodyPart extends MimeBodyPart { - /** - * Constructs a SunV3BodyPart using the given header and - * content bytes.

- * - * Used by providers. - * - * @param headers The header of this part - * @param content bytes representing the body of this part. - */ - public SunV3BodyPart(InternetHeaders headers, byte[] content) - throws MessagingException { - super(headers, content); - } - - /** - * Return the size of the content of this BodyPart in bytes. - * Return -1 if the size cannot be determined.

- * - * Note that this number may not be an exact measure of the - * content size and may or may not account for any transfer - * encoding of the content.

- * - * @return size in bytes - */ - public int getSize() throws MessagingException { - String s = getHeader("X-Sun-Content-Length", null); - try { - return Integer.parseInt(s); - } catch (NumberFormatException ex) { - return -1; - } - } - - /** - * Return the number of lines for the content of this Part. - * Return -1 if this number cannot be determined.

- * - * Note that this number may not be an exact measure of the - * content length and may or may not account for any transfer - * encoding of the content. - */ - public int getLineCount() throws MessagingException { - String s = getHeader("X-Sun-Content-Lines", null); - try { - return Integer.parseInt(s); - } catch (NumberFormatException ex) { - return -1; - } - } - - /* - * This is just enough to get us going. - * - * For more complete transformation from V3 to MIME, refer to - * sun_att.c from the Sun IMAP server code. - */ - static class MimeV3Map { - String mime; - String v3; - - MimeV3Map(String mime, String v3) { - this.mime = mime; - this.v3 = v3; - } - - private static MimeV3Map[] mimeV3Table = new MimeV3Map[] { - new MimeV3Map("text/plain", "text"), - new MimeV3Map("text/plain", "default"), - new MimeV3Map("multipart/x-sun-attachment", "X-sun-attachment"), - new MimeV3Map("application/postscript", "postscript-file"), - new MimeV3Map("image/gif", "gif-file") - // audio-file - // cshell-script - }; - - // V3 Content-Type to MIME Content-Type - static String toMime(String s) { - for (int i = 0; i < mimeV3Table.length; i++) { - if (mimeV3Table[i].v3.equalsIgnoreCase(s)) - return mimeV3Table[i].mime; - } - return "application/x-" + s; - } - - // MIME Content-Type to V3 Content-Type - static String toV3(String s) { - for (int i = 0; i < mimeV3Table.length; i++) { - if (mimeV3Table[i].mime.equalsIgnoreCase(s)) - return mimeV3Table[i].v3; - } - return s; - } - } - - /** - * Returns the value of the RFC822 "Content-Type" header field. - * This represents the content-type of the content of this - * BodyPart. This value must not be null. If this field is - * unavailable, "text/plain" should be returned.

- * - * This implementation uses getHeader(name) - * to obtain the requisite header field. - * - * @return Content-Type of this BodyPart - */ - public String getContentType() throws MessagingException { - String ct = getHeader("Content-Type", null); - if (ct == null) - ct = getHeader("X-Sun-Data-Type", null); - if (ct == null) - ct = "text/plain"; - else if (ct.indexOf('/') < 0) - ct = MimeV3Map.toMime(ct); - return ct; - } - - /** - * Returns the value of the "Content-Transfer-Encoding" header - * field. Returns null if the header is unavailable - * or its value is absent.

- * - * This implementation uses getHeader(name) - * to obtain the requisite header field. - * - * @see #headers - */ - public String getEncoding() throws MessagingException { - String enc = super.getEncoding(); - if (enc == null) - enc = getHeader("X-Sun-Encoding-Info", null); - return enc; - } - - /** - * Returns the "Content-Description" header field of this BodyPart. - * This typically associates some descriptive information with - * this part. Returns null if this field is unavailable or its - * value is absent.

- * - * If the Content-Description field is encoded as per RFC 2047, - * it is decoded and converted into Unicode. If the decoding or - * conversion fails, the raw data is returned as-is

- * - * This implementation uses getHeader(name) - * to obtain the requisite header field. - * - * @return content-description - */ - public String getDescription() throws MessagingException { - String desc = super.getDescription(); - if (desc == null) - desc = getHeader("X-Sun-Data-Description", null); - return desc; - } - - /** - * Set the "Content-Description" header field for this BodyPart. - * If the description parameter is null, then any - * existing "Content-Description" fields are removed.

- * - * If the description contains non US-ASCII characters, it will - * be encoded using the platform's default charset. If the - * description contains only US-ASCII characters, no encoding - * is done and it is used as-is. - * - * @param description content-description - * @exception IllegalWriteException if the underlying - * implementation does not support modification - * @exception IllegalStateException if this BodyPart is - * obtained from a READ_ONLY folder. - */ - public void setDescription(String description) throws MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart not writable"); - } - - /** - * Set the "Content-Description" header field for this BodyPart. - * If the description parameter is null, then any - * existing "Content-Description" fields are removed.

- * - * If the description contains non US-ASCII characters, it will - * be encoded using the specified charset. If the description - * contains only US-ASCII characters, no encoding is done and - * it is used as-is - * - * @param description Description - * @param charset Charset for encoding - * @exception IllegalWriteException if the underlying - * implementation does not support modification - * @exception IllegalStateException if this BodyPart is - * obtained from a READ_ONLY folder. - */ - public void setDescription(String description, String charset) - throws MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart not writable"); - } - - /** - * Get the filename associated with this BodyPart.

- * - * Returns the value of the "filename" parameter from the - * "Content-Disposition" header field of this BodyPart. If its - * not available, returns the value of the "name" parameter from - * the "Content-Type" header field of this BodyPart. - * Returns null if both are absent. - * - * @return filename - */ - public String getFileName() throws MessagingException { - String name = super.getFileName(); - if (name == null) - name = getHeader("X-Sun-Data-Name", null); - return name; - } - - /** - * Set the filename associated with this BodyPart, if possible.

- * - * Sets the "filename" parameter of the "Content-Disposition" - * header field of this BodyPart. - * - * @exception IllegalWriteException if the underlying - * implementation does not support modification - * @exception IllegalStateException if this BodyPart is - * obtained from a READ_ONLY folder. - */ - public void setFileName(String filename) throws MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart not writable"); - } - - /** - * This method provides the mechanism to set this BodyPart's content. - * The given DataHandler object should wrap the actual content. - * - * @param dh The DataHandler for the content - * @exception IllegalWriteException if the underlying - * implementation does not support modification - * @exception IllegalStateException if this BodyPart is - * obtained from a READ_ONLY folder. - */ - public void setDataHandler(DataHandler dh) - throws MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart not writable"); - } - - /** - * Output the BodyPart as a RFC822 format stream. - * - * @exception MessagingException - * @exception IOException if an error occurs writing to the - * stream or if an error is generated - * by the javax.activation layer. - * @see javax.activation.DataHandler#writeTo() - */ - public void writeTo(OutputStream os) - throws IOException, MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart writeTo"); - } - - /** - * This is the method that has the 'smarts' to query the 'content' - * and update the appropriate headers. Typical headers that get - * set here are: Content-Type, Content-Encoding, boundary (for - * multipart). Now, the tricky part here is when to actually - * activate this method: - * - * - A Message being crafted by a mail-application will certainly - * need to activate this method at some point to fill up its internal - * headers. Typically this is triggered off by our writeTo() method. - * - * - A message read-in from a MessageStore will have obtained - * all its headers from the store, and so does'nt need this. - * However, if this message is editable and if any edits have - * been made to either the content or message-structure, we might - * need to resync our headers. Typically this is triggered off by - * the Message.saveChanges() methods. - */ - protected void updateHeaders() throws MessagingException { - throw new MethodNotSupportedException("SunV3BodyPart updateHeaders"); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3Multipart.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3Multipart.java deleted file mode 100644 index 8a642f1fb..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/SunV3Multipart.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import javax.mail.*; -import javax.mail.internet.*; -import javax.activation.*; -import java.util.*; -import java.io.*; -import java.nio.charset.StandardCharsets; -import com.sun.mail.util.LineInputStream; - -/** - * The SunV3Multipart class is an implementation of the abstract Multipart - * class that uses SunV3 conventions for the multipart data.

- * - * @author Bill Shannon - */ - -public class SunV3Multipart extends MimeMultipart { - private boolean parsing; - - /** - * Constructs a SunV3Multipart object and its bodyparts from the - * given DataSource.

- * - * @param ds DataSource, can be a MultipartDataSource - */ - public SunV3Multipart(DataSource ds) throws MessagingException { - super(ds); - } - - /** - * Set the subtype. Throws MethodNotSupportedException. - * - * @param subtype Subtype - */ - public void setSubType(String subtype) throws MessagingException { - throw new MethodNotSupportedException( - "can't change SunV3Multipart subtype"); - } - - /** - * Get the BodyPart referred to by the given ContentID (CID). - * Throws MethodNotSupportException. - */ - public synchronized BodyPart getBodyPart(String CID) - throws MessagingException { - throw new MethodNotSupportedException( - "SunV3Multipart doesn't support Content-ID"); - } - - /** - * Update headers. Throws MethodNotSupportException. - */ - protected void updateHeaders() throws MessagingException { - throw new MethodNotSupportedException("SunV3Multipart not writable"); - } - - /** - * Iterates through all the parts and outputs each SunV3 part - * separated by a boundary. - */ - public void writeTo(OutputStream os) - throws IOException, MessagingException { - throw new MethodNotSupportedException( - "SunV3Multipart writeTo not supported"); - } - - private static final String boundary = "----------"; - - /* - * Parse the contents of this multipart message and create the - * child body parts. - */ - protected synchronized void parse() throws MessagingException { - /* - * If the data has already been parsed, or we're in the middle of - * parsing it, there's nothing to do. The latter will occur when - * we call addBodyPart, which will call parse again. We really - * want to be able to call super.super.addBodyPart. - */ - if (parsed || parsing) - return; - - InputStream in = null; - - try { - in = ds.getInputStream(); - if (!(in instanceof ByteArrayInputStream) && - !(in instanceof BufferedInputStream)) - in = new BufferedInputStream(in); - } catch (IOException ex) { - throw new MessagingException("No inputstream from datasource"); - } catch (RuntimeException ex) { - throw new MessagingException("No inputstream from datasource"); - } - - byte[] bndbytes = boundary.getBytes(StandardCharsets.ISO_8859_1); - int bl = bndbytes.length; - - String line; - parsing = true; - try { - /* - * Skip any kind of junk until we get to the first - * boundary line. - */ - LineInputStream lin = new LineInputStream(in); - while ((line = lin.readLine()) != null) { - if (line.trim().equals(boundary)) - break; - } - if (line == null) - throw new MessagingException("Missing start boundary"); - - /* - * Read and process body parts until we see the - * terminating boundary line (or EOF). - */ - for (;;) { - /* - * Collect the headers for this body part. - */ - InternetHeaders headers = new InternetHeaders(in); - - if (!in.markSupported()) - throw new MessagingException("Stream doesn't support mark"); - - ByteArrayOutputStream buf = new ByteArrayOutputStream(); - int b; - - /* - * Read and save the content bytes in buf. - */ - while ((b = in.read()) >= 0) { - if (b == '\r' || b == '\n') { - /* - * Found the end of a line, check whether the - * next line is a boundary. - */ - int i; - in.mark(bl + 4 + 1); // "4" for possible "--\r\n" - if (b == '\r' && in.read() != '\n') { - in.reset(); - in.mark(bl + 4); - } - // read bytes, matching against the boundary - for (i = 0; i < bl; i++) - if (in.read() != bndbytes[i]) - break; - if (i == bl) { - int b2 = in.read(); - // check for end of line - if (b2 == '\n') - break; // got it! break out of the while loop - if (b2 == '\r') { - in.mark(1); - if (in.read() != '\n') - in.reset(); - break; // got it! break out of the while loop - } - } - // failed to match, reset and proceed normally - in.reset(); - } - buf.write(b); - } - - /* - * Create a SunV3BodyPart to represent this body part. - */ - SunV3BodyPart body = - new SunV3BodyPart(headers, buf.toByteArray()); - addBodyPart(body); - if (b < 0) - break; - } - } catch (IOException e) { - throw new MessagingException("IO Error"); // XXX - } finally { - parsing = false; - } - - parsed = true; - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/TempFile.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/TempFile.java deleted file mode 100644 index 25f4bd8d8..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/TempFile.java +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.util.*; -import java.net.*; -import java.io.*; -import java.security.*; - -import com.sun.mail.util.PropUtil; -import javax.mail.util.SharedFileInputStream; - -/** - * A temporary file used to cache messages. - */ -class TempFile { - - private File file; // the temp file name - private WritableSharedFile sf; - - /** - * Create a temp file in the specified directory (if not null). - * The file will be deleted when the JVM exits. - */ - public TempFile(File dir) throws IOException { - file = File.createTempFile("mbox.", ".mbox", dir); - // XXX - need JDK 6 to set permissions on the file to owner-only - file.deleteOnExit(); - sf = new WritableSharedFile(file); - } - - /** - * Return a stream for appending to the temp file. - */ - public AppendStream getAppendStream() throws IOException { - return sf.getAppendStream(); - } - - /** - * Return a stream for reading from part of the file. - */ - public InputStream newStream(long start, long end) { - return sf.newStream(start, end); - } - - public long length() { - return file.length(); - } - - /** - * Close and remove this temp file. - */ - public void close() { - try { - sf.close(); - } catch (IOException ex) { - // ignore it - } - file.delete(); - } - - protected void finalize() throws Throwable { - try { - close(); - } finally { - super.finalize(); - } - } -} - -/** - * A subclass of SharedFileInputStream that also allows writing. - */ -class WritableSharedFile extends SharedFileInputStream { - private RandomAccessFile raf; - private AppendStream af; - - public WritableSharedFile(File file) throws IOException { - super(file); - try { - raf = new RandomAccessFile(file, "rw"); - } catch (IOException ex) { - // if anything goes wrong opening the writable file, - // close the readable file too - super.close(); - } - } - - /** - * Return the writable version of this file. - */ - public RandomAccessFile getWritableFile() { - return raf; - } - - /** - * Close the readable and writable files. - */ - public void close() throws IOException { - try { - super.close(); - } finally { - raf.close(); - } - } - - /** - * Update the size of the readable file after writing - * to the file. Updates the length to be the current - * size of the file. - */ - synchronized long updateLength() throws IOException { - datalen = in.length(); - af = null; - return datalen; - } - - /** - * Return a new AppendStream, but only if one isn't in active use. - */ - public synchronized AppendStream getAppendStream() throws IOException { - if (af != null) - throw new IOException( - "file cache only supports single threaded access"); - af = new AppendStream(this); - return af; - } -} - -/** - * A stream for writing to the temp file, and when done - * can return a stream for reading the data just written. - * NOTE: We assume that only one thread is writing to the - * file at a time. - */ -class AppendStream extends OutputStream { - private final WritableSharedFile tf; - private RandomAccessFile raf; - private final long start; - private long end; - - public AppendStream(WritableSharedFile tf) throws IOException { - this.tf = tf; - raf = tf.getWritableFile(); - start = raf.length(); - raf.seek(start); - } - - public void write(int b) throws IOException { - raf.write(b); - } - - public void write(byte[] b) throws IOException { - raf.write(b); - } - - public void write(byte[] b, int off, int len) throws IOException { - raf.write(b, off, len); - } - - public synchronized void close() throws IOException { - end = tf.updateLength(); - raf = null; // no more writing allowed - } - - public synchronized InputStream getInputStream() throws IOException { - return tf.newStream(start, end); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFile.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFile.java deleted file mode 100644 index ab1579e18..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFile.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.File; -import java.io.FileDescriptor; -import java.util.StringTokenizer; - -public class UNIXFile extends File { - protected static final boolean loaded; - protected static final int lockType; - - private static final long serialVersionUID = -7972156315284146651L; - - public UNIXFile(String name) { - super(name); - } - - // lock type enum - protected static final int NONE = 0; - protected static final int NATIVE = 1; - protected static final int JAVA = 2; - - static { - String lt = System.getProperty("mail.mbox.locktype", "native"); - int type = NATIVE; - if (lt.equalsIgnoreCase("none")) - type = NONE; - else if (lt.equalsIgnoreCase("java")) - type = JAVA; - lockType = type; - - boolean lloaded = false; - if (lockType == NATIVE) { - try { - System.loadLibrary("mbox"); - lloaded = true; - } catch (UnsatisfiedLinkError e) { - String classpath = System.getProperty("java.class.path"); - String sep = System.getProperty("path.separator"); - String arch = System.getProperty("os.arch"); - StringTokenizer st = new StringTokenizer(classpath, sep); - while (st.hasMoreTokens()) { - String path = st.nextToken(); - if (path.endsWith("/classes") || - path.endsWith("/mail.jar") || - path.endsWith("/javax.mail.jar")) { - int i = path.lastIndexOf('/'); - String libdir = path.substring(0, i + 1) + "lib/"; - String lib = libdir + arch + "/libmbox.so"; - try { - System.load(lib); - lloaded = true; - break; - } catch (UnsatisfiedLinkError e2) { - lib = libdir + "libmbox.so"; - try { - System.load(lib); - lloaded = true; - break; - } catch (UnsatisfiedLinkError e3) { - continue; - } - } - } - } - } - } - loaded = lloaded; - if (loaded) - initIDs(FileDescriptor.class, FileDescriptor.in); - } - - /** - * Return the access time of the file. - */ - public static long lastAccessed(File file) { - return lastAccessed0(file.getPath()); - } - - public long lastAccessed() { - return lastAccessed0(getPath()); - } - - private static native void initIDs(Class fdClass, - FileDescriptor stdin); - - /** - * Lock the file referred to by fd. The string mode is "r" - * for a read lock or "rw" for a write lock. Don't block - * if lock can't be acquired. - */ - public static boolean lock(FileDescriptor fd, String mode) { - return lock(fd, mode, false); - } - - /** - * Lock the file referred to by fd. The string mode is "r" - * for a read lock or "rw" for a write lock. If block is set, - * block waiting for the lock if necessary. - */ - private static boolean lock(FileDescriptor fd, String mode, boolean block) { - //return loaded && lock0(fd, mode); - if (loaded) { - boolean ret; - //System.out.println("UNIXFile.lock(" + fd + ", " + mode + ")"); - ret = lock0(fd, mode, block); - //System.out.println("UNIXFile.lock returns " + ret); - return ret; - } - return false; - } - - private static native boolean lock0(FileDescriptor fd, String mode, - boolean block); - - public static native long lastAccessed0(String name); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFolder.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFolder.java deleted file mode 100644 index 13dc30ad0..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXFolder.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -public class UNIXFolder extends UNIXFile implements MailFile { - protected transient RandomAccessFile file; - - private static final long serialVersionUID = -254578891263785591L; - - public UNIXFolder(String name) { - super(name); - } - - public boolean lock(String mode) { - try { - file = new RandomAccessFile(this, mode); - switch (lockType) { - case NONE: - return true; - case NATIVE: - default: - return UNIXFile.lock(file.getFD(), mode); - case JAVA: - return file.getChannel(). - tryLock(0L, Long.MAX_VALUE, !mode.equals("rw")) != null; - } - } catch (FileNotFoundException fe) { - return false; - } catch (IOException ie) { - file = null; - return false; - } - } - - public void unlock() { - if (file != null) { - try { - file.close(); - } catch (IOException e) { - // ignore it - } - file = null; - } - } - - public void touchlock() { - } - - public FileDescriptor getFD() { - if (file == null) - return null; - try { - return file.getFD(); - } catch (IOException e) { - return null; - } - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXInbox.java b/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXInbox.java deleted file mode 100644 index 70ce86541..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/mbox/UNIXInbox.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.mbox; - -import java.io.*; - -public class UNIXInbox extends UNIXFolder implements InboxFile { - private final String user; - - private static final long serialVersionUID = 651261842162777620L; - - /* - * Superclass UNIXFile loads the library containing all the - * native code and sets the "loaded" flag if successful. - */ - - public UNIXInbox(String user, String name) { - super(name); - this.user = user; - if (user == null) - throw new NullPointerException("user name is null in UNIXInbox"); - } - - public boolean lock(String mode) { - if (lockType == NATIVE) { - if (!loaded) - return false; - if (!maillock(user, 5)) - return false; - } - if (!super.lock(mode)) { - if (loaded) - mailunlock(); - return false; - } - return true; - } - - public void unlock() { - super.unlock(); - if (loaded) - mailunlock(); - } - - public void touchlock() { - if (loaded) - touchlock0(); - } - - private transient RandomAccessFile lockfile; // the user's ~/.Maillock file - private transient String lockfileName; // its name - - public boolean openLock(String mode) { - if (mode.equals("r")) - return true; - if (lockfileName == null) { - String home = System.getProperty("user.home"); - lockfileName = home + File.separator + ".Maillock"; - } - try { - lockfile = new RandomAccessFile(lockfileName, mode); - boolean ret; - switch (lockType) { - case NONE: - ret = true; - break; - case NATIVE: - default: - ret = UNIXFile.lock(lockfile.getFD(), mode); - break; - case JAVA: - ret = lockfile.getChannel(). - tryLock(0L, Long.MAX_VALUE, !mode.equals("rw")) != null; - break; - } - if (!ret) - closeLock(); - return ret; - } catch (IOException ex) { - } - return false; - } - - public void closeLock() { - if (lockfile == null) - return; - try { - lockfile.close(); - } catch (IOException ex) { - } finally { - lockfile = null; - } - } - - public boolean equals(Object o) { - if (!(o instanceof UNIXInbox)) - return false; - UNIXInbox other = (UNIXInbox)o; - return user.equals(other.user) && super.equals(other); - } - - public int hashCode() { - return super.hashCode() + user.hashCode(); - } - - private native boolean maillock(String user, int retryCount); - private native void mailunlock(); - private native void touchlock0(); -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteProvider.java b/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteProvider.java deleted file mode 100644 index e5e3987db..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteProvider.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.remote; - -import javax.mail.Provider; - -/** - * The POP3 remote protocol provider. - */ -public class POP3RemoteProvider extends Provider { - public POP3RemoteProvider() { - super(Provider.Type.STORE, "pop3remote", - POP3RemoteStore.class.getName(), "Oracle", null); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteStore.java b/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteStore.java deleted file mode 100644 index fa6b1d465..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/remote/POP3RemoteStore.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.remote; - -import javax.mail.*; -import com.sun.mail.pop3.POP3Store; - -/** - * A local store that uses POP3 to populate the INBOX. - * - * @author Bill Shannon - */ -public class POP3RemoteStore extends RemoteStore { - - public POP3RemoteStore(Session session, URLName url) { - super(session, url); - } - - protected Store getRemoteStore(Session session, URLName url) { - return new POP3Store(session, url); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteDefaultFolder.java b/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteDefaultFolder.java deleted file mode 100644 index 81c0f9095..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteDefaultFolder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.remote; - -import javax.mail.*; -import com.sun.mail.mbox.*; - -/** - * The default folder for the "remote" protocol. - * - * @author Bill Shannon - */ -public class RemoteDefaultFolder extends MboxFolder { - - protected RemoteDefaultFolder(RemoteStore store, String name) { - super(store, name); - } - - /** - * Depending on the name of the requested folder, create an - * appropriate Folder subclass. If the name is - * null, create a RemoteDefaultFolder. - * If the name is "INBOX" (ignoring case), create a - * RemoteInbox. Otherwise, create an MboxFolder. - * - * @return the new Folder - */ - protected Folder createFolder(Store store, String name) { - if (name == null) - return new RemoteDefaultFolder((RemoteStore)store, null); - else if (name.equalsIgnoreCase("INBOX")) - return new RemoteInbox((RemoteStore)store, name); - else - return new MboxFolder((MboxStore)store, name); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteInbox.java b/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteInbox.java deleted file mode 100644 index 5bfd232cd..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteInbox.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.remote; - -import javax.mail.*; -import com.sun.mail.mbox.*; - -/** - * A remote Inbox folder. The data is actually managed by our subclass - * (MboxFolder). We fetch data from the remote Inbox and - * add it to the local Inbox. - * - * @author Bill Shannon - */ - -public class RemoteInbox extends MboxFolder { - - private RemoteStore mstore; - - protected RemoteInbox(RemoteStore store, String name) { - super(store, name); - this.mstore = store; - } - - /** - * Poll the remote store for any new messages. - */ - public synchronized boolean hasNewMessages() { - try { - mstore.updateInbox(); - } catch (MessagingException ex) { - // ignore it - } - return super.hasNewMessages(); - } - - /** - * Open the folder in the specified mode. - * Poll the remote store for any new messages first. - */ - public synchronized void open(int mode) throws MessagingException { - mstore.updateInbox(); - super.open(mode); - } - - /** - * Return the number of messages in this folder. - * Poll the remote store for any new messages first. - */ - public synchronized int getMessageCount() throws MessagingException { - mstore.updateInbox(); - return super.getMessageCount(); - } -} diff --git a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteStore.java b/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteStore.java deleted file mode 100644 index faf9dd4cd..000000000 --- a/ext/javax.mail.mbox/src/com/sun/mail/remote/RemoteStore.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.mail.remote; - -import java.io.*; -import javax.mail.*; -import com.sun.mail.mbox.*; - -/** - * A wrapper around a local MboxStore that fetches data - * from the Inbox in a remote store and adds it to our local Inbox. - */ -public abstract class RemoteStore extends MboxStore { - - protected Store remoteStore; - protected Folder remoteInbox; - protected Folder inbox; - protected String host, user, password; - protected int port; - protected long lastUpdate = 0; - - public RemoteStore(Session session, URLName url) { - super(session, url); - remoteStore = getRemoteStore(session, url); - } - - /** - * Subclasses override this method to return the appropriate - * Store object. This method will be called by - * the RemoteStore constructor. - */ - protected abstract Store getRemoteStore(Session session, URLName url); - - /** - * Connect to the store. - */ - public void connect(String host, int port, String user, String password) - throws MessagingException { - this.host = host; - this.port = port; - this.user = user; - this.password = password; - updateInbox(); - } - - /** - * Fetch any new mail in the remote INBOX and add it to the local INBOX. - */ - protected void updateInbox() throws MessagingException { - // is it time to do an update yet? - // XXX - polling frequency, rules, etc. should be in properties - if (System.currentTimeMillis() < lastUpdate + (5 * 1000)) - return; - try { - /* - * Connect to the remote store, using the saved - * authentication information. - */ - remoteStore.connect(host, port, user, password); - - /* - * If this store isn't connected yet, do it now, because - * it needs to be connected to get the INBOX folder. - */ - if (!isConnected()) - super.connect(host, port, user, password); - if (remoteInbox == null) - remoteInbox = remoteStore.getFolder("INBOX"); - if (inbox == null) - inbox = getFolder("INBOX"); - remoteInbox.open(Folder.READ_WRITE); - Message[] msgs = remoteInbox.getMessages(); - inbox.appendMessages(msgs); - remoteInbox.setFlags(msgs, new Flags(Flags.Flag.DELETED), true); - remoteInbox.close(true); - remoteStore.close(); - } catch (MessagingException ex) { - try { - if (remoteInbox != null && remoteInbox.isOpen()) - remoteInbox.close(false); - } finally { - if (remoteStore != null && remoteStore.isConnected()) - remoteStore.close(); - } - throw ex; - } - } - - public Folder getDefaultFolder() throws MessagingException { - checkConnected(); - - return new RemoteDefaultFolder(this, null); - } - - public Folder getFolder(String name) throws MessagingException { - checkConnected(); - - if (name.equalsIgnoreCase("INBOX")) - return new RemoteInbox(this, name); - else - return super.getFolder(name); - } - - public Folder getFolder(URLName url) throws MessagingException { - checkConnected(); - return getFolder(url.getFile()); - } - - private void checkConnected() throws MessagingException { - if (!isConnected()) - throw new MessagingException("Not connected"); - } -} diff --git a/ext/org.argeo.ext.slf4j/.classpath b/ext/org.argeo.ext.slf4j/.classpath deleted file mode 100644 index e801ebfb4..000000000 --- a/ext/org.argeo.ext.slf4j/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/ext/org.argeo.ext.slf4j/.project b/ext/org.argeo.ext.slf4j/.project deleted file mode 100644 index 3ed363df7..000000000 --- a/ext/org.argeo.ext.slf4j/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.argeo.ext.slf4j - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/ext/org.argeo.ext.slf4j/bnd.bnd b/ext/org.argeo.ext.slf4j/bnd.bnd deleted file mode 100644 index 37061df59..000000000 --- a/ext/org.argeo.ext.slf4j/bnd.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Export-Package: org.slf4j.impl - -Import-Package: * diff --git a/ext/org.argeo.ext.slf4j/build.properties b/ext/org.argeo.ext.slf4j/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/ext/org.argeo.ext.slf4j/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/ArgeoLogger.java b/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/ArgeoLogger.java deleted file mode 100644 index 5c4889aed..000000000 --- a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/ArgeoLogger.java +++ /dev/null @@ -1,180 +0,0 @@ -package org.slf4j.impl; - -import org.slf4j.helpers.MarkerIgnoringBase; - -class ArgeoLogger extends MarkerIgnoringBase { - private static final long serialVersionUID = -7719157836932627307L; - private final SystemLoggingAdapter log; - - protected ArgeoLogger(String name, SystemLoggingAdapter log) { - this.name = name; - this.log = log; - } - - @Override - public boolean isDebugEnabled() { - return log.isDebugEnabled(); - } - - @Override - public boolean isTraceEnabled() { - return log.isDebugEnabled(); - } - - @Override - public void trace(String msg) { - log.trace(msg); - - } - - @Override - public void trace(String format, Object... arguments) { - log.trace(format, arguments); - - } - - @Override - public void trace(String msg, Throwable t) { - log.trace(msg, t); - - } - - @Override - public void debug(String msg) { - log.debug(msg); - - } - - @Override - public void debug(String format, Object... arguments) { - log.debug(format, arguments); - - } - - @Override - public void debug(String msg, Throwable t) { - log.debug(msg, t); - - } - - @Override - public boolean isInfoEnabled() { - return log.isInfoEnabled(); - } - - @Override - public void info(String msg) { - log.info(msg); - - } - - @Override - public void info(String format, Object... arguments) { - log.info(format, arguments); - } - - @Override - public void info(String msg, Throwable t) { - log.info(msg, t); - - } - - @Override - public boolean isWarnEnabled() { - return log.isWarnEnabled(); - } - - @Override - public void warn(String msg) { - log.warn(msg); - - } - - @Override - public void warn(String format, Object... arguments) { - log.warn(format, arguments); - - } - - @Override - public void warn(String msg, Throwable t) { - log.warn(msg, t); - - } - - @Override - public boolean isErrorEnabled() { - - return log.isErrorEnabled(); - } - - @Override - public void error(String msg) { - log.error(msg); - - } - - @Override - public void error(String format, Object... arguments) { - log.error(format, arguments); - - } - - @Override - public void error(String msg, Throwable t) { - log.error(msg, t); - - } - - @Override - public void trace(String format, Object arg) { - trace(format, new Object[] { arg }); - - } - - @Override - public void trace(String format, Object arg1, Object arg2) { - trace(format, new Object[] { arg1, arg2 }); - } - - @Override - public void debug(String format, Object arg) { - debug(format, new Object[] { arg }); - } - - @Override - public void debug(String format, Object arg1, Object arg2) { - debug(format, new Object[] { arg1, arg2 }); - } - - @Override - public void info(String format, Object arg) { - info(format, new Object[] { arg }); - } - - @Override - public void info(String format, Object arg1, Object arg2) { - info(format, new Object[] { arg1, arg2 }); - } - - @Override - public void warn(String format, Object arg) { - warn(format, new Object[] { arg }); - } - - @Override - public void warn(String format, Object arg1, Object arg2) { - warn(format, new Object[] { arg1, arg2 }); - } - - @Override - public void error(String format, Object arg) { - error(format, new Object[] { arg }); - } - - @Override - public void error(String format, Object arg1, Object arg2) { - error(format, new Object[] { arg1, arg2 }); - } - -} \ No newline at end of file diff --git a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/StaticLoggerBinder.java b/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/StaticLoggerBinder.java deleted file mode 100644 index 8c5b3ad8e..000000000 --- a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/StaticLoggerBinder.java +++ /dev/null @@ -1,41 +0,0 @@ -package org.slf4j.impl; - -import org.slf4j.ILoggerFactory; -import org.slf4j.spi.LoggerFactoryBinder; - -public class StaticLoggerBinder implements LoggerFactoryBinder { - public static final String REQUESTED_API_VERSION = "1.7"; - - private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); - - private final ILoggerFactory loggerFactory; - - protected StaticLoggerBinder() { - loggerFactory = new SystemLoggerFactory(); - } - - @Override - public ILoggerFactory getLoggerFactory() { - return loggerFactory; - } - - @Override - public String getLoggerFactoryClassStr() { - return SystemLoggerFactory.class.getName(); - } - - public static final StaticLoggerBinder getSingleton() { - return SINGLETON; - } - - static class SystemLoggerFactory implements ILoggerFactory { - - @Override - public org.slf4j.Logger getLogger(String name) { - SystemLoggingAdapter logger = SystemLoggingAdapter.getLog(name); - return new ArgeoLogger(name, logger); - } - - } - -} diff --git a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/SystemLoggingAdapter.java b/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/SystemLoggingAdapter.java deleted file mode 100644 index 7a6c86555..000000000 --- a/ext/org.argeo.ext.slf4j/src/org/slf4j/impl/SystemLoggingAdapter.java +++ /dev/null @@ -1,203 +0,0 @@ -package org.slf4j.impl; - -import java.lang.System.Logger; -import java.lang.System.Logger.Level; -import java.util.Objects; -import java.util.function.Supplier; - -/** - * A Commons Logging / SLF4J style logging utilities wrapping a standard Java - * platform {@link Logger}. - */ -public interface SystemLoggingAdapter { - Logger getLogger(); - - default boolean isDebugEnabled() { - return getLogger().isLoggable(Level.DEBUG); - } - - default boolean isErrorEnabled() { - return getLogger().isLoggable(Level.ERROR); - } - - default boolean isInfoEnabled() { - return getLogger().isLoggable(Level.INFO); - } - - default boolean isTraceEnabled() { - return getLogger().isLoggable(Level.TRACE); - } - - default boolean isWarnEnabled() { - return getLogger().isLoggable(Level.WARNING); - } - - /* - * TRACE - */ - - default void trace(String message) { - getLogger().log(Level.TRACE, message); - } - - default void trace(Supplier message) { - getLogger().log(Level.TRACE, message); - } - - default void trace(Object message) { - getLogger().log(Level.TRACE, Objects.requireNonNull(message)); - } - - default void trace(String message, Throwable t) { - getLogger().log(Level.TRACE, message, t); - } - - default void trace(Object message, Throwable t) { - trace(Objects.requireNonNull(message).toString(), t); - } - - default void trace(String format, Object... arguments) { - getLogger().log(Level.TRACE, format, arguments); - } - - /* - * DEBUG - */ - - default void debug(String message) { - getLogger().log(Level.DEBUG, message); - } - - default void debug(Supplier message) { - getLogger().log(Level.DEBUG, message); - } - - default void debug(Object message) { - getLogger().log(Level.DEBUG, message); - } - - default void debug(String message, Throwable t) { - getLogger().log(Level.DEBUG, message, t); - } - - default void debug(Object message, Throwable t) { - debug(Objects.requireNonNull(message).toString(), t); - } - - default void debug(String format, Object... arguments) { - getLogger().log(Level.DEBUG, format, arguments); - } - - /* - * INFO - */ - - default void info(String message) { - getLogger().log(Level.INFO, message); - } - - default void info(Supplier message) { - getLogger().log(Level.INFO, message); - } - - default void info(Object message) { - getLogger().log(Level.INFO, message); - } - - default void info(String message, Throwable t) { - getLogger().log(Level.INFO, message, t); - } - - default void info(Object message, Throwable t) { - info(Objects.requireNonNull(message).toString(), t); - } - - default void info(String format, Object... arguments) { - getLogger().log(Level.INFO, format, arguments); - } - - /* - * WARN - */ - - default void warn(String message) { - getLogger().log(Level.WARNING, message); - } - - default void warn(Supplier message) { - getLogger().log(Level.WARNING, message); - } - - default void warn(Object message) { - getLogger().log(Level.WARNING, message); - } - - default void warn(String message, Throwable t) { - getLogger().log(Level.WARNING, message, t); - } - - default void warn(Object message, Throwable t) { - warn(Objects.requireNonNull(message).toString(), t); - } - - default void warn(String format, Object... arguments) { - getLogger().log(Level.WARNING, format, arguments); - } - - /* - * ERROR - */ - - default void error(String message) { - getLogger().log(Level.ERROR, message); - } - - default void error(Supplier message) { - getLogger().log(Level.ERROR, message); - } - - default void error(Object message) { - getLogger().log(Level.ERROR, message); - } - - default void error(String message, Throwable t) { - getLogger().log(Level.ERROR, message, t); - } - - default void error(Object message, Throwable t) { - error(Objects.requireNonNull(message).toString(), t); - } - - default void error(String format, Object... arguments) { - getLogger().log(Level.ERROR, format, arguments); - } - - /* - * STATIC UTILITIES - */ - - static SystemLoggingAdapter getLog(Class clss) { - return getLog(Objects.requireNonNull(clss).getName()); - } - - static SystemLoggingAdapter getLog(String name) { - Logger logger = System.getLogger(Objects.requireNonNull(name)); - return new LoggerWrapper(logger); - } - - /** A trivial implementation wrapping a platform logger. */ - static class LoggerWrapper implements SystemLoggingAdapter { - private final Logger logger; - - LoggerWrapper(Logger logger) { - this.logger = logger; - } - - @Override - public Logger getLogger() { - return logger; - } - - } - -} diff --git a/tp/Make.java b/tp/Make.java deleted file mode 100644 index 11c7bcdc1..000000000 --- a/tp/Make.java +++ /dev/null @@ -1,48 +0,0 @@ -import java.nio.file.Path; -import java.nio.file.Paths; - -import org.argeo.slc.factory.A2Factory; - -class Make { - public static void main(String[] args) { - if (args.length < 1) { - System.err.println("Usage: "); - System.exit(1); - } - Path a2Base = Paths.get(args[0]).toAbsolutePath().normalize(); - Path descriptorsBase = Paths.get("./tp").toAbsolutePath().normalize(); - A2Factory factory = new A2Factory(a2Base, descriptorsBase, true); - - // SDK - factory.processCategory(Paths.get("org.argeo.tp.sdk")); - - // Eclipse - factory.processCategory(Paths.get("osgi/api/org.argeo.tp.osgi")); - factory.processEclipseArchive(Paths.get("osgi/equinox/org.argeo.tp.osgi", "eclipse-equinox")); - factory.processEclipseArchive(Paths.get("osgi/equinox/org.argeo.tp.eclipse", "eclipse-equinox")); - - factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt", "eclipse-rap")); - factory.processEclipseArchive(Paths.get("swt/rap/org.argeo.tp.swt.workbench", "eclipse-rap")); - - factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-rcp")); - - factory.processEclipseArchive(Paths.get("lib/linux/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp")); - factory.processEclipseArchive(Paths.get("lib/linux/aarch64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp")); - factory.processEclipseArchive(Paths.get("lib/win32/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp")); - factory.processEclipseArchive(Paths.get("lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt", "eclipse-rcp")); - - factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt", "eclipse-nebula")); - factory.processEclipseArchive(Paths.get("swt/rcp/org.argeo.tp.swt.workbench", "eclipse-rcp")); - factory.processCategory(Paths.get("swt/rcp/org.argeo.tp.swt.workbench")); - - // Maven - factory.processCategory(Paths.get("org.argeo.tp")); - factory.processCategory(Paths.get("org.argeo.tp.apache")); - factory.processCategory(Paths.get("org.argeo.tp.jetty")); - factory.processCategory(Paths.get("org.argeo.tp.jcr")); - factory.processCategory(Paths.get("org.argeo.tp.formats")); - factory.processCategory(Paths.get("org.argeo.tp.poi")); - factory.processCategory(Paths.get("org.argeo.tp.gis")); - } - -} \ No newline at end of file diff --git a/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd b/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties b/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties deleted file mode 100644 index d39a318cc..000000000 --- a/tp/lib/linux/aarch64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/com.sun.jna*.jar= -plugins/org.eclipse.swt.gtk.linux.aarch64*= diff --git a/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd b/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties b/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties deleted file mode 100644 index 56af20515..000000000 --- a/tp/lib/linux/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/com.sun.jna*.jar= -plugins/org.eclipse.swt.gtk.linux.x86_64*= diff --git a/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd b/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties b/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties deleted file mode 100644 index 5405ab86d..000000000 --- a/tp/lib/macosx/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/com.sun.jna*.jar= -plugins/org.eclipse.swt.cocoa.macosx.x86_64*= diff --git a/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd b/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties b/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties deleted file mode 100644 index 7dff8c9bd..000000000 --- a/tp/lib/win32/x86_64/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/com.sun.jna*.jar= -plugins/org.eclipse.swt.win32.win32.x86_64*= diff --git a/tp/org.argeo.tp.apache/apache-sshd/common.bnd b/tp/org.argeo.tp.apache/apache-sshd/common.bnd deleted file mode 100644 index f3f8597c6..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :2.8.0 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/apache-sshd/merge.bnd b/tp/org.argeo.tp.apache/apache-sshd/merge.bnd deleted file mode 100644 index ce577336d..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/merge.bnd +++ /dev/null @@ -1,16 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.sshd -SLC-Origin-M2: :2.8.0 -Export-Package: org.apache.* -Import-Package: \ -org.apache.tomcat.jni.*;resolution:=optional,\ -org.bouncycastle.crypto.prng,\ -org.bouncycastle.jce.provider.*;resolution:=optional,\ -net.i2p.crypto.eddsa.*;resolution:=optional,\ -org.slf4j,\ -org.slf4j.event,\ -org.slf4j.helpers,\ -* -SLC-Origin-M2-Merge: \ -org.apache.sshd:sshd-core, \ -org.apache.sshd:sshd-common diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.cli.bnd b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.cli.bnd deleted file mode 100644 index 7b00c2cbd..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.cli.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.cli -SLC-Origin-M2: org.apache.sshd:sshd-cli diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.common.bnd.retired b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.common.bnd.retired deleted file mode 100644 index 02377e2f6..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.common.bnd.retired +++ /dev/null @@ -1,11 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.common -Fragment-Host: org.apache.sshd.core -Import-Package: \ -org.bouncycastle.jce.provider.*;resolution:=optional,\ -net.i2p.crypto.eddsa.*;resolution:=optional,\ -org.slf4j,\ -org.slf4j.event,\ -org.slf4j.helpers,\ -* - -SLC-Origin-M2: org.apache.sshd:sshd-common diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.core.bnd.retired b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.core.bnd.retired deleted file mode 100644 index c3e183a3c..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.core.bnd.retired +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.core -SLC-Origin-M2: org.apache.sshd:sshd-core -Import-Package: \ -org.apache.tomcat.jni.*;resolution:=optional,\ -org.bouncycastle.crypto.prng,\ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.git.bnd b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.git.bnd deleted file mode 100644 index 7d9ef2b2e..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.git.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.git -SLC-Origin-M2: org.apache.sshd:sshd-git -Import-Package: \ -org.eclipse.jgit.pgm.*;resolution:=optional,\ -org.kohsuke.*;resolution:=optional,\ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.putty.bnd b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.putty.bnd deleted file mode 100644 index cf8a99a4c..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.putty.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.putty -SLC-Origin-M2: org.apache.sshd:sshd-putty -Import-Package: \ -net.i2p.*;resolution:=optional,\ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.scp.bnd b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.scp.bnd deleted file mode 100644 index 67444737a..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.scp.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.scp -SLC-Origin-M2: org.apache.sshd:sshd-scp diff --git a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.sftp.bnd b/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.sftp.bnd deleted file mode 100644 index b6b8b0d5a..000000000 --- a/tp/org.argeo.tp.apache/apache-sshd/org.apache.sshd.sftp.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.sshd.sftp -SLC-Origin-M2: org.apache.sshd:sshd-sftp diff --git a/tp/org.argeo.tp.apache/batik/common.bnd b/tp/org.argeo.tp.apache/batik/common.bnd deleted file mode 100644 index bc76a9738..000000000 --- a/tp/org.argeo.tp.apache/batik/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :1.14 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/batik/merge.bnd b/tp/org.argeo.tp.apache/batik/merge.bnd deleted file mode 100644 index 6c303ef09..000000000 --- a/tp/org.argeo.tp.apache/batik/merge.bnd +++ /dev/null @@ -1,28 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.batik -SLC-Origin-M2: :1.14 -Export-Package: org.apache.* -Import-Package: \ -org.apache.batik.script.*;resolution:="optional",\ -org.apache.batik.*,\ -org.apache.xmlgraphics.*,\ -org.w3c.*,\ -*;resolution:="optional" -SLC-Origin-M2-Merge: \ -org.apache.xmlgraphics:batik-anim, \ -org.apache.xmlgraphics:batik-awt-util, \ -org.apache.xmlgraphics:batik-bridge, \ -org.apache.xmlgraphics:batik-codec, \ -org.apache.xmlgraphics:batik-dom, \ -org.apache.xmlgraphics:batik-ext, \ -org.apache.xmlgraphics:batik-extension, \ -org.apache.xmlgraphics:batik-gui-util, \ -org.apache.xmlgraphics:batik-gvt, \ -org.apache.xmlgraphics:batik-parser, \ -org.apache.xmlgraphics:batik-shared-resources, \ -org.apache.xmlgraphics:batik-script, \ -org.apache.xmlgraphics:batik-svg-dom, \ -org.apache.xmlgraphics:batik-svggen, \ -org.apache.xmlgraphics:batik-swing, \ -org.apache.xmlgraphics:batik-transcoder, \ -org.apache.xmlgraphics:batik-xml \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/batik/org.apache.batik.constants.bnd b/tp/org.argeo.tp.apache/batik/org.apache.batik.constants.bnd deleted file mode 100644 index fea69fa98..000000000 --- a/tp/org.argeo.tp.apache/batik/org.apache.batik.constants.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.batik.constants -SLC-Origin-M2: org.apache.xmlgraphics:batik-constants diff --git a/tp/org.argeo.tp.apache/batik/org.apache.batik.css.bnd b/tp/org.argeo.tp.apache/batik/org.apache.batik.css.bnd deleted file mode 100644 index 8ec1225ac..000000000 --- a/tp/org.argeo.tp.apache/batik/org.apache.batik.css.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.batik.css -SLC-Origin-M2: org.apache.xmlgraphics:batik-css diff --git a/tp/org.argeo.tp.apache/batik/org.apache.batik.i18n.bnd b/tp/org.argeo.tp.apache/batik/org.apache.batik.i18n.bnd deleted file mode 100644 index 321ae882a..000000000 --- a/tp/org.argeo.tp.apache/batik/org.apache.batik.i18n.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.batik.i18n -SLC-Origin-M2: org.apache.xmlgraphics:batik-i18n diff --git a/tp/org.argeo.tp.apache/batik/org.apache.batik.util.bnd b/tp/org.argeo.tp.apache/batik/org.apache.batik.util.bnd deleted file mode 100644 index 0b672dc50..000000000 --- a/tp/org.argeo.tp.apache/batik/org.apache.batik.util.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.batik.util -SLC-Origin-M2: org.apache.xmlgraphics:batik-util diff --git a/tp/org.argeo.tp.apache/org.apache.commons.cli.bnd b/tp/org.argeo.tp.apache/org.apache.commons.cli.bnd deleted file mode 100644 index 7e34d5996..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.cli.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.cli -SLC-Origin-M2: commons-cli:commons-cli:1.5.0 diff --git a/tp/org.argeo.tp.apache/org.apache.commons.codec.bnd b/tp/org.argeo.tp.apache/org.apache.commons.codec.bnd deleted file mode 100644 index fe4bfa6dd..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.codec.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.codec -SLC-Origin-M2: commons-codec:commons-codec:1.15 diff --git a/tp/org.argeo.tp.apache/org.apache.commons.compress.bnd b/tp/org.argeo.tp.apache/org.apache.commons.compress.bnd deleted file mode 100644 index e126b0a3a..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.compress.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.compress -SLC-Origin-M2: org.apache.commons:commons-compress:1.21 -Import-Package: \ -org.brotli.*;resolution:=optional, -org.tukaani.*;resolution:=optional, -com.github.luben.zstd;resolution:=optional, -* \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.commons.exec.bnd b/tp/org.argeo.tp.apache/org.apache.commons.exec.bnd deleted file mode 100644 index b1885872d..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.exec.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.exec -SLC-Origin-M2: org.apache.commons:commons-exec:1.3 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.commons.fileupload.bnd b/tp/org.argeo.tp.apache/org.apache.commons.fileupload.bnd deleted file mode 100644 index 73b19d418..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.fileupload.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-License: Apache-2.0 -Import-Package:\ -javax.portlet;resolution:=optional,\ -javax.servlet.*;resolution:=optional,\ -* -SLC-Origin-M2: commons-fileupload:commons-fileupload:1.4 diff --git a/tp/org.argeo.tp.apache/org.apache.commons.httpclient.bnd b/tp/org.argeo.tp.apache/org.apache.commons.httpclient.bnd deleted file mode 100644 index a064d487f..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.httpclient.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.httpclient -SLC-Origin-M2: commons-httpclient:commons-httpclient:3.1 diff --git a/tp/org.argeo.tp.apache/org.apache.commons.io.bnd b/tp/org.argeo.tp.apache/org.apache.commons.io.bnd deleted file mode 100644 index e1e25b399..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.io.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.io -SLC-Origin-M2: commons-io:commons-io:2.11.0 -Import-Package: sun.*;resolution:=optional, * diff --git a/tp/org.argeo.tp.apache/org.apache.commons.vfs.bnd b/tp/org.argeo.tp.apache/org.apache.commons.vfs.bnd deleted file mode 100644 index 3a7368975..000000000 --- a/tp/org.argeo.tp.apache/org.apache.commons.vfs.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.vfs -Import-Package: org.apache.tools.ant.*;resolution:=optional, -* -SLC-Origin-M2: org.apache.commons:commons-vfs2:2.9.0 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpclient.bnd b/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpclient.bnd deleted file mode 100644 index eead3b20c..000000000 --- a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpclient.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.httpcomponents.httpclient -SLC-Origin-M2: org.apache.httpcomponents:httpclient:4.5.13 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpcore.bnd b/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpcore.bnd deleted file mode 100644 index b0d0c7ac5..000000000 --- a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpcore.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.httpcomponents.httpcore -SLC-Origin-M2: org.apache.httpcomponents:httpcore:4.4.15 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpmime.bnd b/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpmime.bnd deleted file mode 100644 index 1623fb54e..000000000 --- a/tp/org.argeo.tp.apache/org.apache.httpcomponents.httpmime.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.httpcomponents.httpmime -SLC-Origin-M2: org.apache.httpcomponents:httpmime:4.5.13 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.tika.core.bnd b/tp/org.argeo.tp.apache/org.apache.tika.core.bnd deleted file mode 100644 index cfe157a16..000000000 --- a/tp/org.argeo.tp.apache/org.apache.tika.core.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.tika.core -SLC-Origin-M2: org.apache.tika:tika-core:1.28.2 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.apache/org.apache.tika.parsers.bnd b/tp/org.argeo.tp.apache/org.apache.tika.parsers.bnd deleted file mode 100644 index 90489d343..000000000 --- a/tp/org.argeo.tp.apache/org.apache.tika.parsers.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-Activator: org.apache.tika.parser.internal.Activator -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.tika.parsers -Import-Package: *;resolution:=optional -SLC-Origin-M2: org.apache.tika:tika-parsers:1.28.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.tomcat.jni.bnd b/tp/org.argeo.tp.apache/org.apache.tomcat.jni.bnd deleted file mode 100644 index 99cb82130..000000000 --- a/tp/org.argeo.tp.apache/org.apache.tomcat.jni.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -# Use Tomcat v9 to stay compatible with JNI library v1.2 provided by Debian 11 -SLC-Origin-M2: org.apache.tomcat:tomcat-jni:9.0.43 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.xalan.bnd.retired b/tp/org.argeo.tp.apache/org.apache.xalan.bnd.retired deleted file mode 100644 index 1d2106b04..000000000 --- a/tp/org.argeo.tp.apache/org.apache.xalan.bnd.retired +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xalan -SLC-Origin-M2: xalan:xalan:2.7.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.xalan.serializer.bnd.retired b/tp/org.argeo.tp.apache/org.apache.xalan.serializer.bnd.retired deleted file mode 100644 index e0fb19c78..000000000 --- a/tp/org.argeo.tp.apache/org.apache.xalan.serializer.bnd.retired +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xalan.serializer -SLC-Origin-M2: xalan:serializer:2.7.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.xerces.bnd b/tp/org.argeo.tp.apache/org.apache.xerces.bnd deleted file mode 100644 index 6cb8646c8..000000000 --- a/tp/org.argeo.tp.apache/org.apache.xerces.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xerces -Import-Package:\ -sun.*;resolution:=optional,\ -* -SLC-Origin-M2: xerces:xercesImpl:2.12.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.xml.resolver.bnd b/tp/org.argeo.tp.apache/org.apache.xml.resolver.bnd deleted file mode 100644 index 95f9a5ed9..000000000 --- a/tp/org.argeo.tp.apache/org.apache.xml.resolver.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xml.resolver -SLC-Origin-M2: xml-resolver:xml-resolver:1.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/org.apache.xmlgraphics.bnd.retired b/tp/org.argeo.tp.apache/org.apache.xmlgraphics.bnd.retired deleted file mode 100644 index 254a0af78..000000000 --- a/tp/org.argeo.tp.apache/org.apache.xmlgraphics.bnd.retired +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xmlgraphics -SLC-Origin-M2: org.apache.xmlgraphics:xmlgraphics-commons:2.7 diff --git a/tp/org.argeo.tp.apache/xalan/merge.bnd b/tp/org.argeo.tp.apache/xalan/merge.bnd deleted file mode 100644 index 4c36a94b8..000000000 --- a/tp/org.argeo.tp.apache/xalan/merge.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-SymbolicName: org.apache.xalan -SLC-Origin-M2: :2.7.2 -Export-Package: org.apache.* -SLC-Origin-M2-Merge: \ -xalan:xalan,\ -xalan:serializer,\ \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/xmlgraphics/merge.bnd b/tp/org.argeo.tp.apache/xmlgraphics/merge.bnd deleted file mode 100644 index 8cb1d1451..000000000 --- a/tp/org.argeo.tp.apache/xmlgraphics/merge.bnd +++ /dev/null @@ -1,11 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xmlgraphics -SLC-Origin-M2: :2.7 -SLC-Origin-M2-Merge: \ -org.apache.xmlgraphics:xmlgraphics-commons -Export-Package: org.apache.xmlgraphics.* -Import-Package: \ -org.apache.fop.image.loader.batik;resolution:="optional", \ -org.apache.fop.render.pdf.pdfbox;resolution:="optional", \ -* - diff --git a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageConverter b/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageConverter deleted file mode 100644 index 292f716d0..000000000 --- a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageConverter +++ /dev/null @@ -1,5 +0,0 @@ -org.apache.fop.image.loader.batik.ImageConverterSVG2G2D -org.apache.fop.image.loader.batik.ImageConverterG2D2SVG -org.apache.fop.image.loader.batik.ImageConverterWMF2G2D -org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2AFP -org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory b/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory deleted file mode 100644 index 27dc74aa0..000000000 --- a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory +++ /dev/null @@ -1,4 +0,0 @@ -org.apache.fop.image.loader.batik.ImageLoaderFactorySVG -org.apache.fop.image.loader.batik.ImageLoaderFactoryWMF -org.apache.fop.render.pdf.pdfbox.ImageLoaderFactoryPDF -org.apache.fop.render.pdf.pdfbox.ImageLoaderFactoryImageRawData \ No newline at end of file diff --git a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader b/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader deleted file mode 100644 index 82f7977b6..000000000 --- a/tp/org.argeo.tp.apache/xmlgraphics/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader +++ /dev/null @@ -1,5 +0,0 @@ -org.apache.fop.image.loader.batik.PreloaderWMF -org.apache.fop.image.loader.batik.PreloaderSVG -org.apache.fop.render.pdf.pdfbox.PreloaderPDF -org.apache.fop.render.pdf.pdfbox.PreloaderImageRawData -org.apache.fop.render.pdf.pdfbox.LastResortPreloaderPDF \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/com.adobe.xmp.xmpcore.bnd b/tp/org.argeo.tp.formats/com.adobe.xmp.xmpcore.bnd deleted file mode 100644 index e70665957..000000000 --- a/tp/org.argeo.tp.formats/com.adobe.xmp.xmpcore.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: BSD-3-Clause -Bundle-SymbolicName: com.adobe.xmp.xmpcore -# No source available in Maven Central for 6.1.11 -SLC-Origin-M2: com.adobe.xmp:xmpcore:6.1.10 diff --git a/tp/org.argeo.tp.formats/com.drew.metadata.bnd b/tp/org.argeo.tp.formats/com.drew.metadata.bnd deleted file mode 100644 index f32421ada..000000000 --- a/tp/org.argeo.tp.formats/com.drew.metadata.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: com.drew.metadata -SLC-Origin-M2: com.drewnoakes:metadata-extractor:2.16.0 diff --git a/tp/org.argeo.tp.formats/com.github.mangstadt.biweekly.bnd b/tp/org.argeo.tp.formats/com.github.mangstadt.biweekly.bnd deleted file mode 100644 index 395c23308..000000000 --- a/tp/org.argeo.tp.formats/com.github.mangstadt.biweekly.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: BSD-2-Clause -Bundle-SymbolicName: com.github.mangstadt.beweekly -SLC-Origin-M2: net.sf.biweekly:biweekly:0.6.6 \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/com.github.mangstadt.ezvcard.bnd b/tp/org.argeo.tp.formats/com.github.mangstadt.ezvcard.bnd deleted file mode 100644 index 8aa1e6ea4..000000000 --- a/tp/org.argeo.tp.formats/com.github.mangstadt.ezvcard.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-License: BSD-2-Clause -Bundle-SymbolicName: com.github.mangstadt.ezvcard -SLC-Origin-M2: com.googlecode.ez-vcard:ez-vcard:0.11.3 -Import-Package: \ -freemarker.*;resolution:="optional", \ -com.fasterxml.jackson.*;resolution:="optional", \ -org.jsoup.*;resolution:="optional", \ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/com.github.mangstadt.vinnie.bnd b/tp/org.argeo.tp.formats/com.github.mangstadt.vinnie.bnd deleted file mode 100644 index eded65b70..000000000 --- a/tp/org.argeo.tp.formats/com.github.mangstadt.vinnie.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: MIT -Bundle-SymbolicName: com.github.mangstadt.vinnie -SLC-Origin-M2: com.github.mangstadt:vinnie:2.0.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/com.graphbuilder.bnd b/tp/org.argeo.tp.formats/com.graphbuilder.bnd deleted file mode 100644 index d400fd7bd..000000000 --- a/tp/org.argeo.tp.formats/com.graphbuilder.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: BSD-3-Clause -Bundle-SymbolicName: com.graphbuilder -SLC-Origin-M2: com.github.virtuald:curvesapi:1.07 diff --git a/tp/org.argeo.tp.formats/com.lowagie.bnd b/tp/org.argeo.tp.formats/com.lowagie.bnd deleted file mode 100644 index b8bd29306..000000000 --- a/tp/org.argeo.tp.formats/com.lowagie.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: LGPL-2.1 -Bundle-SymbolicName: com.lowagie -SLC-Origin-M2: com.github.librepdf:openpdf:1.3.27 diff --git a/tp/org.argeo.tp.formats/de.rototor.pdfbox.graphics2d.bnd b/tp/org.argeo.tp.formats/de.rototor.pdfbox.graphics2d.bnd deleted file mode 100644 index b6f5736c2..000000000 --- a/tp/org.argeo.tp.formats/de.rototor.pdfbox.graphics2d.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: de.rototor.pdfbox.graphics2d -SLC-Origin-M2: de.rototor.pdfbox:graphics2d:0.35 diff --git a/tp/org.argeo.tp.formats/flying-saucer/common.bnd b/tp/org.argeo.tp.formats/flying-saucer/common.bnd deleted file mode 100644 index 8fc898c7b..000000000 --- a/tp/org.argeo.tp.formats/flying-saucer/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: LGPL-3 -SLC-Origin-M2: :9.1.22 \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.core.bnd b/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.core.bnd deleted file mode 100644 index 19312ee32..000000000 --- a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.core.bnd +++ /dev/null @@ -1 +0,0 @@ -SLC-Origin-M2: org.xhtmlrenderer:flying-saucer-core diff --git a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.openpdf.bnd b/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.openpdf.bnd deleted file mode 100644 index 0c241bd74..000000000 --- a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.openpdf.bnd +++ /dev/null @@ -1 +0,0 @@ -SLC-Origin-M2: org.xhtmlrenderer:flying-saucer-pdf-openpdf diff --git a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.swt.bnd b/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.swt.bnd deleted file mode 100644 index 6b89d6499..000000000 --- a/tp/org.argeo.tp.formats/flying-saucer/org.xhtmlrenderer.swt.bnd +++ /dev/null @@ -1,4 +0,0 @@ -SLC-Origin-M2: org.xhtmlrenderer:flying-saucer-swt -Import-Package:\ -org.eclipse.swt.printing;resolution:="optional",\ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/fop/merge.bnd b/tp/org.argeo.tp.formats/fop/merge.bnd deleted file mode 100644 index b8f65482b..000000000 --- a/tp/org.argeo.tp.formats/fop/merge.bnd +++ /dev/null @@ -1,16 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.fop -SLC-Origin-M2: :2.7 -SLC-Origin-M2-Merge: \ -org.apache.xmlgraphics:fop-core,\ -org.apache.xmlgraphics:fop-util,\ -org.apache.xmlgraphics:fop-events,\ -org.apache.xmlgraphics:fop-pdf-images,\ - -Export-Package: org.apache.fop.* - -Import-Package: \ -javax.media.jai;resolution:="optional",\ -com.thoughtworks.qdox.*;resolution:="optional",\ -org.apache.tools.ant.*;resolution:="optional",\ -* diff --git a/tp/org.argeo.tp.formats/io.nayuki.qrcodegen.bnd b/tp/org.argeo.tp.formats/io.nayuki.qrcodegen.bnd deleted file mode 100644 index 34445b6d6..000000000 --- a/tp/org.argeo.tp.formats/io.nayuki.qrcodegen.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: MIT -SLC-Origin-M2: io.nayuki:qrcodegen:1.8.0 diff --git a/tp/org.argeo.tp.formats/javax.xml.bind.bnd b/tp/org.argeo.tp.formats/javax.xml.bind.bnd deleted file mode 100644 index a827549f2..000000000 --- a/tp/org.argeo.tp.formats/javax.xml.bind.bnd +++ /dev/null @@ -1,7 +0,0 @@ -Bundle-License: CDDL-1.0 OR GPL-2.0 WITH Classpath-exception-2.0 -Bundle-SymbolicName: javax.xml.bind -Bundle-Version: 2.4.0 -SLC-Origin-M2: javax.xml.bind:jaxb-api:2.4.0-b180830.0359 -Import-Package: \ -org.glassfish.hk2.osgiresourcelocator;resolution:="optional",\ -* diff --git a/tp/org.argeo.tp.formats/org.apache.commons.collections4.bnd b/tp/org.argeo.tp.formats/org.apache.commons.collections4.bnd deleted file mode 100644 index 4379a1947..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.collections4.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.collections4 -SLC-Origin-M2: org.apache.commons:commons-collections4:4.4 \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/org.apache.commons.csv.bnd b/tp/org.argeo.tp.formats/org.apache.commons.csv.bnd deleted file mode 100644 index 94f8301f2..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.csv.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.csv -SLC-Origin-M2: org.apache.commons:commons-csv:1.9.0 diff --git a/tp/org.argeo.tp.formats/org.apache.commons.imaging.bnd b/tp/org.argeo.tp.formats/org.apache.commons.imaging.bnd deleted file mode 100644 index 16e088299..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.imaging.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.imaging -Bundle-Version: 0.99.2 -SLC-Origin-M2: org.apache.commons:commons-imaging:1.0-alpha2 diff --git a/tp/org.argeo.tp.formats/org.apache.commons.lang3.bnd b/tp/org.argeo.tp.formats/org.apache.commons.lang3.bnd deleted file mode 100644 index 373f64737..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.lang3.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.lang3 -SLC-Origin-M2: org.apache.commons:commons-lang3:3.12.0 diff --git a/tp/org.argeo.tp.formats/org.apache.commons.math3.bnd b/tp/org.argeo.tp.formats/org.apache.commons.math3.bnd deleted file mode 100644 index cc8d131c5..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.math3.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.math3 -SLC-Origin-M2: org.apache.commons:commons-math3:3.5 diff --git a/tp/org.argeo.tp.formats/org.apache.commons.text.bnd b/tp/org.argeo.tp.formats/org.apache.commons.text.bnd deleted file mode 100644 index b85c146d9..000000000 --- a/tp/org.argeo.tp.formats/org.apache.commons.text.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.text -SLC-Origin-M2: org.apache.commons:commons-text:1.9 diff --git a/tp/org.argeo.tp.formats/org.apache.pdfbox.jempbox.bnd b/tp/org.argeo.tp.formats/org.apache.pdfbox.jempbox.bnd deleted file mode 100644 index 068977928..000000000 --- a/tp/org.argeo.tp.formats/org.apache.pdfbox.jempbox.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.pdfbox.jempbox -SLC-Origin-M2: org.apache.pdfbox:jempbox:1.8.16 diff --git a/tp/org.argeo.tp.formats/org.apache.xml.security.bnd b/tp/org.argeo.tp.formats/org.apache.xml.security.bnd deleted file mode 100644 index 8600cbb0e..000000000 --- a/tp/org.argeo.tp.formats/org.apache.xml.security.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xml.security -SLC-Origin-M2: org.apache.santuario:xmlsec:2.1.2 diff --git a/tp/org.argeo.tp.formats/org.mozilla.javascript.bnd b/tp/org.argeo.tp.formats/org.mozilla.javascript.bnd deleted file mode 100644 index 277db302e..000000000 --- a/tp/org.argeo.tp.formats/org.mozilla.javascript.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: MPL-2.0 -Bundle-SymbolicName: org.mozilla.javascript -SLC-Origin-M2: org.mozilla:rhino:1.7.14 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.formats/pdfbox/common.bnd b/tp/org.argeo.tp.formats/pdfbox/common.bnd deleted file mode 100644 index 165d7c4c6..000000000 --- a/tp/org.argeo.tp.formats/pdfbox/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :2.0.25 \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.bnd b/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.bnd deleted file mode 100644 index 1adc2040a..000000000 --- a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-SymbolicName: org.apache.pdfbox -SLC-Origin-M2: org.apache.pdfbox:pdfbox -Import-Package: \ -sun.java2d.cmm.kcms;resolution:="optional",\ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.fontbox.bnd b/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.fontbox.bnd deleted file mode 100644 index 519f90f28..000000000 --- a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.fontbox.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.pdfbox.fontbox -SLC-Origin-M2: org.apache.pdfbox:fontbox diff --git a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.xmpbox.bnd b/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.xmpbox.bnd deleted file mode 100644 index 8a0c26c28..000000000 --- a/tp/org.argeo.tp.formats/pdfbox/org.apache.pdfbox.xmpbox.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.apache.pdfbox.xmpbox -SLC-Origin-M2: org.apache.pdfbox:xmpbox diff --git a/tp/org.argeo.tp.gis/ejml/merge.bnd b/tp/org.argeo.tp.gis/ejml/merge.bnd deleted file mode 100644 index 6aaf0eead..000000000 --- a/tp/org.argeo.tp.gis/ejml/merge.bnd +++ /dev/null @@ -1,17 +0,0 @@ -Bundle-SymbolicName: org.ejml -Bundle-License: Apache-2.0 -SLC-Origin-M2: :0.41 -Export-Package: org.ejml.* -SLC-Origin-M2-Merge: \ -org.ejml:ejml-core, \ -org.ejml:ejml-simple, \ -org.ejml:ejml-fdense, \ -org.ejml:ejml-ddense, \ -org.ejml:ejml-cdense, \ -org.ejml:ejml-zdense, \ -org.ejml:ejml-dsparse, \ - -Import-Package: \ -us.hebi.matlab.*;resolution:="optional", \ -javax.swing;resolution:="optional", -* \ No newline at end of file diff --git a/tp/org.argeo.tp.gis/geotools/merge.bnd b/tp/org.argeo.tp.gis/geotools/merge.bnd deleted file mode 100644 index 60ceeb09a..000000000 --- a/tp/org.argeo.tp.gis/geotools/merge.bnd +++ /dev/null @@ -1,65 +0,0 @@ -Bundle-License: LGPL-2.1-only -Bundle-SymbolicName: org.geotools -SLC-Origin-M2: :27.0 -SLC-Origin-M2-Repo: https://repo.osgeo.org/repository/release/ -Export-Package: org.geotools.*, org.opengis.*, net.opengis.*, org.w3.xlink.* -Import-Package: \ -org.locationtech.jts.*,\ -org.geotools.gui.swing.*;resolution:="optional",\ -org.geotools.*,\ -org.opengis.*,\ -net.opengis.*,\ -javax.measure.*, \ -tech.units.indriya.*, \ -si.uom.*, \ -systems.uom.*, \ -org.ejml.*,\ -*;resolution:="optional" -SLC-Origin-M2-Merge: \ -org.geotools:gt-metadata, \ -org.geotools:gt-property, \ -org.geotools:gt-opengis, \ -org.geotools:gt-main, \ -org.geotools:gt-cql, \ -org.geotools:gt-http, \ -org.geotools:gt-coverage, \ -org.geotools:gt-referencing, \ -org.geotools:gt-process, \ -org.geotools:gt-epsg-extension, \ -org.geotools:gt-epsg-wkt, \ -org.geotools:gt-transform, \ -org.geotools:gt-geojson, \ -org.geotools:gt-shapefile, \ -org.geotools:gt-xml, \ -org.geotools:gt-svg, \ -org.geotools:gt-brewer, \ -org.geotools:gt-css, \ -org.geotools:gt-image, \ -org.geotools:gt-geotiff, \ -org.geotools:gt-render, \ -org.geotools:gt-swing, \ -org.geotools:gt-wfs-ng, \ -org.geotools:gt-wms, \ -org.geotools:gt-wmts, \ -org.geotools:gt-jdbc, \ -org.geotools:gt-complex, \ -org.geotools:gt-app-schema, \ -org.geotools:gt-app-schema-resolver, \ -org.geotools:gt-gml-geometry-streaming, \ -org.geotools:gt-tile-client, \ -org.geotools.jdbc:gt-jdbc-postgis, \ -org.geotools.jdbc:gt-jdbc-h2, \ -org.geotools.xsd:gt-xsd-core, \ -org.geotools.xsd:gt-xsd-filter, \ -org.geotools.xsd:gt-xsd-ows, \ -org.geotools.xsd:gt-xsd-fes, \ -org.geotools.xsd:gt-xsd-gml2, \ -org.geotools.xsd:gt-xsd-gml3, \ -org.geotools.xsd:gt-xsd-wfs, \ -org.geotools.xsd:gt-xsd-wmts, \ -org.geotools.xsd:gt-xsd-sld, \ -org.geotools.ogc:net.opengis.ows, \ -org.geotools.ogc:net.opengis.wfs, \ -org.geotools.ogc:net.opengis.wmts, \ -org.geotools.ogc:net.opengis.fes, \ -org.geotools.ogc:org.w3.xlink, \ diff --git a/tp/org.argeo.tp.gis/org.json.simple.bnd b/tp/org.argeo.tp.gis/org.json.simple.bnd deleted file mode 100644 index 71ce052a7..000000000 --- a/tp/org.argeo.tp.gis/org.json.simple.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-license: Apache-2.0 -SLC-Origin-M2: com.googlecode.json-simple:json-simple:1.1.1 \ No newline at end of file diff --git a/tp/org.argeo.tp.gis/org.locationtech.jts.bnd b/tp/org.argeo.tp.gis/org.locationtech.jts.bnd deleted file mode 100644 index 8e2e95826..000000000 --- a/tp/org.argeo.tp.gis/org.locationtech.jts.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: BSD-3-Clause -SLC-Origin-M2: org.locationtech.jts:jts-core:1.18.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.gis/units/merge.bnd b/tp/org.argeo.tp.gis/units/merge.bnd deleted file mode 100644 index 75ecae16a..000000000 --- a/tp/org.argeo.tp.gis/units/merge.bnd +++ /dev/null @@ -1,14 +0,0 @@ -Bundle-License: BSD-3-Clause -Bundle-SymbolicName: tech.units.indriya -SLC-Origin-M2: :2.0.4 -Export-Package: javax.measure.*, tech.units.indriya.*, si.uom.*, systems.uom.* -Import-Package: \ -*;resolution:="optional" -SLC-Origin-M2-Merge: \ -javax.measure:unit-api:2.0, \ -tech.units:indriya, \ -tech.uom.lib:uom-lib-common:2.0.1, \ -si.uom:si-units:2.0, \ -si.uom:si-quantity:2.0.1, \ -systems.uom:systems-common:2.0.2, \ -systems.uom:systems-quantity:2.0.2, \ diff --git a/tp/org.argeo.tp.jcr/EDU.oswego.cs.dl.util.concurrent.bnd b/tp/org.argeo.tp.jcr/EDU.oswego.cs.dl.util.concurrent.bnd deleted file mode 100644 index d2432b79b..000000000 --- a/tp/org.argeo.tp.jcr/EDU.oswego.cs.dl.util.concurrent.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Public Domain -Bundle-SymbolicName: EDU.oswego.cs.dl.util.concurrent -SLC-Origin-M2: concurrent:concurrent:1.3.4 \ No newline at end of file diff --git a/tp/org.argeo.tp.jcr/com.google.guava.bnd.retired b/tp/org.argeo.tp.jcr/com.google.guava.bnd.retired deleted file mode 100644 index a8a926f3f..000000000 --- a/tp/org.argeo.tp.jcr/com.google.guava.bnd.retired +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: com.google.guava -Bundle-Version: 27.1.0.jre -SLC-Origin-M2: com.google.guava:guava:27.1-jre -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jcr/com.google.guava.failureaccess.bnd.retired b/tp/org.argeo.tp.jcr/com.google.guava.failureaccess.bnd.retired deleted file mode 100644 index e7c19ce8c..000000000 --- a/tp/org.argeo.tp.jcr/com.google.guava.failureaccess.bnd.retired +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: com.google.guava.failureaccess -SLC-Origin-M2: com.google.guava:failureaccess:1.0.1 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jcr/jackrabbit/common.bnd b/tp/org.argeo.tp.jcr/jackrabbit/common.bnd deleted file mode 100644 index c2bda37ee..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :2.20.5 \ No newline at end of file diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.api.bnd.retired b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.api.bnd.retired deleted file mode 100644 index 6ebc7799a..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.api.bnd.retired +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-api -Bundle-SymbolicName: org.apache.jackrabbit.api -Export-Package: org.apache.jackrabbit.* diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.core.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.core.bnd deleted file mode 100644 index a746cae60..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.core.bnd +++ /dev/null @@ -1,13 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-core -Bundle-SymbolicName: org.apache.jackrabbit.core -Import-Package: org.apache.jackrabbit.test;resolution:=optional,\ -org.apache.derby.*;resolution:=optional,\ -org.h2;resolution:=optional,\ -org.postgresql;resolution:=optional,\ -oracle.jdbc;resolution:=optional,\ -org.gjt.mm.mysql;resolution:=optional,\ -com.mysql.jdbc;resolution:=optional,\ -com.microsoft.sqlserver.jdbc;resolution:=optional,\ -net.sourceforge.jtds.jdbc;resolution:=optional,\ -org.hsqldb;resolution:=optional,\ -* diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.data.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.data.bnd deleted file mode 100644 index 981b84671..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.data.bnd +++ /dev/null @@ -1,14 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-data -Bundle-SymbolicName: org.apache.jackrabbit.data -Fragment-Host: org.apache.jackrabbit.core -Import-Package: org.apache.jackrabbit.test;resolution:=optional,\ -org.apache.derby.*;resolution:=optional,\ -org.h2;resolution:=optional,\ -org.postgresql;resolution:=optional,\ -oracle.jdbc;resolution:=optional,\ -org.gjt.mm.mysql;resolution:=optional,\ -com.mysql.jdbc;resolution:=optional,\ -com.microsoft.sqlserver.jdbc;resolution:=optional,\ -net.sourceforge.jtds.jdbc;resolution:=optional,\ -org.hsqldb;resolution:=optional,\ -* diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.client.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.client.bnd deleted file mode 100644 index 9c083a3df..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.client.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr-client -Bundle-SymbolicName: org.apache.jackrabbit.jcr.client diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.commons.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.commons.bnd deleted file mode 100644 index 7af2a80c8..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr.commons.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr-commons -Bundle-SymbolicName: org.apache.jackrabbit.jcr.commons diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2dav.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2dav.bnd deleted file mode 100644 index 6ec7dd939..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2dav.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr2dav -Bundle-SymbolicName: org.apache.jackrabbit.jcr2dav diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2spi.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2spi.bnd deleted file mode 100644 index 5809e9e48..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.jcr2spi.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr2spi -Bundle-SymbolicName: org.apache.jackrabbit.jcr2spi diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.server.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.server.bnd deleted file mode 100644 index ef7d70378..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.server.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr-server -Bundle-SymbolicName: org.apache.jackrabbit.server diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.servlet.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.servlet.bnd deleted file mode 100644 index 01f432604..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.servlet.bnd +++ /dev/null @@ -1,4 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-jcr-servlet -Bundle-SymbolicName: org.apache.jackrabbit.servlet -Fragment-Host: org.apache.jackrabbit.core -Import-Package: org.apache.jackrabbit.rmi.*;resolution:=optional,* diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.bnd deleted file mode 100644 index 6d0c7e4ba..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-spi -Bundle-SymbolicName: org.apache.jackrabbit.spi diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.commons.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.commons.bnd deleted file mode 100644 index 3014a8c4f..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi.commons.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-spi-commons -Bundle-SymbolicName: org.apache.jackrabbit.spi.commons diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2dav.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2dav.bnd deleted file mode 100644 index 7c7de9c52..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2dav.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-spi2dav -Bundle-SymbolicName: org.apache.jackrabbit.spi2dav diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2jcr.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2jcr.bnd deleted file mode 100644 index 9474f309b..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.spi2jcr.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-spi2jcr -Bundle-SymbolicName: org.apache.jackrabbit.spi2jcr diff --git a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.webdav.bnd b/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.webdav.bnd deleted file mode 100644 index 9a453bf02..000000000 --- a/tp/org.argeo.tp.jcr/jackrabbit/org.apache.jackrabbit.webdav.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:jackrabbit-webdav -Bundle-SymbolicName: org.apache.jackrabbit.webdav diff --git a/tp/org.argeo.tp.jcr/javax.jcr.bnd b/tp/org.argeo.tp.jcr/javax.jcr.bnd deleted file mode 100644 index 10bd6c30e..000000000 --- a/tp/org.argeo.tp.jcr/javax.jcr.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-License: https://www.adobe.io/experience-manager/reference-materials/spec/jcr/2.0/license.html -Bundle-SymbolicName: javax.jcr -Bundle-Version: 2.0.0 -SLC-Origin-M2: javax.jcr:jcr:2.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jcr/oak/common.bnd b/tp/org.argeo.tp.jcr/oak/common.bnd deleted file mode 100644 index 02fa45acb..000000000 --- a/tp/org.argeo.tp.jcr/oak/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :1.42.0 \ No newline at end of file diff --git a/tp/org.argeo.tp.jcr/oak/org.apache.jackrabbit.api.bnd b/tp/org.argeo.tp.jcr/oak/org.apache.jackrabbit.api.bnd deleted file mode 100644 index ebd491d6f..000000000 --- a/tp/org.argeo.tp.jcr/oak/org.apache.jackrabbit.api.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.apache.jackrabbit:oak-jackrabbit-api -Bundle-SymbolicName: org.apache.jackrabbit.api -Export-Package: org.apache.jackrabbit.* diff --git a/tp/org.argeo.tp.jcr/org.apache.commons.collections.bnd b/tp/org.argeo.tp.jcr/org.apache.commons.collections.bnd deleted file mode 100644 index b81a7e3bc..000000000 --- a/tp/org.argeo.tp.jcr/org.apache.commons.collections.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.collections -SLC-Origin-M2: commons-collections:commons-collections:3.2.2 diff --git a/tp/org.argeo.tp.jcr/org.apache.commons.dbcp.bnd b/tp/org.argeo.tp.jcr/org.apache.commons.dbcp.bnd deleted file mode 100644 index 7d03c4d30..000000000 --- a/tp/org.argeo.tp.jcr/org.apache.commons.dbcp.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.dbcp -SLC-Origin-M2: commons-dbcp:commons-dbcp:1.4 -Import-Package: javax.transaction.*; resolution:="optional",\ -* diff --git a/tp/org.argeo.tp.jcr/org.apache.commons.pool.bnd b/tp/org.argeo.tp.jcr/org.apache.commons.pool.bnd deleted file mode 100644 index c0ae2706b..000000000 --- a/tp/org.argeo.tp.jcr/org.apache.commons.pool.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.commons.pool -SLC-Origin-M2: commons-pool:commons-pool:1.6 diff --git a/tp/org.argeo.tp.jcr/org.apache.lucene.bnd b/tp/org.argeo.tp.jcr/org.apache.lucene.bnd deleted file mode 100644 index 8126ffd79..000000000 --- a/tp/org.argeo.tp.jcr/org.apache.lucene.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.lucene -SLC-Origin-M2: org.apache.lucene:lucene-core:3.6.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.jetty/jetty-websocket/merge.bnd b/tp/org.argeo.tp.jetty/jetty-websocket/merge.bnd deleted file mode 100644 index 309a9e7aa..000000000 --- a/tp/org.argeo.tp.jetty/jetty-websocket/merge.bnd +++ /dev/null @@ -1,22 +0,0 @@ -Bundle-SymbolicName: org.eclipse.jetty.websocket -Bundle-License: Apache-2.0 -SLC-Origin-M2: :10.0.9 -SLC-Origin-M2-Merge: \ -org.eclipse.jetty.websocket:websocket-core-client, \ -org.eclipse.jetty.websocket:websocket-core-common, \ -org.eclipse.jetty.websocket:websocket-core-server, \ -org.eclipse.jetty.websocket:websocket-jetty-api, \ -org.eclipse.jetty.websocket:websocket-jetty-client, \ -org.eclipse.jetty.websocket:websocket-jetty-common, \ -org.eclipse.jetty.websocket:websocket-jetty-server,\ -org.eclipse.jetty.websocket:websocket-javax-client, \ -org.eclipse.jetty.websocket:websocket-javax-common, \ -org.eclipse.jetty.websocket:websocket-javax-server,\ -org.eclipse.jetty.websocket:websocket-servlet, \ - -Export-Package: org.eclipse.jetty.* - -Import-Package: \ -!java.*, \ -org.eclipse.jetty.webapp;resolution:="optional", \ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.jetty/jetty/common.bnd b/tp/org.argeo.tp.jetty/jetty/common.bnd deleted file mode 100644 index 25c6ff977..000000000 --- a/tp/org.argeo.tp.jetty/jetty/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :10.0.9 diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.client.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.client.bnd deleted file mode 100644 index 202f50a6b..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.client.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-alpn-client -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.server.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.server.bnd deleted file mode 100644 index 47e4560f9..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.alpn.server.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-alpn-server -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.client.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.client.bnd deleted file mode 100644 index 8bce1ab01..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.client.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-client -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.client diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.continuation.bnd.retired b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.continuation.bnd.retired deleted file mode 100644 index 5cf169dc6..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.continuation.bnd.retired +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-continuation -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.continuation diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http.bnd deleted file mode 100644 index 4a4e18c60..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-http -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.http diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.client.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.client.bnd deleted file mode 100644 index b57b83fb8..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.client.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty.http2:http2-client -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.common.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.common.bnd deleted file mode 100644 index c1d717474..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty.http2:http2-common -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.hpack.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.hpack.bnd deleted file mode 100644 index 766cdd002..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.hpack.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty.http2:http2-hpack -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.server.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.server.bnd deleted file mode 100644 index 2f1a080e5..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.http2.server.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty.http2:http2-server -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.io.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.io.bnd deleted file mode 100644 index 4037c7000..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.io.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-io -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.io diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.jmx.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.jmx.bnd deleted file mode 100644 index dbdf6e105..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.jmx.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-jmx -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.jmx diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.security.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.security.bnd deleted file mode 100644 index f28b88615..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.security.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-security -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.security diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.server.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.server.bnd deleted file mode 100644 index d66a70d58..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.server.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-server -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.server diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlet.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlet.bnd deleted file mode 100644 index 68469c1eb..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlet.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-servlet -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.servlet diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlets.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlets.bnd deleted file mode 100644 index 27a8f2ec7..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.servlets.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-servlets -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.servlets diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.ajax.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.ajax.bnd deleted file mode 100644 index ec671fa8d..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.ajax.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-util-ajax -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.util.ajax diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.bnd deleted file mode 100644 index 600cc7091..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.util.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-util -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.util diff --git a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.xml.bnd b/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.xml.bnd deleted file mode 100644 index 0ccef1af1..000000000 --- a/tp/org.argeo.tp.jetty/jetty/org.eclipse.jetty.xml.bnd +++ /dev/null @@ -1,3 +0,0 @@ -SLC-Origin-M2: org.eclipse.jetty:jetty-xml -SLC-Origin-ManifestNotModified: true -Bundle-SymbolicName: org.eclipse.jetty.xml diff --git a/tp/org.argeo.tp.poi/org.apache.xmlbeans.bnd b/tp/org.argeo.tp.poi/org.apache.xmlbeans.bnd deleted file mode 100644 index 83d6d31b3..000000000 --- a/tp/org.argeo.tp.poi/org.apache.xmlbeans.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: org.apache.xmlbeans -DynamicImport-Package: * -Import-Package: org.apache.tools.ant.*;resolution:=optional, -net.sf.saxon.*;resolution:=optional, -com.sun.*;resolution:=optional, -* -SLC-Origin-M2: org.apache.xmlbeans:xmlbeans:3.1.0 \ No newline at end of file diff --git a/tp/org.argeo.tp.poi/poi/common.bnd b/tp/org.argeo.tp.poi/poi/common.bnd deleted file mode 100644 index b3e399683..000000000 --- a/tp/org.argeo.tp.poi/poi/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :5.2.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.poi/poi/org.apache.poi.bnd b/tp/org.argeo.tp.poi/poi/org.apache.poi.bnd deleted file mode 100644 index 9856bd2d3..000000000 --- a/tp/org.argeo.tp.poi/poi/org.apache.poi.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-SymbolicName: org.apache.poi -SLC-Origin-M2: org.apache.poi:poi -Import-Package: \ -org.apache.logging.log4j.*;resolution:=optional,\ -* diff --git a/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.bnd b/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.bnd deleted file mode 100644 index 75bea7c20..000000000 --- a/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-SymbolicName: org.apache.poi.ooxml -Import-Package: \ -com.graphbuilder.*;resolution:=optional,\ -com.graphbuilder.*;resolution:=optional,\ -org.etsi.uri.*;resolution:=optional,\ -org.apache.logging.log4j.*;resolution:=optional,\ -* -SLC-Origin-M2: org.apache.poi:poi-ooxml diff --git a/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.schemas.bnd b/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.schemas.bnd deleted file mode 100644 index 7b4fa6e22..000000000 --- a/tp/org.argeo.tp.poi/poi/org.apache.poi.ooxml.schemas.bnd +++ /dev/null @@ -1,7 +0,0 @@ -Bundle-SymbolicName: org.apache.poi.ooxml.schemas -Import-Package: \ -com.microsoft.schemas.*;resolution:=optional, \ -org.openxmlformats.schemas.*;resolution:=optional, \ -* -Require-Bundle: org.apache.xmlbeans -SLC-Origin-M2: org.apache.poi:poi-ooxml-full diff --git a/tp/org.argeo.tp.poi/poi/org.apache.poi.scratchpad.bnd b/tp/org.argeo.tp.poi/poi/org.apache.poi.scratchpad.bnd deleted file mode 100644 index 50b0d3f76..000000000 --- a/tp/org.argeo.tp.poi/poi/org.apache.poi.scratchpad.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-SymbolicName: org.apache.poi.scratchpad -SLC-Origin-M2: org.apache.poi:poi-scratchpad -Import-Package: \ -org.apache.logging.log4j.*;resolution:=optional,\ -* diff --git a/tp/org.argeo.tp.sdk/biz.aQute.bndlib.bnd b/tp/org.argeo.tp.sdk/biz.aQute.bndlib.bnd deleted file mode 100644 index 0fa851b8e..000000000 --- a/tp/org.argeo.tp.sdk/biz.aQute.bndlib.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: biz.aQute.bnd:biz.aQute.bndlib:5.3.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp.sdk/junit-jupiter/merge.bnd b/tp/org.argeo.tp.sdk/junit-jupiter/merge.bnd deleted file mode 100644 index 312584e56..000000000 --- a/tp/org.argeo.tp.sdk/junit-jupiter/merge.bnd +++ /dev/null @@ -1,14 +0,0 @@ -Bundle-License: EPL-2.0 -Bundle-SymbolicName: org.junit.jupiter -SLC-Origin-M2: :5.8.2 -SLC-Origin-M2-Merge: \ -org.junit.jupiter:junit-jupiter-api, \ -org.junit.jupiter:junit-jupiter-engine, \ -org.junit.jupiter:junit-jupiter-params, \ - -Export-Package: org.junit.jupiter.* - -Import-Package: \ -com.googlecode.openbeans.*;resolution:="optional", \ -kotlin.*;resolution:="optional", \ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/junit-platform/merge.bnd b/tp/org.argeo.tp.sdk/junit-platform/merge.bnd deleted file mode 100644 index 502ffa669..000000000 --- a/tp/org.argeo.tp.sdk/junit-platform/merge.bnd +++ /dev/null @@ -1,22 +0,0 @@ -Bundle-License: EPL-2.0 -Bundle-SymbolicName: org.junit.platform -SLC-Origin-M2: :1.8.2 -SLC-Origin-M2-Merge: \ -org.junit.platform:junit-platform-commons, \ -org.junit.platform:junit-platform-console, \ -org.junit.platform:junit-platform-engine, \ -org.junit.platform:junit-platform-reporting, \ -org.junit.platform:junit-platform-suite, \ -org.junit.platform:junit-platform-suite-api, \ -org.junit.platform:junit-platform-suite-commons, \ -org.junit.platform:junit-platform-suite-engine, \ -org.junit.platform:junit-platform-testkit, \ -org.junit.platform:junit-platform-launcher, \ - -Export-Package: org.junit.platform.* - -Import-Package: \ -org.assertj.*;resolution:="optional", \ -groovy.lang.*;resolution:="optional", \ -org.fusesource.*;resolution:="optional", \ -* \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.apiguardian.bnd b/tp/org.argeo.tp.sdk/org.apiguardian.bnd deleted file mode 100644 index 039c57a68..000000000 --- a/tp/org.argeo.tp.sdk/org.apiguardian.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: org.apiguardian:apiguardian-api:1.1.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.eclipse.jdt.core.compiler.batch.bnd b/tp/org.argeo.tp.sdk/org.eclipse.jdt.core.compiler.batch.bnd deleted file mode 100644 index 27f4f43ec..000000000 --- a/tp/org.argeo.tp.sdk/org.eclipse.jdt.core.compiler.batch.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: EPL-2.0 -SLC-Origin-M2: org.eclipse.jdt:ecj:3.29.0 -SLC-Origin-ManifestNotModified: true -Main-Class: org.eclipse.jdt.internal.compiler.batch.Main \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.eclipse.jgit.bnd b/tp/org.argeo.tp.sdk/org.eclipse.jgit.bnd deleted file mode 100644 index c4df6b9fc..000000000 --- a/tp/org.argeo.tp.sdk/org.eclipse.jgit.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-License: BSD-3-Clause -SLC-Origin-M2: org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r -Import-Package: \ -sun.*;resolution:=optional, \ -com.jcraft.jsch;resolution:=optional, \ -* diff --git a/tp/org.argeo.tp.sdk/org.graalvm.bnd.retired b/tp/org.argeo.tp.sdk/org.graalvm.bnd.retired deleted file mode 100644 index dd55db9bb..000000000 --- a/tp/org.argeo.tp.sdk/org.graalvm.bnd.retired +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: UPL-1.0 -SLC-Origin-M2: org.graalvm.sdk:graal-sdk:22.1.0.1 -# Workaround for errors in Eclipse PDE when using GraalVM as JCM -Import-Package: java.*;resolution:="optional", * \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.hamcrest.core.bnd b/tp/org.argeo.tp.sdk/org.hamcrest.core.bnd deleted file mode 100644 index 1a47046c5..000000000 --- a/tp/org.argeo.tp.sdk/org.hamcrest.core.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: BSD-3-Clause -SLC-Origin-M2: org.hamcrest:hamcrest-core:1.3 diff --git a/tp/org.argeo.tp.sdk/org.junit.bnd b/tp/org.argeo.tp.sdk/org.junit.bnd deleted file mode 100644 index 414b10258..000000000 --- a/tp/org.argeo.tp.sdk/org.junit.bnd +++ /dev/null @@ -1,6 +0,0 @@ -Bundle-License: EPL-1.0 -Bundle-SymbolicName: org.junit -Import-Package: org.hamcrest;resolution:=optional,\ -org.hamcrest.core;resolution:=optional,\ -* -SLC-Origin-M2: junit:junit:4.13.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.junit.vintage.bnd b/tp/org.argeo.tp.sdk/org.junit.vintage.bnd deleted file mode 100644 index c06389124..000000000 --- a/tp/org.argeo.tp.sdk/org.junit.vintage.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-2.0 -SLC-Origin-M2: org.junit.vintage:junit-vintage-engine:5.8.2 \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.opentest4j.bnd b/tp/org.argeo.tp.sdk/org.opentest4j.bnd deleted file mode 100644 index c959b429b..000000000 --- a/tp/org.argeo.tp.sdk/org.opentest4j.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: org.opentest4j:opentest4j:1.2.0 \ No newline at end of file diff --git a/tp/org.argeo.tp.sdk/org.redline-rpm.bnd b/tp/org.argeo.tp.sdk/org.redline-rpm.bnd deleted file mode 100644 index 6a32d2637..000000000 --- a/tp/org.argeo.tp.sdk/org.redline-rpm.bnd +++ /dev/null @@ -1,7 +0,0 @@ -Bundle-License: MIT -Bundle-SymbolicName: org.redline-rpm -Import-Package: sun.security.*;resolution:=optional, -org.apache.tools.ant.*;resolution:=optional, -org.apache.tools.zip;resolution:=optional, -* -SLC-Origin-M2: org.redline-rpm:redline:1.2.10 diff --git a/tp/org.argeo.tp/bouncycastle/bcmail.bnd b/tp/org.argeo.tp/bouncycastle/bcmail.bnd deleted file mode 100644 index 38ba77b5e..000000000 --- a/tp/org.argeo.tp/bouncycastle/bcmail.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: bcmail -SLC-Origin-ManifestNotModified: true -SLC-Origin-M2: org.bouncycastle:bcmail-jdk18on diff --git a/tp/org.argeo.tp/bouncycastle/bcpg.bnd b/tp/org.argeo.tp/bouncycastle/bcpg.bnd deleted file mode 100644 index 6e6f8af54..000000000 --- a/tp/org.argeo.tp/bouncycastle/bcpg.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: bcpg -SLC-Origin-ManifestNotModified: true -SLC-Origin-M2: org.bouncycastle:bcpg-jdk18on diff --git a/tp/org.argeo.tp/bouncycastle/bcpkix.bnd b/tp/org.argeo.tp/bouncycastle/bcpkix.bnd deleted file mode 100644 index 50b64bc68..000000000 --- a/tp/org.argeo.tp/bouncycastle/bcpkix.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: bcpkix -SLC-Origin-ManifestNotModified: true -SLC-Origin-M2: org.bouncycastle:bcpkix-jdk18on diff --git a/tp/org.argeo.tp/bouncycastle/bcprov.bnd b/tp/org.argeo.tp/bouncycastle/bcprov.bnd deleted file mode 100644 index b507d5e54..000000000 --- a/tp/org.argeo.tp/bouncycastle/bcprov.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: bcprov -SLC-Origin-ManifestNotModified: true -SLC-Origin-M2: org.bouncycastle:bcprov-jdk18on diff --git a/tp/org.argeo.tp/bouncycastle/bcutil.bnd b/tp/org.argeo.tp/bouncycastle/bcutil.bnd deleted file mode 100644 index 778c30967..000000000 --- a/tp/org.argeo.tp/bouncycastle/bcutil.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: bcutil -SLC-Origin-ManifestNotModified: true -SLC-Origin-M2: org.bouncycastle:bcutil-jdk18on diff --git a/tp/org.argeo.tp/bouncycastle/common.bnd b/tp/org.argeo.tp/bouncycastle/common.bnd deleted file mode 100644 index bbd389db0..000000000 --- a/tp/org.argeo.tp/bouncycastle/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: MIT -SLC-Origin-M2: :1.71 diff --git a/tp/org.argeo.tp/com.googlecode.javaewah.JavaEWAH.bnd b/tp/org.argeo.tp/com.googlecode.javaewah.JavaEWAH.bnd deleted file mode 100644 index 4355de49b..000000000 --- a/tp/org.argeo.tp/com.googlecode.javaewah.JavaEWAH.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: com.googlecode.javaewah.JavaEWAH -SLC-Origin-M2: com.googlecode.javaewah:JavaEWAH:1.1.13 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/com.zaxxer.sparsebits.bnd b/tp/org.argeo.tp/com.zaxxer.sparsebits.bnd deleted file mode 100644 index 0f72baf58..000000000 --- a/tp/org.argeo.tp/com.zaxxer.sparsebits.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: Apache-2.0 -Bundle-SymbolicName: com.zaxxer.sparsebits -SLC-Origin-M2: com.zaxxer:SparseBitSet:1.2 diff --git a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-annotations.bnd b/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-annotations.bnd deleted file mode 100644 index 94b69a187..000000000 --- a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-annotations.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: com.fasterxml.jackson.core.jackson-annotations -SLC-Origin-M2: com.fasterxml.jackson.core:jackson-annotations -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-core.bnd b/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-core.bnd deleted file mode 100644 index a4b359fab..000000000 --- a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-core.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: com.fasterxml.jackson.core.jackson-core -SLC-Origin-M2: com.fasterxml.jackson.core:jackson-core -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-databind.bnd b/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-databind.bnd deleted file mode 100644 index 32ded2297..000000000 --- a/tp/org.argeo.tp/jackson/com.fasterxml.jackson.core.jackson-databind.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: com.fasterxml.jackson.core.jackson-databind -SLC-Origin-M2: com.fasterxml.jackson.core:jackson-databind -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/jackson/common.bnd b/tp/org.argeo.tp/jackson/common.bnd deleted file mode 100644 index b9a12cc62..000000000 --- a/tp/org.argeo.tp/jackson/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :2.13.1 diff --git a/tp/org.argeo.tp/jakarta.servlet.api.bnd b/tp/org.argeo.tp/jakarta.servlet.api.bnd deleted file mode 100644 index 5664fbda5..000000000 --- a/tp/org.argeo.tp/jakarta.servlet.api.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: GPL-2.0-with-classpath-exception -SLC-Origin-M2: jakarta.servlet:jakarta.servlet-api:4.0.4 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/javax.activation.bnd b/tp/org.argeo.tp/javax.activation.bnd deleted file mode 100644 index 167bd5f7d..000000000 --- a/tp/org.argeo.tp/javax.activation.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: BSD-3-Clause -SLC-Origin-M2: jakarta.activation:jakarta.activation-api:1.2.2 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/javax.mail.bnd b/tp/org.argeo.tp/javax.mail.bnd deleted file mode 100644 index 4bc26fa8c..000000000 --- a/tp/org.argeo.tp/javax.mail.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 -Bundle-SymbolicName: javax.mail -SLC-Origin-M2: com.sun.mail:jakarta.mail:1.6.7 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/javax.websocket.bnd b/tp/org.argeo.tp/javax.websocket.bnd deleted file mode 100644 index cefcff8d1..000000000 --- a/tp/org.argeo.tp/javax.websocket.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-SymbolicName: javax.websocket -Bundle-License: GPL-2.0-only OR CDDL-1.1 -SLC-Origin-M2: javax.websocket:javax.websocket-api:1.1 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/net.i2p.crypto.eddsa.bnd b/tp/org.argeo.tp/net.i2p.crypto.eddsa.bnd deleted file mode 100644 index 2eea7649d..000000000 --- a/tp/org.argeo.tp/net.i2p.crypto.eddsa.bnd +++ /dev/null @@ -1,5 +0,0 @@ -Bundle-License: CC0-1.0 -SLC-Origin-M2: net.i2p.crypto:eddsa:0.3.0 -Import-Package: \ -sun.*;resolution:="optional", \ -* diff --git a/tp/org.argeo.tp/org.h2.bnd b/tp/org.argeo.tp/org.h2.bnd deleted file mode 100644 index a6090fa26..000000000 --- a/tp/org.argeo.tp/org.h2.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: MPL-2.0 -Bundle-SymbolicName: org.h2 -SLC-Origin-M2: com.h2database:h2:1.4.200 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/org.postgresql.jdbc42.bnd b/tp/org.argeo.tp/org.postgresql.jdbc42.bnd deleted file mode 100644 index 7767b5ca4..000000000 --- a/tp/org.argeo.tp/org.postgresql.jdbc42.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: BSD-2-Clause -Bundle-SymbolicName: org.postgresql.jdbc42 -SLC-Origin-M2: org.postgresql:postgresql:42.3.5 -SLC-Origin-ManifestNotModified: true diff --git a/tp/org.argeo.tp/org.tukaani.xz.bnd b/tp/org.argeo.tp/org.tukaani.xz.bnd deleted file mode 100644 index d4a68212c..000000000 --- a/tp/org.argeo.tp/org.tukaani.xz.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: CC0-1.0 -SLC-Origin-M2: org.tukaani:xz:1.9 diff --git a/tp/org.argeo.tp/org.w3c.css.sac.bnd b/tp/org.argeo.tp/org.w3c.css.sac.bnd deleted file mode 100644 index bbb35cc55..000000000 --- a/tp/org.argeo.tp/org.w3c.css.sac.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: W3C -Bundle-SymbolicName: org.w3c.css.sac -SLC-Origin-M2: org.w3c.css:sac:1.3 diff --git a/tp/org.argeo.tp/org.w3c.dom.smil.bnd b/tp/org.argeo.tp/org.w3c.dom.smil.bnd deleted file mode 100644 index 05b9dd6ef..000000000 --- a/tp/org.argeo.tp/org.w3c.dom.smil.bnd +++ /dev/null @@ -1,4 +0,0 @@ -Bundle-License: W3C -Bundle-SymbolicName: org.w3c.dom.smil -Bundle-Version: 1.0 -SLC-Origin-M2: org.axsl.org.w3c.dom.smil:smil-boston-dom-java:2000-02-25 diff --git a/tp/org.argeo.tp/org.w3c.dom.svg.bnd b/tp/org.argeo.tp/org.w3c.dom.svg.bnd deleted file mode 100644 index 44cb2b182..000000000 --- a/tp/org.argeo.tp/org.w3c.dom.svg.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: W3C -Bundle-SymbolicName: org.w3c.dom.svg -SLC-Origin-M2: org.axsl.org.w3c.dom.svg:svg-dom-java:1.1 diff --git a/tp/org.argeo.tp/slf4j/common.bnd b/tp/org.argeo.tp/slf4j/common.bnd deleted file mode 100644 index 2c5cf1d1c..000000000 --- a/tp/org.argeo.tp/slf4j/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: Apache-2.0 -SLC-Origin-M2: :1.7.36 diff --git a/tp/org.argeo.tp/slf4j/org.slf4j.api.bnd b/tp/org.argeo.tp/slf4j/org.slf4j.api.bnd deleted file mode 100644 index 75afe68f2..000000000 --- a/tp/org.argeo.tp/slf4j/org.slf4j.api.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-SymbolicName: org.slf4j.api -SLC-Origin-M2: org.slf4j:slf4j-api diff --git a/tp/org.argeo.tp/slf4j/org.slf4j.commons.logging.bnd b/tp/org.argeo.tp/slf4j/org.slf4j.commons.logging.bnd deleted file mode 100644 index 9b2ffdbd2..000000000 --- a/tp/org.argeo.tp/slf4j/org.slf4j.commons.logging.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: org.slf4j.commons.logging -SLC-Origin-M2: org.slf4j:jcl-over-slf4j -Export-Package: org.apache.commons.logging.*;version="1.2" \ No newline at end of file diff --git a/tp/org.argeo.tp/slf4j/org.slf4j.log4j.bnd.deactivated b/tp/org.argeo.tp/slf4j/org.slf4j.log4j.bnd.deactivated deleted file mode 100644 index 4275c6a38..000000000 --- a/tp/org.argeo.tp/slf4j/org.slf4j.log4j.bnd.deactivated +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: org.slf4j.log4j -SLC-Origin-M2: org.slf4j:log4j-over-slf4j -Export-Package: org.apache.logging.log4j.*;version="2.17" \ No newline at end of file diff --git a/tp/osgi/api/org.argeo.tp.osgi/osgi.cmpn.bnd b/tp/osgi/api/org.argeo.tp.osgi/osgi.cmpn.bnd deleted file mode 100644 index ef1e50320..000000000 --- a/tp/osgi/api/org.argeo.tp.osgi/osgi.cmpn.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.osgi:osgi.cmpn:7.0.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/osgi/api/org.argeo.tp.osgi/osgi.core.bnd b/tp/osgi/api/org.argeo.tp.osgi/osgi.core.bnd deleted file mode 100644 index 16a91c476..000000000 --- a/tp/osgi/api/org.argeo.tp.osgi/osgi.core.bnd +++ /dev/null @@ -1,2 +0,0 @@ -SLC-Origin-M2: org.osgi:osgi.core:7.0.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/common.bnd b/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/includes.properties b/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/includes.properties deleted file mode 100644 index ac8b8b7a7..000000000 --- a/tp/osgi/equinox/org.argeo.tp.eclipse/eclipse-equinox/includes.properties +++ /dev/null @@ -1,14 +0,0 @@ -plugins/org.eclipse.equinox.app*.jar= -plugins/org.eclipse.equinox.cm*.jar= -plugins/org.eclipse.equinox.common*.jar= -plugins/org.eclipse.equinox.ds*.jar= -plugins/org.eclipse.equinox.metatype*.jar= -plugins/org.eclipse.equinox.event*.jar= -plugins/org.eclipse.equinox.http.jetty*.jar= -plugins/org.eclipse.equinox.http.registry*.jar= -plugins/org.eclipse.equinox.http.servlet*.jar= -plugins/org.eclipse.equinox.http.servletbridge*.jar= -plugins/org.eclipse.equinox.preferences*.jar= -plugins/org.eclipse.equinox.registry*.jar= -plugins/org.eclipse.equinox.servletbridge*.jar= -plugins/org.eclipse.equinox.util*.jar= diff --git a/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd b/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd deleted file mode 100644 index 7f3378c50..000000000 --- a/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true -SLC-Origin-URI: http://www.eclipse.org/downloads/equinox/drops/R-4.23-202203080310/equinox-SDK-4.23.zip diff --git a/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties b/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties deleted file mode 100644 index 2b316d334..000000000 --- a/tp/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties +++ /dev/null @@ -1,8 +0,0 @@ -plugins/org.eclipse.osgi_*.jar= -plugins/org.eclipse.osgi.source_*.jar= -plugins/org.eclipse.osgi.util*.jar= -plugins/org.eclipse.osgi.services*.jar= -plugins/org.apache.felix.gogo.*.jar= -plugins/org.apache.felix.scr*.jar= -plugins/org.eclipse.equinox.console_*.jar= -plugins/org.eclipse.equinox.console.source_*.jar= diff --git a/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/common.bnd b/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/excludes.properties b/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/excludes.properties deleted file mode 100644 index e69de29bb..000000000 diff --git a/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/includes.properties b/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/includes.properties deleted file mode 100644 index 93e66cb31..000000000 --- a/tp/swt/rap/org.argeo.tp.swt.workbench/eclipse-rap/includes.properties +++ /dev/null @@ -1,15 +0,0 @@ -plugins/javax.inject*.jar= -plugins/javax.annotation*.jar= -plugins/org.apache.commons.jxpath*.jar= -plugins/org.eclipse.e4*.jar= -plugins/org.eclipse.emf*.jar= -plugins/org.eclipse.rap.e4_*.jar= -plugins/org.eclipse.rap.e4.source_*.jar= -plugins/org.eclipse.rap.ui.workbench*.jar= -plugins/org.eclipse.rap.ui_*.jar= -plugins/org.eclipse.rap.ui.source_*.jar= -plugins/org.eclipse.rap.ui.views*.jar= -plugins/org.eclipse.rap.ui.forms*.jar= -plugins/org.eclipse.help*.jar= -plugins/com.ibm.icu*.jar= -plugins/org.eclipse.rap.jface.databinding*.jar= diff --git a/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/common.bnd b/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/includes.properties b/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/includes.properties deleted file mode 100644 index 149a56f0e..000000000 --- a/tp/swt/rap/org.argeo.tp.swt/eclipse-rap/includes.properties +++ /dev/null @@ -1,10 +0,0 @@ -plugins/org.eclipse.core*.jar= -plugins/org.eclipse.rap.rwt_*.jar= -plugins/org.eclipse.rap.rwt.source_*.jar= -plugins/org.eclipse.rap.rwt.osgi_*.jar= -plugins/org.eclipse.rap.rwt.osgi.source_*.jar= -plugins/org.eclipse.rap.fileupload*.jar= -plugins/org.eclipse.rap.filedialog*.jar= -plugins/org.eclipse.rap.jface_*.jar= -plugins/org.eclipse.rap.jface.source_*.jar= -plugins/org.eclipse.rap.nebula.*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/common.bnd b/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/excludes.properties b/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/excludes.properties deleted file mode 100644 index 7c8efe38e..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/excludes.properties +++ /dev/null @@ -1,7 +0,0 @@ -plugins/org.eclipse.swt*.jar= -plugins/org.eclipse.equinox*.jar= -plugins/org.eclipse.core.*.jar= -plugins/org.eclipse.jface_*.jar= -plugins/org.eclipse.jface.source_*.jar= -plugins/*ppc64le* -plugins/org.eclipse.e4.ui.css*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/includes.properties b/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/includes.properties deleted file mode 100644 index 812ea2569..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/eclipse-rcp/includes.properties +++ /dev/null @@ -1,6 +0,0 @@ -plugins/javax.inject*.jar= -plugins/javax.annotation*.jar= -plugins/org.apache.commons.jxpath*.jar= -plugins/org.eclipse.*.jar= -plugins/com.ibm.icu*.jar= - diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.common.bnd b/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.common.bnd deleted file mode 100644 index 6bade450e..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.common.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: EPEL-2.0 -SLC-Origin-M2: org.eclipse.emf:org.eclipse.emf.common:2.24.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.bnd b/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.bnd deleted file mode 100644 index 30033bf77..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: EPEL-2.0 -SLC-Origin-M2: org.eclipse.emf:org.eclipse.emf.ecore:2.26.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.change.bnd b/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.change.bnd deleted file mode 100644 index ba733ef6d..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.change.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: EPEL-2.0 -SLC-Origin-M2: org.eclipse.emf:org.eclipse.emf.ecore.change:2.14.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.xmi.bnd b/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.xmi.bnd deleted file mode 100644 index 4a4088191..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt.workbench/org.eclipse.emf.ecore.xmi.bnd +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-License: EPEL-2.0 -SLC-Origin-M2: org.eclipse.emf:org.eclipse.emf.ecore.xmi:2.16.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/common.bnd b/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/excludes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/excludes.properties deleted file mode 100644 index 44f1055b9..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/excludes.properties +++ /dev/null @@ -1 +0,0 @@ -plugins/org.eclipse.equinox.security.ui*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/includes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/includes.properties deleted file mode 100644 index f20b07d10..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-equinox/includes.properties +++ /dev/null @@ -1 +0,0 @@ -plugins/org.eclipse.equinox.security*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/common.bnd b/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/common.bnd deleted file mode 100644 index b42292d23..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-2.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/excludes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/excludes.properties deleted file mode 100644 index 5574815cd..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/excludes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/org.eclipse.nebula.widgets.grid.example*.jar= -plugins/org.eclipse.nebula.widgets.grid.css*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/includes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/includes.properties deleted file mode 100644 index 09ea5422e..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-nebula/includes.properties +++ /dev/null @@ -1,2 +0,0 @@ -plugins/org.eclipse.nebula.widgets.grid*.jar= -plugins/org.eclipse.nebula.widgets.richtext*.jar= diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd b/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd deleted file mode 100644 index 9a7ae1d76..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/common.bnd +++ /dev/null @@ -1,2 +0,0 @@ -Bundle-License: EPL-1.0 -SLC-Origin-ManifestNotModified: true diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/excludes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/excludes.properties deleted file mode 100644 index 9385f85d3..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/excludes.properties +++ /dev/null @@ -1,3 +0,0 @@ -plugins/*ppc64le* -plugins/*x86_64* -plugins/*aarch64* diff --git a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties b/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties deleted file mode 100644 index 4724c1296..000000000 --- a/tp/swt/rcp/org.argeo.tp.swt/eclipse-rcp/includes.properties +++ /dev/null @@ -1,5 +0,0 @@ -plugins/org.eclipse.swt*.jar= -plugins/org.eclipse.core*.jar= -plugins/org.eclipse.jface_*.jar= -plugins/org.eclipse.jface.source_*.jar= -plugins/org.eclipse.e4.ui.css*.jar= diff --git a/tp/uris.properties b/tp/uris.properties deleted file mode 100644 index 0bfd64348..000000000 --- a/tp/uris.properties +++ /dev/null @@ -1,4 +0,0 @@ -eclipse-equinox=http://www.eclipse.org/downloads/equinox/drops/R-4.23-202203080310/equinox-SDK-4.23.zip -eclipse-rcp=http://www.eclipse.org/downloads/eclipse/downloads/drops4/R-4.23-202203080310/org.eclipse.rcp.source-4.23.zip -eclipse-rap=http://www.eclipse.org/downloads/rt/rap/3.20/e4/rap-e4-3.20.0-R-20220309-1623.zip -eclipse-nebula=http://www.eclipse.org/downloads/nebula/releases/2.6.0/repository-nebula-2.6.0.zip \ No newline at end of file -- 2.30.2