felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r383635 - in /incubator/felix/trunk/org.apache.felix.main: ./ pom.xml src/main/resources/ src/main/resources/config.properties
Date Mon, 06 Mar 2006 19:42:56 GMT
Author: akarasulu
Date: Mon Mar  6 11:42:54 2006
New Revision: 383635

URL: http://svn.apache.org/viewcvs?rev=383635&view=rev
Log:
getting main to explode out a directory mimicing the felix installer generated configuration
for rapid testing

Added:
    incubator/felix/trunk/org.apache.felix.main/src/main/resources/
    incubator/felix/trunk/org.apache.felix.main/src/main/resources/config.properties
Modified:
    incubator/felix/trunk/org.apache.felix.main/   (props changed)
    incubator/felix/trunk/org.apache.felix.main/pom.xml

Propchange: incubator/felix/trunk/org.apache.felix.main/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Mar  6 11:42:54 2006
@@ -1,4 +1,6 @@
 classes
+conf
+bin
 target
 *.log
 *.ipr

Modified: incubator/felix/trunk/org.apache.felix.main/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.main/pom.xml?rev=383635&r1=383634&r2=383635&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.main/pom.xml (original)
+++ incubator/felix/trunk/org.apache.felix.main/pom.xml Mon Mar  6 11:42:54 2006
@@ -1,5 +1,5 @@
 <project>
-  <parent>
+ <parent>
     <groupId>org.apache.felix</groupId>
     <artifactId>felix</artifactId>
     <version>0.8-SNAPSHOT</version>
@@ -20,6 +20,9 @@
       <version>${pom.version}</version>
     </dependency>
   </dependencies>
+  <properties>
+    <property name="install.home" value="${basedir.absolutePath}"/>
+  </properties>
   <build>
     <plugins>
       <plugin>
@@ -34,6 +37,47 @@
           </archive>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>install</phase>
+            <configuration>
+              <tasks>
+                <delete dir="${basedir}/bin"/>
+                <mkdir dir="${basedir}/bin"/>
+                <delete dir="${basedir}/lib"/>
+                <mkdir dir="${basedir}/lib"/>
+                <delete dir="${basedir}/conf"/>
+                <mkdir dir="${basedir}/conf"/>
+                <delete dir="${basedir}/bundle"/>
+                <mkdir dir="${basedir}/bundle"/>
+<copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar"
+      tofile="${basedir}/bin/felix.jar"/>
+<copy file="${basedir}/target/classes/config.properties"
+      todir="${basedir}/conf"/>
+<copy file="${basedir}/../org.apache.felix.framework/target/org.apache.felix.framework-${pom.version}.jar"
+      todir="${basedir}/lib"/>
+<copy file="${basedir}/../org.osgi/target/org.osgi-${pom.version}.jar"
+      todir="${basedir}/lib"/>
+<copy file="${basedir}/../org.apache.felix.shell/target/org.apache.felix.shell-${pom.version}.jar"
+      todir="${basedir}/bundle"/>
+<copy file="${basedir}/../org.apache.felix.shell.tui/target/org.apache.felix.shell.tui-${pom.version}.jar"
+      todir="${basedir}/bundle"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
   </build>
 </project>

Added: incubator/felix/trunk/org.apache.felix.main/src/main/resources/config.properties
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.main/src/main/resources/config.properties?rev=383635&view=auto
==============================================================================
--- incubator/felix/trunk/org.apache.felix.main/src/main/resources/config.properties (added)
+++ incubator/felix/trunk/org.apache.felix.main/src/main/resources/config.properties Mon Mar
 6 11:42:54 2006
@@ -0,0 +1,26 @@
+#
+# Framework config properties.
+#
+org.osgi.framework.system.packages=javax.swing; \
+ javax.swing.plaf; \
+ javax.swing.event; \
+ javax.swing.table; \
+ javax.swing.border; \
+ javax.swing.tree; \
+ javax.swing.text; \
+ version=1.4
+#felix.cache.profile=foo
+felix.auto.start.1= \
+ file:bundle/org.apache.felix.shell-${pom.version}.jar \
+ file:bundle/org.apache.felix.shell.tui-${pom.version}.jar 
+felix.startlevel.framework=1
+felix.startlevel.bundle=1
+#framework.service.urlhandlers=false
+
+#
+# Bundle config properties.
+#
+org.osgi.service.http.port=8080
+osgi.shell.telnet=on
+#osgi.repository.url=file:/home/rickhall/projects/apache/repository.xml
+#osgi.repository.url=file:/home/rickhall/projects/apache/repository.xml http://www.knopflerfish.org/repo/repository.xml



Mime
View raw message