Hi David,
On Wed, May 6, 2009 at 1:41 PM, David Koontz <[email protected]> wrote:
>
> On May 6, 2009, at 8:59 AM, Yoko Harada wrote:
>
>> To avoid this problem, I added jruby.jar only (not the whole project).
>> A compilation was done successfully, but jruby.jar only was not
>> enought to run test programs. Many jars are missing. Again, I haven't
>> had this problem before. So, the choice would be to add all jars in
>> build_lib to my project or to use jruby-complete.jar. Both worked.
>> However, further trouble happened. The changes I added to
>> JavaEmbedUtils.java never reflected even though I build jars again and
>> again. Besides, sizes of JavaEmbedUtils*.class in jruby.jar and
>> jruby-complete.jar are not the same.
>
> I have made changes to JRuby before and the way I did it was to load the
> project in Netbeans. Make my changes. Use the ant task (jar or
> jar-complete) to rebuild the appropriate jar file then run my test
> application which referenced those jar files. I wouldn't rely on Netbeans'
> jar packaging for this sort of thing.
I gave up adding JRuby's project to mine, and just added jars. Also, I
stop using NetBean's "Clean and Build" feature. Instead, I ran ant
command to build JRuby. So, now, changes to JRuby itself have been
recognized in my project. Thanks for the advise.
I guess a created directory, whose name is ${base.dir}, might cause a
bad effect. This directory was created when I ran a test program in my
project. I think the name ${base.dir} should have been substituted to
an ordinary directory name.
-Yoko
>
>> Did anybody experience this or similar trouble? Does git affect it?
>>
>> -Yoko
>>
>
> David Koontz
>
> ---------------------------------------------------------------------
> 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