lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject [Lucene.Net] svn commit: r1134743 - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage: Contrib.IsolatedStorage.csproj IsolatedStorageDirectory.cs Properties/AssemblyInfo.cs
Date Sat, 11 Jun 2011 20:19:51 GMT
Author: pnasser
Date: Sat Jun 11 20:19:50 2011
New Revision: 1134743

URL: http://svn.apache.org/viewvc?rev=1134743&view=rev
Log:
LUCENENET-424 Minor updates to the constructor, changing build paths and AssemblyInfo.cs

Modified:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Contrib.IsolatedStorage.csproj
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/IsolatedStorageDirectory.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Properties/AssemblyInfo.cs

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Contrib.IsolatedStorage.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Contrib.IsolatedStorage.csproj?rev=1134743&r1=1134742&r2=1134743&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Contrib.IsolatedStorage.csproj
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Contrib.IsolatedStorage.csproj
Sat Jun 11 20:19:50 2011
@@ -8,8 +8,8 @@
     <ProjectGuid>{7AAC492D-1526-463A-8AAE-4433577E0950}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>IsolatedStorage</RootNamespace>
-    <AssemblyName>IsolatedStorage</AssemblyName>
+    <RootNamespace>Lucene.Net.Store</RootNamespace>
+    <AssemblyName>Lucene.Net.IsolatedStorage</AssemblyName>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
   </PropertyGroup>
@@ -17,7 +17,7 @@
     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
     <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
+    <OutputPath>..\..\..\bin\contrib\IsolatedStorage\Debug\</OutputPath>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/IsolatedStorageDirectory.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/IsolatedStorageDirectory.cs?rev=1134743&r1=1134742&r2=1134743&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/IsolatedStorageDirectory.cs
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/IsolatedStorageDirectory.cs
Sat Jun 11 20:19:50 2011
@@ -43,9 +43,8 @@ namespace Lucene.Net.Store
         /// TODO: Impliment lockFactory
         public IsolatedStorageDirectory(string path, LockFactory lockFactory)
         {
-            IsoDirectory = IsolatedStorageFile.GetStore(IsolatedStorageScope.User |
-                IsolatedStorageScope.Domain | IsolatedStorageScope.Assembly, null, null);
-
+            IsoDirectory = IsolatedStorageFile.GetUserStoreForApplication();
+            
             if (!IsoDirectory.DirectoryExists(path))
             {
                 throw new NoSuchDirectoryException(String.Format("{0} exists but is not a
folder", path));

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Properties/AssemblyInfo.cs?rev=1134743&r1=1134742&r2=1134743&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Properties/AssemblyInfo.cs
(original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/contrib/IsolatedStorage/Properties/AssemblyInfo.cs
Sat Jun 11 20:19:50 2011
@@ -1,17 +1,34 @@
-using System.Reflection;
+/**
+ * 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.
+ */
+
+using System.Reflection;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
 // General Information about an assembly is controlled through the following 
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("IsolatedStorage")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyTitle("Lucene.Net.Contrib.IsolatedStorage")]
+[assembly: AssemblyDescription("IsolatedStorage for Lucene.Net")]
 [assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("IsolatedStorage")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
-[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCompany("The Apache Software Foundation")]
+[assembly: AssemblyProduct("Lucene.Net.Contrib.IsolatedStorage")]
+[assembly: AssemblyCopyright("Copyright 2006 - 2011 The Apache Software Foundation")]
+[assembly: AssemblyTrademark("Copyright 2006 - 2011 The Apache Software Foundation")]
 [assembly: AssemblyCulture("")]
 
 // Setting ComVisible to false makes the types in this assembly not visible 
@@ -32,5 +49,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers 
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("2.9.4.*")]
+[assembly: AssemblyFileVersion("2.9.4.*")]



Mime
View raw message