Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

warbler compiled jar doesn't seem to generate class files

オープン
#97 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, ruby
領域
build-system

調査の方向性

Start with the warbler compiled jar command and reproduce it using the lib/cews-lib.rb example from the issue, then list the jar's contents to check for a class file for JavaIntegrationTest. The issue gives no warbler file or test to start from, and the thread never settles whether warbler is the right tool. Done would mean the compiled jar contains a usable class with sayHello, or a documented answer that warbler cannot do this.

索引モデルが issue の本文から書いたものです。

説明

I'm trying to use warbler to create a jar file that I can use inside an existing Java application. I'm not sure if I can use warbler for this, but here's what I'm doing: I created a dummy Ruby file in bin/, and created a simple Ruby file in lib/ called cews-lib.rb.

require 'java'
java_require 'cews-lib'

class JavaIntegrationTest
  java_signature 'void sayHello()'
  def sayHello
    puts 'Hello, World!'
  end
end

When I execute warbler compiled jar, the JAR file that I inspect doesn't have a class file for the JavaIntegratIonTest class that I can call from Java. When I use jrubyc --javac cews-lib.rb, the generated Java file has a usable sayHello method. Not sure if warbler is the right tool, if not, does anyone know what is? Thank you.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446652-warbler-compiled-jar-doesn-t-seem-to-generate-class-files?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).
主要言語
Ruby
スター
901
フォーク
206
平均マージ
1日 10時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jruby/warbler のほかの issue

jruby/warbler の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。