JRuby Gem?

  • Thread starter Nicholas Van Weerdenburg
  • Start date
N

Nicholas Van Weerdenburg

Would it be possible to make a rubygem or rpa of JRuby? Other Java
programs (please don't hit me!)?

On that topic, does anyone know of anything similar to RubyGems for
Java? I tried to get an updated Xalan the other day, and I almost
fainted at the bizarre number of steps that the Jakarta site was
making me do.

Thanks,
Nick
 
C

Chad Fowler

Would it be possible to make a rubygem or rpa of JRuby? Other Java
programs (please don't hit me!)?

I guess you could theoretically use RubyGems to install JRuby. You
would have to deal with CLASSPATH issues afterward, but it should be
possible.
On that topic, does anyone know of anything similar to RubyGems for
Java? I tried to get an updated Xalan the other day, and I almost
fainted at the bizarre number of steps that the Jakarta site was
making me do.


Maven sort of does the same thing, though it's not focused on
installing libraries and applications.
http://maven.apache.org/


--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 50,000 gems served!)
 
R

R. Mark Volkmann

Quoting Chad Fowler said:
On Tue, 25 Jan 2005 14:09:44 +0900, Nicholas Van Weerdenburg


Maven sort of does the same thing, though it's not focused on
installing libraries and applications.
http://maven.apache.org/

I'm not sure what you mean by saying "it's not focused on installing libraries".
That's the main reason I like it. Your build file specifies the libraries
your application depends on and which versions. When you build your project,
if those libraries don't exist in your local repository, Maven downloads them.
They are just JAR files. No "install" is necessary, just the download.
 
N

Nicholas Van Weerdenburg

N

Nicholas Van Weerdenburg

I'm not sure what you mean by saying "it's not focused on installing libraries".
That's the main reason I like it. Your build file specifies the libraries
your application depends on and which versions. When you build your project,
if those libraries don't exist in your local repository, Maven downloads them.
They are just JAR files. No "install" is necessary, just the download.

That's cool! I didn't know Maven did that. I'd heard it was a bloated
vanity project with no real market.

Nick
 
C

Chad Fowler

I'm not sure what you mean by saying "it's not focused on installing libraries".
That's the main reason I like it. Your build file specifies the libraries
your application depends on and which versions. When you build your project,
if those libraries don't exist in your local repository, Maven downloads them.
They are just JAR files. No "install" is necessary, just the download.

I mean that Maven's scope starts with and expands to way beyond just
installing libraries and applications. So, it's not really
appropriate to say that it is a RubyGems equivalent. It does,
however, provide a lot of the same functionality as RubyGems.

One thing I don't think maven lets you do is start without a build
file and just download and install libs. For example, if you have
maven installed, can you just simply do the equivalent of: maven
install someapplication? ...or maven install somelib?

That may actually be irrelevant in the case of Maven, which is kind of my point.

-
Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 50,000 gems served!)
 
R

R. Mark Volkmann

Quoting Chad Fowler said:
I mean that Maven's scope starts with and expands to way beyond just
installing libraries and applications. So, it's not really
appropriate to say that it is a RubyGems equivalent. It does,
however, provide a lot of the same functionality as RubyGems.

I see your point and agree on this.
One thing I don't think maven lets you do is start without a build
file and just download and install libs. For example, if you have
maven installed, can you just simply do the equivalent of: maven
install someapplication? ...or maven install somelib?

No, you can't.
That may actually be irrelevant in the case of Maven, which is kind of my
point.

Right. I guess you could think of Maven as a combination of Rake and RubyGems.
Unlike Ant, with Maven many commonly used targets are provided which means that
your build file is mainly a list of library dependencies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top