You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by do...@apache.org on 2007/05/10 15:23:14 UTC
svn commit: r536862 - in /felix/sandbox/donsez/shell.scriptcmd: ./ doc/
src/main/java/org/apache/felix/shell/context/
src/main/java/org/apache/felix/shell/scriptcmd/
src/main/java/org/apache/felix/shell/scriptcmd/util/
Author: donsez
Date: Thu May 10 06:23:12 2007
New Revision: 536862
URL: http://svn.apache.org/viewvc?view=rev&rev=536862
Log:
modify pom.xml to have right packages versions
update the documentation
update the license in files headers
Modified:
felix/sandbox/donsez/shell.scriptcmd/doc/readme.html
felix/sandbox/donsez/shell.scriptcmd/pom.xml
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/context/ShellContext.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/Activator.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/BundleContextPropertiesWrapper.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/CommentCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/EchoCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfnotCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/GcCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesDictionary.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/RunCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/SetPropertyCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/ShellContextImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitForCmdImpl.java
felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/util/SubstituteUtility.java
Modified: felix/sandbox/donsez/shell.scriptcmd/doc/readme.html
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/doc/readme.html?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/doc/readme.html (original)
+++ felix/sandbox/donsez/shell.scriptcmd/doc/readme.html Thu May 10 06:23:12 2007
@@ -10,14 +10,14 @@
<p>
<b>Description</b><br>
-provides commands that run a Felix shell script with the ShellService.
+provides commands that run a Felix shell script with the ShellService. provides also extra utility commands for scripting.
<br>For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.<br>
</p>
<p>
<b>Contributors</b><br>
<ul>
-<li>Author: Felix Team</a></li>
+<li>Author: Felix Project Team</a></li>
</ul>
</p>
@@ -65,14 +65,48 @@
failif [help|filter] - fails if filter matches system properties, bundles properties or headers
failifnot [help|filter]- fails if filter does not match system properties, bundles properties or headers
</pre>
+
+Help for <code>run</code>
+<pre>
+run[options] <url>
+-help - Show this help message.
+-e - echo commands.
+-p - prompt each command.
+-s - stop on error.
+-nonvar - disable variables substitution.
+</pre>
+
+
+Help for <code>failif</code> and <code>failifnot</code>
+<pre>
+failif help [bundle|filter]
+failif filter <ldapfilter on properties>
+failifnot help [bundle|filter]
+failifnot filter <ldapfilter on properties>
+</pre>
+
+Help for <code>waitfor</code>
+<pre>
+waitfor help [bundle|package|class|service|socket|url]
+waitfor bundle [-timeout <second>] <url> <state>
+waitfor package [-timeout <second>] <packagename>[;<version>]
+waitfor class [-timeout <second>] <classname>
+waitfor service [-timeout <second>] <ldap-filter>
+waitfor socket [-timeout <second>] <host>:<port> <polling-time>
+waitfor url [-timeout <second>] <url> <polling-time>
+</pre>
</p>
+
+
+
+
<p id="download">
<b>Download</b><br>
<ul>
-<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/scriptcmd/scriptcmd.jar'>Bundle binaries</a></li>
-<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/scriptcmd/scriptcmd-src.jar'>Bundle sources</a></li>
-<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/scriptcmd/readme.html'>The latest version of this documentation</a></li>
+<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/shell.scriptcmd/shell.scriptcmd.jar'>Bundle binaries</a></li>
+<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/shell.scriptcmd/shell.scriptcmd-src.jar'>Bundle sources</a></li>
+<li><a href='http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi/shell.scriptcmd/readme.html'>The latest version of this documentation</a></li>
</ul>
</p>
@@ -80,7 +114,7 @@
<p id="build">
<b>Build</b><br>
<ol>
-<li>build with mvn</li>
+<li>build with "mvn clean install"</li>
</ol>
</p>
@@ -132,7 +166,7 @@
<p id="todo">
<b>TODO (contributions are welcome)</b><br>
<ul>
-<li>TODO: run : use the IO Connector Service (chapter 13) or the URL Handlers Service (chapter 8) to download scripts !</li>
+<li>TODO: run : use the IO Connector Service (R3 chapter 13) or the URL Handlers Service (chapter 8) to download scripts !</li>
<li>TODO: waitfor options : bundle, package, socket, ioconnector, ...</li>
<li>TODO: set : set environment variables for substitution (ie ${var}) in script command lines</li>
<li>TODO: failif filter </li>
Modified: felix/sandbox/donsez/shell.scriptcmd/pom.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/pom.xml?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/pom.xml (original)
+++ felix/sandbox/donsez/shell.scriptcmd/pom.xml Thu May 10 06:23:12 2007
@@ -17,16 +17,24 @@
under the License.
-->
<project>
+
+ <properties>
+ <repositoryLocation>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/</repositoryLocation>
+ <description>provides a shell command to launch a sequence of command lines, and extra commands.</description>
+ </properties>
+
<parent>
<groupId>org.apache.felix</groupId>
<artifactId>felix</artifactId>
<version>0.9.0-incubator-SNAPSHOT</version>
</parent>
+
<modelVersion>4.0.0</modelVersion>
<packaging>bundle</packaging>
<name>Apache Felix Script Command</name>
<artifactId>org.apache.felix.shell.scriptcmd</artifactId>
- <description>a shell command to launch a sequence of command lines.</description>
+ <description>${description}</description>
+
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
@@ -36,7 +44,7 @@
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.osgi.compendium</artifactId>
- <version>${pom.version}</version>
+ <version>${pom.version}</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
@@ -44,6 +52,7 @@
<version>${pom.version}</version>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
@@ -51,19 +60,42 @@
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <instructions> <!-- docs in http://cwiki.apache.org/FELIX/bundle-plugin-for-maven-bnd.html and http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html -->
- <Export-Service>org.apache.felix.shell.Command,org.apache.felix.shell.context.ShellContext</Export-Service>
- <Import-Service>org.apache.felix.shell.ShellService</Import-Service>
- <Private-Package>org.apache.felix.shell.*</Private-Package>
- <Export-Package>org.apache.felix.shell.context</Export-Package>
- <Import-Package>*</Import-Package>
- <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
- <Bundle-DocUrl>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/</Bundle-DocUrl>
- <Bundle-Url>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</Bundle-Url>
- <Bundle-Source>http://www-adele.imag.fr/users/Didier.Donsez/dev/felix/sandbox/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</Bundle-Source>
+ <instructions>
+
+ <!--
+ docs in http://cwiki.apache.org/FELIX/bundle-plugin-for-maven-bnd.html
+ and http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html
+ -->
+
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
<Bundle-Description>a shell command to launch a sequence of command lines.</Bundle-Description>
<Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+
+ <Import-Package>
+ org.osgi.framework; version="1.3",
+ org.osgi.util.tracker,
+ org.apache.felix.shell
+ </Import-Package>
+ <Private-Package>
+ org.apache.felix.shell.scriptcmd,
+ org.apache.felix.shell.scriptcmd.util
+ </Private-Package>
+ <Export-Package>
+ org.apache.felix.shell.context
+ </Export-Package>
+
+ <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
+
+ <Bundle-DocURL>${repositoryLocation}/${pom.artifactId}/</Bundle-DocURL>
+ <Bundle-Url>${repositoryLocation}/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</Bundle-Url>
+ <Bundle-Source>${repositoryLocation}/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</Bundle-Source>
+
+ <Export-Service>
+ org.apache.felix.shell.Command,
+ org.apache.felix.shell.context.ShellContext
+ </Export-Service>
+ <Import-Service>org.apache.felix.shell.ShellService</Import-Service>
+
</instructions>
</configuration>
</plugin>
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/context/ShellContext.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/context/ShellContext.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/context/ShellContext.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/context/ShellContext.java Thu May 10 06:23:12 2007
@@ -1,23 +1,26 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.context;
/**
* provides a ShellContext to set and get environment variables
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public interface ShellContext {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/Activator.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/Activator.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/Activator.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/Activator.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -28,15 +30,18 @@
import org.apache.felix.shell.context.ShellContext;
/**
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * This class activates all the commands
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class Activator implements BundleActivator {
-
+
// TODO convert all commands in BundleActivator
-
+
private transient BundleContext bundleContext = null;
+
private transient Stack m_commandServiceRegistration = null;
+
private transient Stack m_commandBundleActivator = null;
public void start(BundleContext context) throws Exception {
@@ -44,105 +49,80 @@
m_commandServiceRegistration = new Stack();
m_commandBundleActivator = new Stack();
- Dictionary properties=null; //new Hashtable();
-/* properties.put("categories",
- new String[]{ "script" }
- );
-*/
-// properties.put("categories",
-// "script"
-// );
-
-
- ShellContext shellContext=new ShellContextImpl(bundleContext);
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- ShellContext.class.getName(),
- shellContext,
- properties));
+ Dictionary properties = null; // new Hashtable();
+ /*
+ * properties.put("categories", new String[]{ "script" } );
+ */
+
+ // properties.put("categories",
+ // "script"
+ // );
+
+ ShellContext shellContext = new ShellContextImpl(bundleContext);
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ ShellContext.class.getName(), shellContext, properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new WaitCmdImpl(bundleContext),
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new WaitCmdImpl(bundleContext),
properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new WaitForCmdImpl(bundleContext),
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new WaitForCmdImpl(bundleContext),
properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new EchoCmdImpl(bundleContext),
- properties));
-
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new PropertiesCmdImpl(bundleContext),
- properties));
-
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new SetPropertyCmdImpl(bundleContext),
- properties));
-
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new FailIfCmdImpl(bundleContext),
- properties));
-
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new FailIfnotCmdImpl(bundleContext),
- properties));
-
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new CommentCmdImpl(bundleContext,"#"),
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new EchoCmdImpl(bundleContext),
properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new CommentCmdImpl(bundleContext,"//"),
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new PropertiesCmdImpl(bundleContext),
properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new SetPropertyCmdImpl(bundleContext),
+ properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new FailIfCmdImpl(bundleContext),
+ properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new FailIfnotCmdImpl(bundleContext),
+ properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(),
+ new CommentCmdImpl(bundleContext, "#"), properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
Command.class.getName(),
- new CommentCmdImpl(bundleContext,"rem"),
+ new CommentCmdImpl(bundleContext, "//"), properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new CommentCmdImpl(bundleContext,
+ "rem"), properties));
+
+ m_commandServiceRegistration.push(bundleContext.registerService(
+ Command.class.getName(), new GcCmdImpl(bundleContext),
properties));
- m_commandServiceRegistration.push(
- bundleContext.registerService(
- Command.class.getName(),
- new GcCmdImpl(bundleContext),
- properties));
-
-
BundleActivator ba;
- ba=new RunCmdImpl(shellContext);
+ ba = new RunCmdImpl(shellContext);
ba.start(bundleContext);
m_commandBundleActivator.push(ba);
}
public void stop(BundleContext context) throws Exception {
- while(m_commandBundleActivator.isEmpty()){
- BundleActivator ba=(BundleActivator)m_commandBundleActivator.pop();
- ba.stop(bundleContext);
+ while (m_commandBundleActivator.isEmpty()) {
+ BundleActivator ba = (BundleActivator) m_commandBundleActivator
+ .pop();
+ ba.stop(bundleContext);
}
- while(m_commandServiceRegistration.isEmpty()){
- ServiceRegistration sr=(ServiceRegistration)m_commandServiceRegistration.pop();
- sr.unregister();
+ while (m_commandServiceRegistration.isEmpty()) {
+ ServiceRegistration sr = (ServiceRegistration) m_commandServiceRegistration
+ .pop();
+ sr.unregister();
}
}
}
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/BundleContextPropertiesWrapper.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/BundleContextPropertiesWrapper.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/BundleContextPropertiesWrapper.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/BundleContextPropertiesWrapper.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,8 @@
import org.osgi.framework.BundleContext;
/**
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * This class provides a wrapper to intercept properties reading (get) with the bundle context
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class BundleContextPropertiesWrapper implements Map {
@@ -45,7 +48,7 @@
* @see java.util.Map#size()
*/
public int size() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return 0;
}
@@ -53,7 +56,7 @@
* @see java.util.Map#clear()
*/
public void clear() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
}
@@ -61,7 +64,7 @@
* @see java.util.Map#isEmpty()
*/
public boolean isEmpty() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return false;
}
@@ -69,7 +72,7 @@
* @see java.util.Map#containsKey(java.lang.Object)
*/
public boolean containsKey(Object arg0) {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return false;
}
@@ -77,7 +80,7 @@
* @see java.util.Map#containsValue(java.lang.Object)
*/
public boolean containsValue(Object arg0) {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return false;
}
@@ -85,7 +88,7 @@
* @see java.util.Map#values()
*/
public Collection values() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return null;
}
@@ -93,7 +96,7 @@
* @see java.util.Map#putAll(java.util.Map)
*/
public void putAll(Map arg0) {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
}
@@ -101,7 +104,7 @@
* @see java.util.Map#entrySet()
*/
public Set entrySet() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return null;
}
@@ -109,7 +112,7 @@
* @see java.util.Map#keySet()
*/
public Set keySet() {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return null;
}
@@ -117,7 +120,7 @@
* @see java.util.Map#remove(java.lang.Object)
*/
public Object remove(Object arg0) {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return null;
}
@@ -125,7 +128,7 @@
* @see java.util.Map#put(java.lang.Object, java.lang.Object)
*/
public Object put(Object arg0, Object arg1) {
- // TODO Raccord de méthode auto-généré
+ // The wrapper do not implemet this method
return null;
}
}
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/CommentCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/CommentCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/CommentCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/CommentCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class creates a shell command to skip comments
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class CommentCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/EchoCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/EchoCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/EchoCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/EchoCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class creates a shell command to echo the line
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class EchoCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -28,7 +30,7 @@
/**
* This class is a command for the shell service
* <p>This command fails or not if filter is true or not
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public abstract class FailCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class is a command for the shell service
* <p>This command fails if the filter is true
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class FailIfCmdImpl extends FailCmdImpl {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfnotCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfnotCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfnotCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/FailIfnotCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class is a command for the shell service
* <p>This command fails if the filter is false
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class FailIfnotCmdImpl extends FailCmdImpl {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/GcCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/GcCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/GcCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/GcCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class creates a shell command to start garbage collection
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class GcCmdImpl implements Command {
@@ -55,72 +57,4 @@
long memEnd=Runtime.getRuntime().freeMemory();
out.println((memEnd-memBegin) + " bytes collected in "+(end-begin)+" ms");
}
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+}
\ No newline at end of file
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -26,7 +28,7 @@
/**
* This class creates a shell command to list the system and bundle properties
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class PropertiesCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesDictionary.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesDictionary.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesDictionary.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/PropertiesDictionary.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -24,8 +26,8 @@
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
-/*
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+/**
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class PropertiesDictionary extends Dictionary {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/RunCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/RunCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/RunCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/RunCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -41,7 +43,7 @@
/**
* This class creates a shell command to download a script
* and execute the command lines
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class RunCmdImpl implements BundleActivator, Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/SetPropertyCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/SetPropertyCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/SetPropertyCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/SetPropertyCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -23,7 +25,7 @@
/**
* This class creates a shell command to set/add a property in the system properties
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class SetPropertyCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/ShellContextImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/ShellContextImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/ShellContextImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/ShellContextImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -24,6 +26,7 @@
/**
* This class implements the ShellContext service
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class ShellContextImpl implements ShellContext {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -24,7 +26,7 @@
/**
* This class creates a shell command
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class WaitCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitForCmdImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitForCmdImpl.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitForCmdImpl.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/WaitForCmdImpl.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd;
@@ -34,7 +36,7 @@
* <p>This command waits for a event such as class availability,
* package availability, bundle event, ...
* <p>This command is similar to the waitfor task of ANT
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class WaitForCmdImpl implements Command {
Modified: felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/util/SubstituteUtility.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/util/SubstituteUtility.java?view=diff&rev=536862&r1=536861&r2=536862
==============================================================================
--- felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/util/SubstituteUtility.java (original)
+++ felix/sandbox/donsez/shell.scriptcmd/src/main/java/org/apache/felix/shell/scriptcmd/util/SubstituteUtility.java Thu May 10 06:23:12 2007
@@ -1,18 +1,20 @@
/*
- * Copyright 2006 The Apache Software Foundation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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
*
- * 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.
+ * 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.
*/
package org.apache.felix.shell.scriptcmd.util;
@@ -20,6 +22,7 @@
/**
* This class provides methods to replace ${var} substring by values stored in a map
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
*/
public class SubstituteUtility {