This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105887 - API review: Added lucen library
Summary: API review: Added lucen library
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: API_REVIEW_FAST, PERFORMANCE
Depends on: 105329
Blocks:
  Show dependency tree
 
Reported: 2007-06-06 15:26 UTC by Tomas Zezula
Modified: 2007-06-07 09:41 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (36.33 KB, patch)
2007-06-06 15:28 UTC, Tomas Zezula
Details | Diff
Golden files diff (4.92 KB, patch)
2007-06-06 16:41 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2007-06-06 15:26:22 UTC
Currently there are two copies of the lucene library in the IDE, one used by
java/source, second used by ruby. The goal of this change is to create an API
wrapper for this library to allow other modules to depend on it and reduce the
number of copies of lucene to one.
Comment 1 Tomas Zezula 2007-06-06 15:28:37 UTC
Created attachment 43313 [details]
Diff file
Comment 2 Tomas Zezula 2007-06-06 15:30:02 UTC
Unfortunately I was not able to correct the golden files yet because of changes
in the build process, I hope I will attach the ide/golden later.
Comment 3 Tomas Zezula 2007-06-06 16:41:55 UTC
Created attachment 43316 [details]
Golden files diff
Comment 4 Tomas Zezula 2007-06-06 16:45:51 UTC
I've attached the diff of golden files, but the golden files in CVS are broken,
seems that configuration j2ee is the least broken. It's not clear which
configuration should be used for commit-verification.
Comment 5 Jan Lahoda 2007-06-06 17:36:06 UTC
I agree.
Comment 6 Jaroslav Tulach 2007-06-07 07:32:47 UTC
Ok, except a bit of unclearness about the versioning model:

Y01 Should not the wrapper module also have version 2.1.0? That way java could 
depend on lucen > 2.1, while now it depends on 1.0 which seems a bit strange 
to me.
Comment 7 Tomas Zezula 2007-06-07 08:09:28 UTC
Makes sense, fixed.
Comment 8 Tomas Zezula 2007-06-07 09:41:16 UTC
Checking in java/source/build.xml;
/cvs/java/source/build.xml,v  <--  build.xml
new revision: 1.6; previous revision: 1.5
done
Checking in java/source/nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v  <--  project.properties
new revision: 1.21; previous revision: 1.20
done
Checking in java/source/nbproject/project.xml;
/cvs/java/source/nbproject/project.xml,v  <--  project.xml
new revision: 1.19; previous revision: 1.18
done
RCS file: /cvs/libs/external/lucene-core-2.1.0-license.txt,v
done
Checking in libs/external/lucene-core-2.1.0-license.txt;
/cvs/libs/external/lucene-core-2.1.0-license.txt,v  <-- 
lucene-core-2.1.0-license.txt
initial revision: 1.1
done
RCS file: /cvs/libs/external/lucene-core-2.1.0.jar,v
done
Checking in libs/external/lucene-core-2.1.0.jar;
/cvs/libs/external/lucene-core-2.1.0.jar,v  <--  lucene-core-2.1.0.jar
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/.cvsignore,v
done
Checking in libs/lucene/.cvsignore;
/cvs/libs/lucene/.cvsignore,v  <--  .cvsignore
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/build.xml,v
done
Checking in libs/lucene/build.xml;
/cvs/libs/lucene/build.xml,v  <--  build.xml
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/manifest.mf,v
done
Checking in libs/lucene/manifest.mf;
/cvs/libs/lucene/manifest.mf,v  <--  manifest.mf
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/nbproject/.cvsignore,v
done
Checking in libs/lucene/nbproject/.cvsignore;
/cvs/libs/lucene/nbproject/.cvsignore,v  <--  .cvsignore
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/nbproject/project.properties,v
done
Checking in libs/lucene/nbproject/project.properties;
/cvs/libs/lucene/nbproject/project.properties,v  <--  project.properties
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/nbproject/project.xml,v
done
Checking in libs/lucene/nbproject/project.xml;
/cvs/libs/lucene/nbproject/project.xml,v  <--  project.xml
initial revision: 1.1
done
RCS file: /cvs/libs/lucene/src/org/netbeans/libs/lucene/Bundle.properties,v
done
Checking in libs/lucene/src/org/netbeans/libs/lucene/Bundle.properties;
/cvs/libs/lucene/src/org/netbeans/libs/lucene/Bundle.properties,v  <-- 
Bundle.properties
initial revision: 1.1
done
Checking in ide/golden/cluster-deps.txt;
/cvs/ide/golden/cluster-deps.txt,v  <--  cluster-deps.txt
new revision: 1.108; previous revision: 1.107
done
Checking in ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.605; previous revision: 1.604
done
Checking in ide/golden/files-layout.txt;
/cvs/ide/golden/files-layout.txt,v  <--  files-layout.txt
new revision: 1.263; previous revision: 1.262
done
Checking in ide/golden/modules.txt;
/cvs/ide/golden/modules.txt,v  <--  modules.txt
new revision: 1.162; previous revision: 1.161
done
Checking in ide/golden/public-packages.txt;
/cvs/ide/golden/public-packages.txt,v  <--  public-packages.txt
new revision: 1.104; previous revision: 1.103
done
Checking in nbbuild/cluster.properties;
/cvs/nbbuild/cluster.properties,v  <--  cluster.properties
new revision: 1.286; previous revision: 1.285
done
Removing lucene-core-2.1.0-license.txt;
/cvs/java/external/lucene-core-2.1.0-license.txt,v  <-- 
lucene-core-2.1.0-license.txt
new revision: delete; previous revision: 1.1
done
Removing lucene-core-2.1.0.jar;
/cvs/java/external/lucene-core-2.1.0.jar,v  <--  lucene-core-2.1.0.jar
new revision: delete; previous revision: 1.1
done