如何把 opengrok 安装在 windows上

OpenGrok代码服务器搭建,解决代码检索慢的问题 阅读详情
opengrok 是目前最好用的代码索引、浏览工具,比sourceinsight好狠多。
  1. 假设已经有一台安装好tomcat服务的机器。此时不需要启动tomcat
  2. 下载opengrok binary。 http://opengrok.github.io/OpenGrok/
  3. 把opengrok binary解压到根目录下。我这里是c:/opengrok盘根目录
  4. 把C:\opengrok\lib\source.war这个文件拷贝到tomcat\webapps文件夹里
  5. 编辑tomcat\webapps\source\WEB-INF\web.xml文件,如图opengrok将会生成configuration.xml文件。到目前为止还没有这个文件,先这么改着。
  6. 目录结构如图。另外创建data和source两个文件夹,后面会用到。
  7. 下载安装ctags。http://download.youkuaiyun.com/detail/mickeyfirst/5535753(速度要快些)或者到官网下载
  8. 把ctags解压的根目录下。比如c:\ctags,然后把c:\ctags加入到系统路径下
  9. 把要建立索引的源代码拷贝到c:\opengrok\source,就是刚才建立好的一个source文件夹
  10. 启动cmd,也就是dos命令窗口
  11. 执行java -Xmx524m -jar lib\opengrok.jar -W "C:\\OpenGrok\\data\\configuration.xml" -P -S -v -s "C:\\OpenGrok\\source" -d "C:\\OpenGrok\\data"
  12. 等命令结束后,在浏览器中执行http://localhost:8080/source就可以使用了

opengrok_windows_环境搭建 搭建软件列表: 阅读详情

相关推荐

Windows10搭建opengrok服务器

详解Windows10中配置安装opengrok服务器的步骤,搭建大型代码阅读环境。

weixin_50840994的博客 3594

opengrok搭建方法

OpenGrok一个快速、便于使用的源代码搜索与对照引擎。它帮助你搜索,对照,定位你的源代码树。它能够明白各种程序文件格式和版本控制历史记录,是OpenSolaris操作系统源文件浏览和搜索的工具。 1. 安装jdk sudo apt install openjdk-8-jdk 2. 安装ctags sudo apt install exuberant-ctags 3. 下载universal-ctags源码 git clone https://github.com/universal-c

weixin_39577288的博客 2927

利用Win10下的Linux子系统架设OpenGrok

利用Win10下的Linux子系统架设OpenGrokWSL(Windows Linux Subsystem)安装配置Opengrok安装Opengrok/Ctags执行Opengrok Index安装Tomcat修改WAR启动Tomcat演示效果 WSL(Windows Linux Subsystem) 从Windows10开始默认支持Linux 子系统。对于需要频繁在windows/linu...

Larry_Liang_cn的专栏 1117

window搭建opengrok和简单使用

讲解opengrok的搭建流程和简单的使用方式,丝滑的代码阅读-RTFSC

weixin_46453743的博客 2330

Windows搭建opengork源码阅读环境

Windows搭建opengork源码阅读环境

特立独行的博客 3719

OPENGROK 环境搭建

使用OPENGROK可以非常快速的查看代码,整合了git的功能

Linux和windows下安装OpenGrok

前提:安装和配置Java环境 1.windows下安装 http://algopadawan.blogspot.co.uk/2012/07/installing-opengrok-on-windows.html 照做即可。 D:\Tools\OpenGrok>java -Xmx256m -jar lib\opengrok.jar -W "D:\\Tools\\OpenGrok\\dat

seek24的专栏 1192

UE5游戏逆向实战:用FModel提取.pak文件中的3D模型(附Dumper-7避坑指南)

本文详细介绍了如何使用FModel工具从UE5游戏的.pak文件中提取3D模型,并提供了Dumper-7的避坑指南。内容涵盖FModel工具链配置、UE5特有的unversioned properties问题解决方案、Dumper-7实战流程以及模型后处理技巧,帮助开发者高效获取游戏资产。

weixin_30872499的博客 422

在windows7上安装使用opengrok

单就代码索引和浏览功能来说,opengrok比source insight要好用些。下面简单记录下在win7上怎么安装使用opengrok。 1. 软件安装 1.1  安装JDK 安装: 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html 从以上下载地址下载并安装。我下的是最新的8u5

