hello,
I need someone telling me what is wrong here
the ruby code is in
http://github.com/mkristian/jruby-maven-plugins/tree/master/jruby-maven-plugin/src/it/generate-java-and-compile/
or better in the subdirectory src/main/ruby
if I run jrubyc with linux everything works OK (as far I understand
it) but under windows nothing happens (as I was reported). the
commands used and the output see the gist. user directory or PWD is
generate-java-and-compile where the source is located.
everything works (linux)
$ java -jar ~/.m2/repository/org/jruby/jruby-complete/1.5.0/j
ruby-complete-1.5.0.jar -S jrubyc -t $PWD/target/jrubyc-generated-sources/ -d $PWD/src/main/ruby --java /home/kristian/projects/jruby-maven-plugins/jruby-maven-plugin/src/it/generate-java-and-compile/src/main/ruby
Compiling all in '/home/kristian/projects/jruby-maven-plugins/jruby-maven-plugin/src/it/generate-java-and-compile/src/main/ruby'...
Generating Java class MyReply to /home/kristian/projects/jruby-maven-plugins/jruby-maven-plugin/src/it/generate-java-and-compile/target/jrubyc-generated-sources/com/otherexample/MyReply.java
or
$ java -jar ~/.m2/repository/org/jruby/jruby-complete/1.5.0/j
ruby-complete-1.5.0.jar -S jrubyc -t target/jrubyc-generated-sources/ -d src/main/ruby --java src/main/ruby
This file has been truncated. show original
no file no output (windows)
java.exe -jar D:\work\.m2\repository\org\jruby\jruby-complete\1.5.0\jruby-complete-1.5.0.jar -S jrubyc -d D:\work\dev\workspace\codingkata\templates\generate-java-and-compile\src\main\ruby --java -t D:\work\dev\workspace\codingkata\templates\generate-java-and-compile\target\jrubyc-generated-sources D:\work\dev\workspace\codingkata\templates\generate-java-and-compile\src\main\ruby
or
java.exe -jar D:\work\.m2\repository\org\jruby\jruby-complete\1.5.0\jruby-complete-1.5.0.jar -S jrubyc --java -t target\jrubyc-generated-sources src\main\ruby
or
java.exe -jar D:\work\.m2\repository\org\jruby\jruby-complete\1.5.0\jruby-complete-1.5.0.jar -S jrubyc --java -t target\jrubyc-generated-sources -d src\main\ruby src\main\ruby
does anybody knows how to execute jrubyc --java correctly to generate
the java in my example.
thanx Kristian
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I tried this on windows, and it worked for me -
jrubyc --java . *.rb
I ran this command in my app root and it converted all my rb file to
java files.
Is it not producing the Java source? --java now produces just source
and --javac produces source and compiles it in one command.
On Tue, May 18, 2010 at 7:49 AM, kristian [email protected] wrote:
it) but under windows nothing happens (as I was reported). the
To unsubscribe from this list, please visit:
  http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
with linux it did produce the source - great (After I fond some little
syntax . . . )
but the same command does silently fail or does nothing. apparently it
works without extra directory or target options.
regards
Kristian
On Sat, May 29, 2010 at 1:01 PM, Charles Oliver N.
[email protected] wrote:
the java in my example.
To unsubscribe from this list, please visit:
  http://xircles.codehaus.org/manage_email
–
Kristian Meier + Saumya Sharma + Sanuka Meier
Vadakkethu House,
Edayanmula West PO - 689532,
Pathanamthitta District, Kerala, INDIA
tel: +91 468 2319577
protect your privacy while searching the net: www.ixquick.com
_=_
q(-_-)p
'_) (_`
/__/ \
_(<_ / )_
(__\_\_|_/__)
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Ok, file a bug for whatever you’ve found and we’ll get it patched up.
On Sat, May 29, 2010 at 3:13 AM, kristian [email protected] wrote:
[email protected] wrote:
the java in my example.
–
     q(-_-)p
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email