warbler compiled jar doesn't seem to generate class files
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- 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.
- 主要言語
- Ruby
- スター
- 901
- フォーク
- 206
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jruby/warbler のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
似ている issue
-
🐛 bug 🧑💼 conseillers
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
betagouv/conseillers-entreprises#4768 ·
メンテナーはふだん 1 日以内に返信
-
`github-events` aborts the repository scan when a closed pull's API payload has a null `head`対応中かも @renyamamoto2026-cmyk が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zerocracy/judges-action#2823 ·
メンテナーはふだん 1 日以内に返信
-
`spoom srb bump DIRECTORY` bumps files outside DIRECTORY対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/aws-sdk-ruby#3460 ·
メンテナーはふだん 1 日以内に返信