Remove old RPM
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 6 Nov 2011 21:24:42 +0000 (21:24 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 6 Nov 2011 21:24:42 +0000 (21:24 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4900 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dist/slc-server/.project [deleted file]
dist/slc-server/pom.xml [deleted file]
dist/slc-server/src/assembly/devel.xml [deleted file]
dist/slc-server/src/assembly/dist.xml [deleted file]
dist/slc-server/src/main/base/work/server/conf/config.ini [deleted file]
dist/slc-server/src/main/rpm/etc/init.d/slc-server [deleted file]
dist/slc-server/src/main/rpm/etc/slc-server/config.ini [deleted file]
dist/slc-server/src/main/rpm/etc/slc-server/log4j.properties [deleted file]
dist/slc-server/src/main/rpm/usr/bin/slc [deleted file]
dist/slc-server/src/main/scripts/postinstall [deleted file]
dist/slc-server/src/main/scripts/preremove [deleted file]

diff --git a/dist/slc-server/.project b/dist/slc-server/.project
deleted file mode 100644 (file)
index 1f3568b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.slc.sdk</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-       </buildSpec>
-       <natures>
-       </natures>
-</projectDescription>
diff --git a/dist/slc-server/pom.xml b/dist/slc-server/pom.xml
deleted file mode 100644 (file)
index efe9034..0000000
+++ /dev/null
@@ -1,354 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.slc</groupId>
-               <artifactId>dist</artifactId>
-               <version>0.13.1-SNAPSHOT</version>
-       </parent>
-       <groupId>org.argeo.slc.dist</groupId>
-       <artifactId>slc-server</artifactId>
-       <packaging>pom</packaging>
-       <name>SLC Server</name>
-       <properties>
-               <argeo.p2.cmd>/opt/equinox-p2-agent/eclipse</argeo.p2.cmd>
-               <argeo.p2.repository>/var/argeo/projects/SLC/www/sdk-dev</argeo.p2.repository>
-       </properties>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>copy-dependencies</id>
-                                               <phase>process-resources</phase>
-                                               <goals>
-                                                       <goal>copy-dependencies</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <includeTypes>jar</includeTypes>
-                                                       <outputDirectory>${project.build.directory}/lib</outputDirectory>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-<!--                   <plugin> -->
-<!--                           <groupId>org.argeo.maven.plugins</groupId> -->
-<!--                           <artifactId>maven-argeo-osgi-plugin</artifactId> -->
-<!--                           <version>${version.maven-argeo-osgi}</version> -->
-<!--                           <executions> -->
-<!--                                   <execution> -->
-<!--                                   <id>pde-source</id> -->
-<!--                                   <phase>process-resources</phase> -->
-<!--                                   <goals> -->
-<!--                                   <goal>pde-sources</goal> -->
-<!--                                   </goals> -->
-<!--                                   <configuration> -->
-<!--                                   <copyArtifacts>true</copyArtifacts> -->
-<!--                                   </configuration> -->
-<!--                                   </execution> -->
-<!--                                   <execution> -->
-<!--                                           <id>check-osgi</id> -->
-<!--                                           <phase>test</phase> -->
-<!--                                           <goals> -->
-<!--                                                   <goal>equinox</goal> -->
-<!--                                           </goals> -->
-<!--                                           <configuration> -->
-<!--                                                   <useDependencies>false</useDependencies> -->
-<!--                                                   <onlyCheck>true</onlyCheck> -->
-<!--                                                   <argsToAppend> -->
-<!--                                                           <arg>-clean</arg> -->
-<!--                                                   </argsToAppend> -->
-<!--                                                   <systemProperties> -->
-<!--                                                           <argeo.osgi.start>XXX</argeo.osgi.start> -->
-<!--                                                           <argeo.osgi.bundles> -->
-<!--                                                                   ${project.build.directory}/lib;in=*.jar, -->
-<!--                                                           </argeo.osgi.bundles> -->
-<!--                                                   </systemProperties> -->
-<!--                                           </configuration> -->
-<!--                                   </execution> -->
-<!--                           </executions> -->
-<!--                   </plugin> -->
-                       <plugin>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>filter-base</id>
-                                               <phase>process-resources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/target/base</outputDirectory>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>src/main/base</directory>
-                                                                       <filtering>true</filtering>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <!-- <plugin> -->
-                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                       <!-- <artifactId>maven-assembly-plugin</artifactId> -->
-                       <!-- <configuration> -->
-                       <!-- <descriptors> -->
-                       <!-- <descriptor>src/assembly/dist.xml</descriptor> -->
-                       <!-- <descriptor>src/assembly/devel.xml</descriptor> -->
-                       <!-- </descriptors> -->
-                       <!-- </configuration> -->
-                       <!-- <executions> -->
-                       <!-- <execution> -->
-                       <!-- <id>attach-assembly</id> -->
-                       <!-- <phase>deploy</phase> -->
-                       <!-- <goals> -->
-                       <!-- <goal>single</goal> -->
-                       <!-- </goals> -->
-                       <!-- </execution> -->
-                       <!-- </executions> -->
-                       <!-- </plugin> -->
-                       <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> 
-                               <version>1.1</version> <executions> <execution> <id>create-repository</id> 
-                               <phase>deploy</phase> <goals> <goal>exec</goal> </goals> </execution> </executions> 
-                               <configuration> <executable>${argeo.p2.cmd}</executable> optional <workingDirectory>/tmp</workingDirectory> 
-                               <arguments> <argument>-noSplash</argument> <argument>-application</argument> 
-                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument> 
-                               <argument>-metadataRepository</argument> <argument>file:${argeo.p2.repository}</argument> 
-                               <argument>-artifactRepository</argument> <argument>file:${argeo.p2.repository}</argument> 
-                               <argument>-bundles</argument> <argument>${project.build.directory}</argument> 
-                               <argument>-features</argument> <argument>${project.build.directory}</argument> 
-                               <argument>-compress</argument> <argument>-publishArtifacts</argument> </arguments> 
-                               </configuration> </plugin> -->
-                       <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> 
-                               <executions> <execution> <id>p2-copyToRepo</id> <phase>deploy</phase> <goals> 
-                               <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${project.build.directory}/repobase" 
-                               /> <copy todir="${project.build.directory}/repobase"> <fileset dir="${project.build.directory}/lib"> 
-                               <include name="*.jar" /> </fileset> <fileset dir="${project.build.directory}/libsrc"> 
-                               <include name="*.jar" /> </fileset> </copy> <exec executable="${argeo.p2.cmd}"> 
-                               <arg value="-noSplash" /> <arg value="-application" /> <arg value="org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" 
-                               /> <arg value="-metadataRepository" /> <arg value="file:${argeo.p2.repository}" 
-                               /> <arg value="-artifactRepository" /> <arg value="file:${argeo.p2.repository}" 
-                               /> <arg value="-bundles" /> <arg value="${project.build.directory}/repobase" 
-                               /> <arg value="-features" /> <arg value="${project.build.directory}/repobase" 
-                               /> <arg value="-compress" /> <arg value="-publishArtifacts" /> </exec> </tasks> 
-                               </configuration> </execution> </executions> </plugin> -->
-               </plugins>
-       </build>
-       <dependencies>
-               <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.sdk.rap</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>org.eclipse.osgi</groupId>
-                                       <artifactId>org.eclipse.osgi</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.argeo.commons.osgi</groupId>
-                                       <artifactId>org.argeo.osgi.boot</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.tomcat</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.ads</artifactId>
-                       <type>pom</type>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-       </dependencies>
-       <profiles>
-               <profile>
-                       <id>rpmbuild</id>
-                       <build>
-                               <plugins>
-                                       <plugin>
-                                               <groupId>org.codehaus.mojo</groupId>
-                                               <artifactId>rpm-maven-plugin</artifactId>
-                                               <version>2.1-alpha-1</version>
-                                               <extensions>true</extensions>
-                                               <configuration>
-                                                       <version>${project.version}</version>
-                                                       <release>r${buildNumber}.argeo</release>
-                                                       <copyright>2011 Argeo</copyright>
-                                                       <distribution>argeo</distribution>
-                                                       <packager>mbaudier@argeo.org</packager>
-                                                       <group>Applications/System</group>
-                                                       <prefix>/usr</prefix>
-                                               </configuration>
-                                               <executions>
-                                                       <execution>
-                                                               <id>rpm-sdk</id>
-                                                               <phase>package</phase>
-                                                               <goals>
-                                                                       <goal>rpm</goal>
-                                                               </goals>
-                                                               <configuration>
-                                                                       <mappings>
-                                                                               <mapping>
-                                                                                       <directory>/usr/bin</directory>
-                                                                                       <username>root</username>
-                                                                                       <groupname>root</groupname>
-                                                                                       <filemode>755</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
-                                                                                       <sources>
-                                                                                               <source>
-                                                                                                       <location>src/main/rpm/usr/bin</location>
-                                                                                                       <includes>
-                                                                                                               <include>*</include>
-                                                                                                       </includes>
-                                                                                               </source>
-                                                                                       </sources>
-                                                                               </mapping>
-                                                                               <mapping>
-                                                                                       <directory>/etc/init.d</directory>
-                                                                                       <username>root</username>
-                                                                                       <groupname>root</groupname>
-                                                                                       <filemode>755</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
-                                                                                       <sources>
-                                                                                               <source>
-                                                                                                       <location>src/main/rpm/etc/init.d</location>
-                                                                                                       <includes>
-                                                                                                               <include>*</include>
-                                                                                                       </includes>
-                                                                                               </source>
-                                                                                       </sources>
-                                                                               </mapping>
-                                                                               <mapping>
-                                                                                       <directory>/etc/slc-server</directory>
-                                                                                       <username>root</username>
-                                                                                       <groupname>root</groupname>
-                                                                                       <filemode>644</filemode>
-                                                                                       <configuration>true</configuration>
-                                                                                       <sources>
-                                                                                               <source>
-                                                                                                       <location>src/main/rpm/etc/slc-server</location>
-                                                                                                       <includes>
-                                                                                                               <include>*</include>
-                                                                                                       </includes>
-                                                                                               </source>
-                                                                                       </sources>
-                                                                               </mapping>
-                                                                               <mapping>
-                                                                                       <directory>/usr/share/slc-server/lib</directory>
-                                                                                       <username>root</username>
-                                                                                       <groupname>root</groupname>
-                                                                                       <filemode>644</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
-                                                                                       <sources>
-                                                                                               <source>
-                                                                                                       <location>target/lib</location>
-                                                                                                       <includes>
-                                                                                                               <include>*.jar</include>
-                                                                                                       </includes>
-                                                                                               </source>
-                                                                                       </sources>
-                                                                               </mapping>
-                                                                       </mappings>
-                                                                       <postinstallScriptlet>
-                                                                               <scriptFile>src/main/scripts/postinstall</scriptFile>
-                                                                       </postinstallScriptlet>
-                                                                       <preremoveScriptlet>
-                                                                               <scriptFile>src/main/scripts/preremove</scriptFile>
-                                                                       </preremoveScriptlet>
-                                                                       <requires>
-                                                                               <require>osgi-boot</require>
-                                                                       </requires>
-                                                               </configuration>
-                                                       </execution>
-                                                       <!-- <execution> -->
-                                                       <!-- <id>rpm-devel</id> -->
-                                                       <!-- <phase>deploy</phase> -->
-                                                       <!-- <goals> -->
-                                                       <!-- <goal>rpm</goal> -->
-                                                       <!-- </goals> -->
-                                                       <!-- <configuration> -->
-                                                       <!-- <name>${project.artifactId}-pdesources</name> -->
-                                                       <!-- <mappings> -->
-                                                       <!-- <mapping> -->
-                                                       <!-- <directory>/usr/src/osgi/pde</directory> -->
-                                                       <!-- <username>root</username> -->
-                                                       <!-- <groupname>root</groupname> -->
-                                                       <!-- <filemode>644</filemode> -->
-                                                       <!-- <directoryIncluded>false</directoryIncluded> -->
-                                                       <!-- <sources> -->
-                                                       <!-- <source> -->
-                                                       <!-- <location>target/libsrc</location> -->
-                                                       <!-- <includes> -->
-                                                       <!-- <include>*.jar</include> -->
-                                                       <!-- </includes> -->
-                                                       <!-- </source> -->
-                                                       <!-- </sources> -->
-                                                       <!-- </mapping> -->
-                                                       <!-- </mappings> -->
-                                                       <!-- <requires> -->
-                                                       <!-- <require>org.argeo.slc.sdk</require> -->
-                                                       <!-- </requires> -->
-                                                       <!-- </configuration> -->
-                                                       <!-- </execution> -->
-                                                       <!-- <execution> -->
-                                                       <!-- <id>rpm-demo</id> -->
-                                                       <!-- <phase>deploy</phase> -->
-                                                       <!-- <goals> -->
-                                                       <!-- <goal>rpm</goal> -->
-                                                       <!-- </goals> -->
-                                                       <!-- <configuration> -->
-                                                       <!-- <name>${project.artifactId}-demo</name> -->
-                                                       <!-- <mappings> -->
-                                                       <!-- <mapping> -->
-                                                       <!-- <directory>/var/lib/slc-agent/modules</directory> -->
-                                                       <!-- <username>root</username> -->
-                                                       <!-- <groupname>root</groupname> -->
-                                                       <!-- <filemode>644</filemode> -->
-                                                       <!-- <directoryIncluded>false</directoryIncluded> -->
-                                                       <!-- <sources> -->
-                                                       <!-- <source> -->
-                                                       <!-- <location>../../demo/site</location> -->
-                                                       <!-- <includes> -->
-                                                       <!-- <include>org.argeo.*/**</include> -->
-                                                       <!-- </includes> -->
-                                                       <!-- <excludes> -->
-                                                       <!-- <exclude>pom.xml</exclude> -->
-                                                       <!-- <exclude>target</exclude> -->
-                                                       <!-- <exclude>.svn</exclude> -->
-                                                       <!-- <exclude>**/.svn/**</exclude> -->
-                                                       <!-- </excludes> -->
-                                                       <!-- </source> -->
-                                                       <!-- </sources> -->
-                                                       <!-- </mapping> -->
-                                                       <!-- </mappings> -->
-                                                       <!-- <requires> -->
-                                                       <!-- <require>org.argeo.slc.sdk</require> -->
-                                                       <!-- <require> org.argeo.slc.dep.sdk.rcp</require> -->
-                                                       <!-- </requires> -->
-                                                       <!-- </configuration> -->
-                                                       <!-- </execution> -->
-                                               </executions>
-                                       </plugin>
-                                       <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> 
-                                               <executions> <execution> <id>rpm-copyToRepo</id> <phase>deploy</phase> <goals> 
-                                               <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${distribution.root}/i386" 
-                                               /> <mkdir dir="${distribution.root}/x86_64" /> <delete verbose="true"> <fileset 
-                                               dir="${distribution.root}" includes="*/org.argeo.slc.sdk-*.rpm" /> </delete> 
-                                               <copy todir="${distribution.root}/x86_64" verbose="true"> <fileset dir="target"> 
-                                               <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper /> </copy> 
-                                               <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/x86_64" 
-                                               /> </exec> <copy todir="${distribution.root}/i386" verbose="true"> <fileset 
-                                               dir="target"> <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper 
-                                               /> </copy> <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/i386" 
-                                               /> </exec> </tasks> </configuration> </execution> </executions> </plugin> -->
-                               </plugins>
-                       </build>
-
-               </profile>
-       </profiles>
-</project>
\ No newline at end of file
diff --git a/dist/slc-server/src/assembly/devel.xml b/dist/slc-server/src/assembly/devel.xml
deleted file mode 100644 (file)
index 1eec8ca..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
-
-    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-            http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>devel</id>
-       <baseDirectory>slc</baseDirectory>
-       <formats>
-               <format>zip</format>
-       </formats>
-       <fileSets>
-               <fileSet>
-                       <directory>target/libsrc</directory>
-                       <outputDirectory>libsrc</outputDirectory>
-                       <includes>
-                               <include>*</include>
-                       </includes>
-               </fileSet>
-       </fileSets>
-</assembly>
\ No newline at end of file
diff --git a/dist/slc-server/src/assembly/dist.xml b/dist/slc-server/src/assembly/dist.xml
deleted file mode 100644 (file)
index f9ffc4c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!--
-
-    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-            http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>dist</id>
-       <baseDirectory>slc</baseDirectory>
-       <formats>
-               <format>zip</format>
-       </formats>
-       <fileSets>
-               <fileSet>
-                       <directory>target/base</directory>
-                       <outputDirectory></outputDirectory>
-                       <includes>
-                               <include>**</include>
-                       </includes>
-               </fileSet>
-       </fileSets>
-       <dependencySets>
-               <dependencySet>
-                       <unpack>false</unpack>
-                       <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
-                       </outputFileNameMapping>
-                       <outputDirectory>lib</outputDirectory>
-                       <includes>
-                               <include>*:jar</include>
-                       </includes>
-               </dependencySet>
-               <dependencySet>
-                       <unpack>true</unpack>
-                       <includes>
-                               <include>org.argeo.slc.runtime:org.argeo.slc.launcher:tar.gz:base
-                               </include>
-                       </includes>
-               </dependencySet>
-       </dependencySets>
-</assembly>
\ No newline at end of file
diff --git a/dist/slc-server/src/main/base/work/server/conf/config.ini b/dist/slc-server/src/main/base/work/server/conf/config.ini
deleted file mode 100644 (file)
index 30d4ab2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-osgi.bundles=org.argeo.osgi.boot-${version.argeo-commons}.jar@start
-argeo.osgi.bundles=${osgi.install.area};in=*.jar
-argeo.osgi.start=org.springframework.osgi.extender,\
-       org.argeo.server.ads.server,\
-       org.argeo.slc.server.hsqldb,\
-       org.argeo.slc.server.main,\
-       org.argeo.slc.ria
diff --git a/dist/slc-server/src/main/rpm/etc/init.d/slc-server b/dist/slc-server/src/main/rpm/etc/init.d/slc-server
deleted file mode 100644 (file)
index 3f3257a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-#
-# slc-server   SLC Server
-#
-# chkconfig: 3 92 92
-# description: SLC Server
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-
-start() {
-       /usr/sbin/osgi-service slc-server start
-       action $"Start SLC server" /bin/true
-       return $RETVAL
-}
-
-stop() {
-       /usr/sbin/osgi-service slc-server stop
-       action $"Stop SLC server" /bin/true
-       return $RETVAL
-}
-
-# See how we were called.
-case "$1" in
-  start)
-        start
-        ;;
-  stop)
-        stop
-        ;;
-  restart)
-        stop
-        start
-        RETVAL=$?
-        ;;
-  status)
-               /usr/sbin/osgi-service slc-server status
-        ;;
-  *)
-        echo $"Usage: $0 {start|stop|restart|status}"
-        exit 1
-esac
-
-exit $RETVAL
diff --git a/dist/slc-server/src/main/rpm/etc/slc-server/config.ini b/dist/slc-server/src/main/rpm/etc/slc-server/config.ini
deleted file mode 100644 (file)
index beb01d0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-argeo.osgi.start=\
-org.springframework.osgi.extender,\
-org.argeo.node.repofactory.jackrabbit,\
-org.argeo.node.repo.jackrabbit,\
-org.argeo.security.dao.ldap,\
-org.argeo.slc.node.jackrabbit,\
-org.argeo.eclipse.ui,\
-org.eclipse.core.runtime,\
-org.eclipse.equinox.common,\
-org.eclipse.equinox.http.registry,\
-org.eclipse.equinox.launcher,\
-org.argeo.dep.osgi.catalina.start,\
-org.argeo.server.rap.webapp,\
-org.argeo.jackrabbit.webapp,\
-org.argeo.security.equinox,\
-org.argeo.security.ui,\
-org.argeo.security.ui.rap,\
-org.argeo.server.ads.server,\
-org.argeo.slc.server.repo,\
-org.argeo.slc.server.repo.webapp,\
-org.argeo.slc.client.ui,\
-org.argeo.slc.client.rap,\
-org.argeo.slc.agent,\
-org.argeo.slc.agent.jcr,\
-org.springframework.osgi.web.extender,\
-
-#slc.executionModules=org.argeo.infra.slc.rpmfactory,\
-#org.argeo.elgis.rpmfactory,\
-
-org.argeo.security.ui.initialPerspective=org.argeo.slc.client.ui.dist.distributionPerspective
-
-# JCR
-#argeo.node.repo.home=/var/lib/slc-server/data/node/repo
-#argeo.node.repo.dburl=jdbc:h2:/var/lib/slc-server/data/node/h2/repo
-
-# LDAP (Apache DS)
-#argeo.ads.init.ldif=osgibundle:init-argeo.ldif
-
-# OSGi MANAGEMENT
-osgi.console=3030
-
-eclipse.ignoreApp=true
-osgi.noShutdown=true
-
-org.osgi.framework.bootdelegation=com.sun.jndi.ldap
-       
\ No newline at end of file
diff --git a/dist/slc-server/src/main/rpm/etc/slc-server/log4j.properties b/dist/slc-server/src/main/rpm/etc/slc-server/log4j.properties
deleted file mode 100644 (file)
index adaaa0c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-log4j.rootLogger=WARN, file
-#log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo=INFO
-#log4j.logger.org.springframework=DEBUG
-#log4j.logger.org.hibernate=DEBUG
-#log4j.logger.org.apache.activemq=DEBUG
-
-log4j.logger.org.springframework.web.servlet.PageNotFound=ERROR
-log4j.logger.org.apache.directory.server.core.schema.SchemaService=ERROR
-log4j.logger.org.springframework.security.SpringSecurityMessageSource=ERROR
-
-log4j.logger.org.apache.directory.server.core.partition=ERROR
-log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR
-
-## Appenders
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} [%15.15t] %m - %c%n - %t
-
-log4j.appender.file=org.apache.log4j.RollingFileAppender
-log4j.appender.file.File=/var/log/slc-server.log
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern= %-5p %d{ISO8601} [%15.15t] %m - %c%n
diff --git a/dist/slc-server/src/main/rpm/usr/bin/slc b/dist/slc-server/src/main/rpm/usr/bin/slc
deleted file mode 100644 (file)
index 5f72472..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ -d ./lib ];then
-       OSGI_INSTALL_AREA=`pwd`/lib
-else
-       OSGI_INSTALL_AREA=/usr/share/osgi
-fi
-
-
-java $JAVA_OPTS -jar $OSGI_INSTALL_AREA/org.eclipse.osgi.jar \
-       -clean \
-       -configuration conf \
-       -data data \
-       "$@"
diff --git a/dist/slc-server/src/main/scripts/postinstall b/dist/slc-server/src/main/scripts/postinstall
deleted file mode 100644 (file)
index 543d6f9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-if [ $1 = "1" ];then
-       APP=%{name}
-       mkdir -p /var/lib/$APP/{conf,data}
-       /sbin/chkconfig --add $APP
-fi
\ No newline at end of file
diff --git a/dist/slc-server/src/main/scripts/preremove b/dist/slc-server/src/main/scripts/preremove
deleted file mode 100644 (file)
index 7b3932e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ $1 = "0" ];then
-       /sbin/chkconfig --del slc-server
-fi