finewind的专栏 6949

ArcGIS栅格数据像元值与坐标值提取及Excel导出全流程解析

本文详细解析了使用ArcGIS将栅格数据批量提取像元值与坐标值并导出至Excel的全流程。通过“栅格转点”、“添加XY坐标”和“表转Excel”三大核心步骤,无需编程即可自动化处理遥感、环境等领域的空间数据,有效提升数据分析效率。

zeta9的博客 365

MOOS-ivp 实验三 MOOS简介(3)

MOOS-ivp 实验三 MOOS简介(3) 继上一篇文章继续对实验进行记录 提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录MOOS-ivp 实验三 MOOS简介(3)六、A Simple Example with pXRelay1.pXRelay基本使用2.pXRelay简单例子3.pXRelay实验七、First Experiments in Modifying MOOS App Code1.下载一个MOOS模板文件2.打开MOOS模板文件总结 六、A Simple E

weixin_44151170的博客 2534

Windows上安装OpenGrok的方法

发现这篇文章很实用,转帖一下:原文地址: http://lifeisbetter.in/blog/2009/05/11/install-opengrok-on-windows/ Install OpenGrok on Windows As website of OpenGrok says, its indeed a wicked, fast source browser. In a

sd2131512的专栏 2070

声音特征提取--Demon谱分析(舰船水声)

不同频带的DEMON谱线相互之间也不一样,有的频带内会发生线谱遗失,有的频带内的线谱并不是真正的谱线。当舰船航速达到某个极限时,螺旋桨的高速旋转将产生空化噪声,由螺旋桨产生的一系列周期信号被空化噪声调制,在频域上表现为将低频的离散线谱线性搬移到较高频率噪声所处的频率周围,这些周期信号在频域是离散的线谱系列,对应舰船的轴频、叶频以及谐波频率,由于舰船辐射噪声低频部分还有其它噪声源,很难从低频段直接提取出螺旋桨产生的线谱系列,而是要先对高频段的调制信号进行解调,通过低通滤波得到信号的低频包络谱,即。

qq_52631753的博客 6500

在windows下安装opengrok遇到的一个问题

在做大型项目时,代码量非常大,一般不可能(时间也不够)充分的熟悉各个代码或资源文件,这时快速的定位代码或者文件的位置对于处理BUG就显得异常重要。想必你也用过windows自带的搜索,在文件非常多的时间,那个搜索的速度是无法容忍的。这里给大家推荐一个工具:opengrok。我主要用它来做一些搜索用,速度非常快,而且只要一个人在电脑上装好,同小组的其他人都可以通过浏览器访问,能更高效地提高整体的效率。至于它的细节,大家可以看看这篇在windows安装opengrok的文章:http://lifeisbette

prince58的专栏 3834

YOLOv11 改进 - 注意力机制 | 空间增强注意力SEAM(Spatially Enhanced Attention Module)提升遮挡场景检测鲁棒性

本文介绍了分离与增强注意力模块(SEAM)在YOLOv11中的结合应用。SEAM模块旨在增强面部特征学习能力,特别是处理面部遮挡问题。它采用多头注意力机制强调面部区域、抑制背景区域,第一部分使用深度可分离卷积减少参数并学习通道重要性,通过1x1卷积增强通道联系,利用两层全连接网络融合通道信息,经指数归一化后作为注意力权重与原始特征相乘。我们将SEAM集成到YOLOv11的检测头中,并进行相关注册和配置。实验表明,该方法有助于提升模型检测性能。

魔改工程师的博客 1664

ROS机器人未知环境自主探索功能包explore_lite最全源码详细解析(二)

本系列文章主要针对ROS机器人常使用的未知环境自主探索功能包explore_lite展开全源码的详细解析,并进行概括总结。 本系列文章共包含六篇文章,前五篇文章主要介绍explore_lite功能包中 explore.cpp、costmap_tools.h、frontier_search.cpp、costmap_client.cpp等源码实现文件中全部函数的详细介绍,第六篇文章进行概括总结,包含自主探索功能包explore_lite的简介,实现未知环境自主探索功能的原理及流程总结,效果演示,使用功能包exp

