Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3ab25f5 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fanghuaqi committed Sep 20, 2024
1 parent 05765f7 commit 5fe6afe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions 10-compiling_projects_with_headless_in_nuclei_studio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,19 @@

<h1 id="nuclei-studio">在Nuclei Studio下用命令行编译工程<a class="headerlink" href="#nuclei-studio" title="Permanent link">&para;</a></h1>
<blockquote>
<p>以下文档是在<strong>2024.06</strong>版本的IDE中实测,作为补充说明。</p>
</blockquote>
<p>因NucleiStudio 2024.06版运行在java 21的环境上,实际应用中很多用户的本地没有java 21环境,故在运行命令时发现在执行该命令时,因找不到对应的jre而报错。为解决上述问题,可以在本地机器上安装java 21的环境(如何安装用户可以自行搜索相关教程),也可以在命令行中通过 <code>-vm</code> 参数指定NucleiStudio 2024.06中自带的jre的路径。</p>
<pre><code class="language-shell">NucleiStudio.exe -vm &quot;&lt;user_nucleistudio_path&gt;/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.3.v20240426-1530/jre/bin&quot; --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data C:\NucleiStudio_workspace -cleanBuild test/Debug -Debug
</code></pre>
<p>提供一组批量导入工程并批量编译工程的命令</p>
<p>创建workspace并批量导入工程</p>
<pre><code class="language-shell">NucleiStudio.exe -vm &quot;&lt;user_nucleistudio_path&gt;/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.3.v20240426-1530/jre/bin&quot; --launcher.suppressErrors -noSplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data $CI_PROJECT_DIR -importAll $CI_PROJECT_DIR
</code></pre>
<p>编译这组导入的工程</p>
<pre><code class="language-shell">NucleiStudio.exe -vm &quot;&lt;user_nucleistudio_path&gt;/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.3.v20240426-1530/jre/bin&quot; --launcher.suppressErrors -noSplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data $CI_PROJECT_DIR -build ${TARGET_PHASE}_Project/Debug
</code></pre>
<blockquote>
<p>以下文档是在<strong>2023.10</strong>版本的IDE中实测,其他版本可能需要做一些调整适配才可以正常工作。</p>
</blockquote>
<p>Nuclei Studio是图形化(GUI)的代码编写工具,但是在某些特定的场景下,用户需要通过命令行来快速编译工程,
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1 id="nuclei-studio-supply-documents">Nuclei Studio Supply Documents<a class="
</blockquote>
<h2 id="documents">Documents<a class="headerlink" href="#documents" title="Permanent link">&para;</a></h2>
<blockquote>
<p>Generated by <code>python3 update.py</code> @ 2024-09-02 02:57:54</p>
<p>Generated by <code>python3 update.py</code> @ 2024-09-20 04:52:13</p>
</blockquote>
<table>
<thead>
Expand Down Expand Up @@ -302,5 +302,5 @@ <h2 id="documents">Documents<a class="headerlink" href="#documents" title="Perma

<!--
MkDocs version : 1.6.1
Build Date UTC : 2024-09-02 02:57:54.554758+00:00
Build Date UTC : 2024-09-20 04:52:13.660124+00:00
-->
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 5fe6afe

Please sign in to comment.