You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2011/01/13 16:26:36 UTC
svn commit: r1058605 - in
/incubator/river/jtsk/trunk/src/org/apache/river/config/builder:
template.vm velocity.properties
Author: sijskes
Date: Thu Jan 13 15:26:36 2011
New Revision: 1058605
URL: http://svn.apache.org/viewvc?rev=1058605&view=rev
Log:
added velocity
Added:
incubator/river/jtsk/trunk/src/org/apache/river/config/builder/template.vm
incubator/river/jtsk/trunk/src/org/apache/river/config/builder/velocity.properties
Added: incubator/river/jtsk/trunk/src/org/apache/river/config/builder/template.vm
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/org/apache/river/config/builder/template.vm?rev=1058605&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/src/org/apache/river/config/builder/template.vm (added)
+++ incubator/river/jtsk/trunk/src/org/apache/river/config/builder/template.vm Thu Jan 13 15:26:36 2011
@@ -0,0 +1,51 @@
+/*
+ * 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
+ *
+ * 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.
+ */
+
+/* Keep this UTF-8 coded. */
+
+import com.sun.jini.start.NonActivatableServiceDescriptor;
+import com.sun.jini.start.ServiceDescriptor;
+import net.jini.jeri.* ;
+import net.jini.jeri.tcp.* ;
+
+com.sun.jini.start {
+ private static codebase = "" ;
+ private static policy = "" ;
+ private static classpath = "" ;
+
+ static serviceDescriptors = new ServiceDescriptor[] {
+ new NonActivatableServiceDescriptor(
+ codebase, policy, classpath,
+ "com.sun.jini.reggie.TransientRegistrarImpl",
+ $configuration, null, null )
+ };
+}
+
+com.sun.jini.reggie {
+
+ static initialMemberGroups = new String[] { ${groups} };
+
+ static serverExporter = new BasicJeriExporter( ${registryEndpoint}, new BasicILFactory());
+
+ $!{multicastInterfaces}
+}
+
+net.jini.discovery.LookupDiscovery
+{
+ $!{multicastInterfaces}
+}
Added: incubator/river/jtsk/trunk/src/org/apache/river/config/builder/velocity.properties
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/org/apache/river/config/builder/velocity.properties?rev=1058605&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/src/org/apache/river/config/builder/velocity.properties (added)
+++ incubator/river/jtsk/trunk/src/org/apache/river/config/builder/velocity.properties Thu Jan 13 15:26:36 2011
@@ -0,0 +1,20 @@
+# velocity.properties
+#
+# Created on 13-jan-2011 15:35:47 by sim
+#
+
+runtime.log.logsystem.class = org.apache.velocity.runtime.log.JdkLogChute
+
+#runtime.log.logsystem.jdk.logger.level = FINEST
+
+resource.loader = url
+
+#
+# for the loader we call 'class', use the ClasspathResourceLoader
+#
+class.resource.loader.description = Velocity Classpath Resource Loader
+class.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+
+
+url.resource.loader.class = org.apache.velocity.runtime.resource.loader.URLResourceLoader
+url.resource.loader.root =