05 Dec 2005
OpenGrok 0.2.1 released!

This
release fixes bugs reported in the initial release.
Many thanks to Wez Furlong of PHP for finding a cross-site scripting issue;
Despite hours spent on making it secure, I added a one debugging statement
and forgot to remove it - that caused the issue :-(

Wez also reported issues with CVS library which have been fixed.
Andy Tucker suggested many improvements and reported bugs. Some of these were traced to bugs in
exuberant ctags, and are noted in known issues.
Changes in 0.2.1
Bug fixes:
- Fixes a XSS security issue (reported by Wez Furlong)
- Fixes bug where some CVS revisions could not be retrieved
- Fixes bug in handling CVS long histories (reported by Wez Furlong)
- Handles extra characters in CVS symbol names (reported by Wez Furlong)
- More robust EFTAR file handling (reported by Andy Tucker)
- Throws more helpful error messages
- Tomcat 4.x compatibility fixes
- Minor fixes to hypertexting code that handles strings
- Fixed bug that ignored symlinked SRC_ROOT (reported by Michael Allen)
New Features:
- Now runs on Microsoft Windows
- A new CSS theme.
- Interim support for PHP and OpenSolaris Assembler code.
- Single distributable file to keep things simple
Compatibility Note:
The DATA_ROOT files generated by 0.2 are compatible
with this release. Changing the source.war parameters
and redeploying should work.
However to get full advantage, it is advisable to
generate the data from scratch (i.e remove the old
DATA_ROOT and run the run.sh again).
Known issues:
-
Due to Exuberant ctags bug 1324663, OpenGrok might keep waiting for ctags.
Workaround is to ignore the problem causing SQL files with -i option to OpenGrok.
- Due to Exuberant ctags bug 1187505
ctags fails to recognize certain definitions. So OpenGrok will not be able search these
- If the indexing using opengrok.jar (or run.sh) is interrupted in the middle, a lucene lock file is left over; next time you run the opengrok.jar, it would give an error
message saying "Lock obtain timed out ...". It is OK to remove the lock file mentioned in the error message and run the indexer again, if no other processing is trying to update the Lucene index
Link |
Posted by Florin on December 07, 2005 at 10:11 AM PST #
Posted by Chandan on December 07, 2005 at 01:39 PM PST #
Posted by Fabian R. on December 13, 2005 at 05:35 AM PST #
compile:
[javac] Compiling 66 source files to /sleepy1_eng/dwein/opengrok-0.2.1/build /classes
[javac] /sleepy1_eng/dwein/opengrok-0.2.1/src/org/opensolaris/opengrok/web/E ftarFile.java:56: error: Identifier expected.
[javac] public java.util.TreeMap<Long, Node> children;
[javac]
[javac] /sleepy1_eng/dwein/opengrok-0.2.1/src/org/opensolaris/opengrok/web/E ftarFile.java:56: error: Class or interface declaration expected.
[javac] public java.util.TreeMap<Long, Node> children;
[javac]
^ [javac] /sleepy1_eng/dwein/opengrok-0.2.1/src/org/opensolaris/opengrok/web/E ftarFile.java:56: error: syntax error.
This is likely a basic environment problem, but since I am not a java programmer I am a bit lost in troubleshooting it.
[dwein@sleepy1 opengrok-0.2.1]$ javac -version
javac 1.5.0_06
Any tips are appreciated.
Posted by David on December 14, 2005 at 07:40 PM PST #
OpenGrok makes extensive use of new features in Java 1.5 like collections. I got the same errors as above when I used Java 1.4 to compile the sources.
Posted by Chandan on December 14, 2005 at 09:00 PM PST #
Posted by Benjamin on December 18, 2005 at 02:10 PM PST #
To increase java heap size use -XmsSIZE (eg -Xms128m) option. Run java -X for details. Indexing is a memory intensive job.
Posted by Chandan on December 18, 2005 at 04:21 PM PST #
Posted by benjamin on December 19, 2005 at 03:09 PM PST #
If you already have an Apache running and want Apache to serve the requests, then there is mod_proxy in Apache. and that can make it look like http://host/source/... but you still need to run tomcat (or any other servlet container like jetty or GlassFish).
Posted by Chandan on December 19, 2005 at 03:25 PM PST #