Remove old build files
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 26 Feb 2022 09:49:02 +0000 (10:49 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 26 Feb 2022 09:49:02 +0000 (10:49 +0100)
sdk/build.sh [deleted file]
sdk/configure.sh [deleted file]
sdk/dnf-tp.sh [deleted file]
sdk/fedora-tp-rcp.target [deleted file]

diff --git a/sdk/build.sh b/sdk/build.sh
deleted file mode 100644 (file)
index 4cfd55d..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# TODO source files and allow to override
-A2_CATEGORY=org.argeo.commons
-
-# Works on Fedora 34
-JVM=/usr/lib/jvm/jre-11/bin/java
-ECJ_JAR=/usr/share/java/ecj/ecj.jar
-OSGI_JAR=/usr/share/java/eclipse/osgi.jar
-
-SDK_DIR="$(cd "$(dirname "$0")"; pwd -P)"
-echo SDK: $SDK_DIR
-BUNDLES_BASEDIR="$(cd "$SDK_DIR/.."; pwd -P)"
-A2_UPSTREAM="$(cd "$SDK_DIR/a2/upstream"; pwd -P)"
-A2_BUILD="$(cd "$SDK_DIR/a2/build"; pwd -P)"
-
-echo PREPARING
-SOURCE_PATH=
-for bundle in $BUNDLES_BASEDIR/*.*.*/ ; do
-echo $bundle
-# clean
-rm -rf $bundle/generated/*
-rm -rf $bundle/bin/*
-# copy resources
-rsync -r --exclude "*.java" $bundle/src/ $bundle/bin
-SOURCE_PATH="$SOURCE_PATH $bundle/src[-d $bundle/bin]"
-done
-
-echo COMPILING
-$JVM -jar $ECJ_JAR @$SDK_DIR/ecj.args -time -cp $OSGI_JAR:"$(printf %s: $A2_UPSTREAM/*/*.jar)" $SOURCE_PATH 
-
-echo PACKAGING
-bnd -b $SDK_DIR build
-
-mkdir -p $A2_BUILD/$A2_CATEGORY
-mv $BUNDLES_BASEDIR/*/generated/*.jar $A2_BUILD/$A2_CATEGORY
-bnd index -d $A2_BUILD/ */*.jar
-
-echo DONE
diff --git a/sdk/configure.sh b/sdk/configure.sh
deleted file mode 100644 (file)
index ed8576d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-SDK_DIR="$(cd "$(dirname "$0")"; pwd -P)"
-A2_UPSTREAM="$(cd "$SDK_DIR/a2/upstream"; pwd -P)"
-
-
-mvn -f $SDK_DIR clean assembly:single -Pa2-provided
-rsync -rv $SDK_DIR/target/sdk-*-a2-provided/ $A2_UPSTREAM
-bnd index -d $A2_UPSTREAM/ */*.jar
-
diff --git a/sdk/dnf-tp.sh b/sdk/dnf-tp.sh
deleted file mode 100644 (file)
index 1005f8c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-sudo dnf install osgi-core osgi-compendium ecj aqute-bnd eclipse-equinox-osgi apache-commons-io apache-commons-cli apache-commons-exec bouncycastle bouncycastle-pkix tomcat-servlet-4.0-api jakarta-commons-httpclient eclipse-platform slf4j postgresql-jdbc
\ No newline at end of file
diff --git a/sdk/fedora-tp-rcp.target b/sdk/fedora-tp-rcp.target
deleted file mode 100644 (file)
index 08540f7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.8"?>
-<target name="fedora-tp-rcp">
-       <locations>
-               <location path="/usr/share/java/eclipse" type="Directory"/>
-               <location path="/usr/share/java/ecj" type="Directory"/>
-               <location path="/usr/share/java/" type="Directory"/>
-               <location path="/usr/share/java/slf4j" type="Directory"/>
-               <location path="/usr/share/java/jetty" type="Directory"/>
-       </locations>
-       <includeBundles>
-               <plugin id="bcprov"/>
-               <plugin id="bcpkix"/>
-               <plugin id="org.apache.commons.cli" version="1.5.0"/>
-               <plugin id="org.apache.commons.httpclient" version="3.1.0.v20080605-1935"/>
-               <plugin id="org.apache.commons.io" version="2.8.0"/>
-               <plugin id="org.eclipse.equinox.http.jetty"/>
-               <plugin id="org.eclipse.osgi"/>
-               <plugin id="org.eclipse.osgi.services"/>
-               <plugin id="slf4j.api" version="1.7.30"/>
-               <plugin id="org.eclipse.osgi.util"/>
-               <plugin id="jakarta.servlet-api"/>
-       </includeBundles>
-</target>
\ No newline at end of file