慕羽★的博客 1648

windows7下安装配置opengrok

opengrok是一个代码查看工具,对于比较大的项目,团队之间一个人搭建好之后其他人可以直接访问使用。

newbie_zhu的专栏 2835

RK3568平台YOLO11模型部署实战:从环境搭建、模型转换到板端性能优化全解析

摘要: 本文详细介绍了在RK3568平台上从零部署YOLO11模型的完整流程。主要内容包括:1) 基于Conda搭建Python 3.8开发环境并安装RKNN-Toolkit2工具链;2) 使用LabelImg工具标注数据并构建YOLO格式数据集;3) 基于Ultralytics框架进行YOLO11模型训练及参数优化;4) 实现PyTorch→ONNX→RKNN的完整模型转换链。文章特别针对RK3568平台的NPU特性提供了关键参数配置建议,并分享了实际开发中的经验总结,最终可达到30FPS的稳定推理性能。

LXY_LOVE36的博客 279

[转]Windows上安装OpenGrok的方法

发现这篇文章很实用,转帖一下:原文地址:<br />http://lifeisbetter.in/blog/2009/05/11/install-opengrok-on-windows/<br />Install OpenGrok on Windows<br />As website of OpenGrok says, its indeed a wicked, fast source browser .<br />In a much elaborate version:<br />“OpenGrok

belyxiong的专栏 5199

MATLAB与ROS联合仿真——ROS环境搭建及相关准备工作(上)

本篇文章主要介绍在安装完ROS后,在进行MATLAB与ROS联合仿真之前,需要进行的一些环境搭建以及准备工作,主要分为 创建ROS工作空间及功能包、必备功能包安装、安装Gazebo11、导入实验功能包至工作空间、安装Visual_Studio_Code(选做)、常用便捷工具安装(选做) 六部分。    本部分内容共分为上下两篇,上篇包括创建ROS工作空间及功能包和必备功能包安装这两部分,下篇包括、安装Gazebo11、导入实验功能包至工作空间、安装Visual_Studio_Code(选做)、常用便捷工

慕羽★的博客 3361

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

Windows 7 安装配置Opengrok查看Android源码

Windows 7 安装配置Opengrok查看Android源码参考:http://deferredhappiness.com/opengrok/https://github.com/oracle/opengrok/wiki/How-to-install-OpenGrok简单记录,仅供参考1.安装JDK1.8下载路径:http://www.oracle.com/technetwork/java/...

fred专栏 569

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

OpenGrok windows 安装及多项目索引

转载:http://blog.youkuaiyun.com/finewind/article/details/47362525软件安装 安装JDK 下载 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 目前最新的windows 32位版本: jdk-8u131-windows-

pangsurong的博客 2308

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

OpenGrok安装

windows安装OpenGrok安装需要的几个工具 1. JDK 2. tomcat 3. opengrk 4. ctags1.软件安装 1.1 安装JDK 下载地址: http://www.Oracle.com/technetwork/Java/javase/downloads/index.html 从以上下载地址下载并安装。 配置环境变量,我安装在H盘的,如下: J

lxy190598463的博客 846

windows下配置openGrok源代码阅读工具

虽然说windows下的源代码阅读工具sourceInsig

zhenjie.Chang的专栏 2036

windows搭建opengrok问题总结

windows搭建opengrok问题总结 1.file not find Tomcat在源代码索引建立之前启动,索引建立后,重新启动Tomcat 2.opengrok 打开发现c/h等文件为空 重新安装配置ctags 3.tomcat打开正常 http://localhost:8080/source/ 访问报404,重新安装tomcat 参考:https://geek-docs.com/personal/obama/windows-setup-opengrok.html ...

ssdtrtgsdgdfg的博客 1300

OpenGrok試用in WinXP

轉載自http://www.ptt.cc/bbs/Programming/M.1260550469.A.211.html 如有侵權,請告知,謝謝 http://src.opensolaris.org/source/   馬上先試用看看...       我從來沒用過Source Insight   之前都是用UltraEdit的cta

菩提本無樹 894
上一篇: PMI敏捷认证(ACP)的大纲
下一篇: 深入google glass
mickeyfirst
博客等级 码龄25年 82粉丝 179原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值