Hi Michael,

All ports of Lucene.Net and code in "contrib" are done using VS.NET 2003 so
that they are .NET 1.1 compatible.  Why?  Historical reason and the fact
that I want to support a wider audience as possible.  If you must work in
.NET 2.0 space, you can easily take the current source code and build it
using VS.NET 2005 targeting .NET 2.0.

This said, for the port of Lucene.Net 2.1, I will be using .NET 2.0 -- thus,
VS.NET 2005.

As for the warnings, and cleaning unused variables, those are as a result of
conversion from Java to C# using JLCA.  Those unused variables also exist in
the Java version, thus they are carried over to C#.  There are also a lot of
warning about the XML documentation which JLCA doesn't do a good job at.

Personally, I rather see some of the reaming un-finished ported code or
those where I am not sure if I did the right thing (look for the string
"Aroush" in the source code) be taken care of first.

Regards,

-- George Aroush


-----Original Message-----
From: Michael Mitiaguin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 22, 2007 10:55 PM
To: [email protected]
Subject: Lucene.Net.2.0 build 003 "final"

I checked it out  using tortoiseSVN ( I presume , it does exist only in
Subversion repository ? ) Just wondering why solution still in VS2003 format
, my understanding this version uses specific Net 2 features (  built-in
compression  and etc... ) Also there are warnings about deprecated and
obsolete methods . Any plans to get rid of them ?

Warning 23      'System.Threading.Thread.Resume()' is obsolete:
'Thread.Resume has been deprecated.  Please use other classes in
System.Threading, such as Monitor, Mutex, Event, and Semaphore, to
synchronize Threads or protect resources.
http://go.microsoft.com/fwlink/?linkid=14202'
Z:\Lucene\Net2\Lucene.Net\SupportClass.cs       218     13
Lucene.Net-2.0.0
Warning 24      'System.Threading.Thread.Suspend()' is obsolete:
'Thread.Suspend has been deprecated.  Please use other classes in
System.Threading, such as Monitor, Mutex, Event, and Semaphore, to
synchronize Threads or protect resources.
http://go.microsoft.com/fwlink/?linkid=14202'
Z:\Lucene\Net2\Lucene.Net\SupportClass.cs       251     13
Lucene.Net-2.0.0
Warning 25      'System.Configuration.ConfigurationSettings.AppSettings' is
obsolete: 'This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettings'
Z:\Lucene\Net2\Lucene.Net\SupportClass.cs       619     38
Lucene.Net-2.0.0
Warning 26      'System.Configuration.ConfigurationSettings.AppSettings' is
obsolete: 'This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettings'
Z:\Lucene\Net2\Lucene.Net\SupportClass.cs       635     38
Lucene.Net-2.0.0
Warning 38
'System.Runtime.Remoting.RemotingConfiguration.Configure(string)'
is obsolete: 'Use
System.Runtime.Remoting.RemotingConfiguration.Configure(string
fileName, bool ensureSecurity)
instead.'       Z:\Lucene\Net2\Lucene.Net\Search\RemoteSearchable.cs    100
4       Lucene.Net-2.0.0
Warning 39
'System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Run
time.Remoting.Channels.IChannel)'
is obsolete: 'Use
System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool
ensureSecurity)
instead.'       Z:\Lucene\Net2\Lucene.Net\Search\RemoteSearchable.cs    101
4       Lucene.Net-2.0.0


Warnings about variables never used are much less importance and probably
cannot  be eradicated due porting JavaCC generated code.
Or 0 warnings is achievable at some stage ?

TIA
Michael

Reply via email to