db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r497593 - in /db/derby/code/trunk/java/storeless: ./ build.xml org/ org/apache/ org/apache/derby/ org/apache/derby/impl/ org/apache/derby/modules.properties
Date Thu, 18 Jan 2007 22:03:09 GMT
Author: djd
Date: Thu Jan 18 14:03:08 2007
New Revision: 497593

URL: http://svn.apache.org/viewvc?view=rev&rev=497593
Log:
DERBY-2164 (partial) Add Database and Datadictionary objects that support
a 'storeless' engine. This allows use of the JDBC & SQL layers and thus
can execute any SQL statement that does not touch a table, e.g. VALUES 1+1.
The build.xml builds into a separate classes.storeless folder which
separates the code and allows testing of the existing monitor functionality
to use multiple module.properties files. Top-level build changes to
include this code will be in a subsequent commit, to allow it to be backed
out easily if problems arise. Testing will also follow.

Added:
    db/derby/code/trunk/java/storeless/
    db/derby/code/trunk/java/storeless/build.xml   (with props)
    db/derby/code/trunk/java/storeless/org/
    db/derby/code/trunk/java/storeless/org/apache/
    db/derby/code/trunk/java/storeless/org/apache/derby/
    db/derby/code/trunk/java/storeless/org/apache/derby/impl/
    db/derby/code/trunk/java/storeless/org/apache/derby/modules.properties

Added: db/derby/code/trunk/java/storeless/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/storeless/build.xml?view=auto&rev=497593
==============================================================================
--- db/derby/code/trunk/java/storeless/build.xml (added)
+++ db/derby/code/trunk/java/storeless/build.xml Thu Jan 18 14:03:08 2007
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+
+<!-- ==================================================================== -->
+<!--                       Apache Derby build file                        -->
+<!-- ==================================================================== -->
+
+<project default="storeless" basedir="../..">
+
+<!-- ==================================================================== -->
+<!--                           Set properties                             -->
+<!-- ==================================================================== -->
+	
+  <property name="properties.dir" value="tools/ant/properties"/>
+
+  <!-- User settings -->
+  <property file="${user.home}/ant.properties"/>
+
+  <!-- Significant dirs -->
+  <property file="${properties.dir}/dirs.properties"/>
+
+  <!-- Compiler settings -->
+  <property file="${properties.dir}/defaultcompiler.properties"/>
+  <property file="${properties.dir}/${build.compiler}.properties"/>
+
+  <!-- Parser properties -->
+  <property file="${properties.dir}/parser.properties"/>
+
+  <!-- Compile-time classpath properties files -->
+  <property file="${properties.dir}/extrapath.properties"/>
+  <property file="${properties.dir}/compilepath.properties"/>
+
+  <!-- Release and Version info -->
+  <property file="${properties.dir}/release.properties"/>
+
+
+<!--             ============ Begin Targets ==============                -->
+ 
+  <target name="storeless"
+          description="Build storeless engine support code">
+  	    <mkdir dir="${out.storeless.dir}"/>
+      	<copy todir="${out.storeless.dir}/${derby.dir}">
+          <fileset dir="${derby.storeless.src.dir}/${derby.dir}">
+            <include name="modules.properties"/>
+          </fileset>
+        </copy>
+    <javac
+      source="1.4"
+      target="1.4"
+      bootclasspath="${empty}"
+      nowarn="on"
+      debug="${debug}"
+      depend="${depend}"
+      deprecation="${deprecation}"
+      optimize="${optimize}"
+      proceed="${proceed}"
+      verbose="${verbose}"
+      srcdir="${derby.storeless.src.dir}"
+      destdir="${out.storeless.dir}">
+      <classpath>
+      	  <pathelement path="${out.dir}"/>
+          <pathelement path="${java14compile.classpath}"/>
+      </classpath>
+    </javac>
+  </target>
+ 
+
+	
+<!--             ============= End Targets ==============                -->
+
+<!--             ============= End Project ==============                -->
+
+</project>
+

Propchange: db/derby/code/trunk/java/storeless/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/trunk/java/storeless/org/apache/derby/modules.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/storeless/org/apache/derby/modules.properties?view=auto&rev=497593
==============================================================================
--- db/derby/code/trunk/java/storeless/org/apache/derby/modules.properties (added)
+++ db/derby/code/trunk/java/storeless/org/apache/derby/modules.properties Thu Jan 18 14:03:08
2007
@@ -0,0 +1,3 @@
+derby.module.storeless.service=org.apache.derby.impl.storeless.StorelessService
+derby.module.storeless.database=org.apache.derby.impl.storeless.StorelessDatabase
+derby.module.storeless.dictionary=org.apache.derby.impl.storeless.EmptyDictionary
\ No newline at end of file



Mime
View raw message