From nobody at rubyforge.org Sun Mar 4 01:17:31 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sun, 4 Mar 2007 01:17:31 -0500 (EST) Subject: [Raven-devel] [172] trunk/lib/raven/server/build_handler.rb: rserve now looks for a 'default' target if none specified Message-ID: <20070304061731.A4F2C5242342@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070304/f3d6bd1a/attachment.html From nobody at rubyforge.org Sun Mar 4 01:58:46 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sun, 4 Mar 2007 01:58:46 -0500 (EST) Subject: [Raven-devel] [173] trunk/lib: changed rserve to import all of raven, to avoid strange error messages Message-ID: <20070304065846.2B0105242340@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070304/f63d7022/attachment.html From rubyforge at foemmel.com Fri Mar 9 16:25:12 2007 From: rubyforge at foemmel.com (Matthew Foemmel) Date: Fri, 9 Mar 2007 15:25:12 -0600 Subject: [Raven-devel] multi-rakefile builds Message-ID: <80E3A47A-E47F-4171-9EED-0BF9DBBBB17A@foemmel.com> Hi all, I'd like to take a stab at implementing the following feature, and would like to get some input on the best way to approach it: http://rubyforge.org/tracker/index.php? func=detail&aid=8536&group_id=2189&atid=8549 The basic idea is that users would be able to split their rakefiles up into multiple files in different directories. All of the file paths specified in the rakefile would be relative to the directory the rakefile is in (similar to the way file paths in ant are relative to the directory the build.xml file is in). This would give us the ability to handle large projects by breaking them up into smaller ones, without forcing people into a "recursive make" scenario. I can't think of an clean way to associate a task with the directory it was defined in, however. One way would be to just scan the Kernel.caller array looking for a "rakefile.rb" entry, but that seems like a bit of a hack to me. Maybe it's fine though... Any ideas? Cheers, Foemmel From nobody at rubyforge.org Fri Mar 9 18:12:29 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 9 Mar 2007 18:12:29 -0500 (EST) Subject: [Raven-devel] [174] trunk: fixed srcdir behavior in javac task and changed the way arguements are sent via http s that we can request builds for multiple targets at a time Message-ID: <20070309231229.2ADE45240AE9@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070309/f9555ede/attachment.html From nobody at rubyforge.org Sun Mar 11 17:17:43 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sun, 11 Mar 2007 17:17:43 -0400 (EDT) Subject: [Raven-devel] [176] vendor/jruby/0.9.8/: Tag vendor/jruby/current as vendor/jruby/0.9.8. Message-ID: <20070311211743.C8D9D5240B3F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070311/f439c509/attachment-0001.html From nobody at rubyforge.org Sun Mar 11 17:17:27 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sun, 11 Mar 2007 17:17:27 -0400 (EDT) Subject: [Raven-devel] [175] vendor/jruby/current: Load jruby-0.9.8/ into vendor/jruby/current. Message-ID: <20070311211729.060575240B3E@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070311/ff7719bd/attachment-0001.html From nobody at rubyforge.org Sun Mar 11 17:31:29 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sun, 11 Mar 2007 17:31:29 -0400 (EDT) Subject: [Raven-devel] [177] trunk/vendor/jruby: merging jruby-0.9.8 into trunk Message-ID: <20070311213130.B8F055240B3F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070311/d994d51e/attachment-0001.html From rubyforge at foemmel.com Sun Mar 11 17:35:52 2007 From: rubyforge at foemmel.com (Matthew Foemmel) Date: Sun, 11 Mar 2007 16:35:52 -0500 Subject: [Raven-devel] JRuby 0.9.8 Message-ID: <7D48FBAF-25D5-4CDB-A2B1-82D901522C61@foemmel.com> Hi all, I've updated the version of JRuby in the Raven repository to 0.9.8. You'll need to do a clean build of jruby to get the changes (i.e. run "ant clean jar" in the vendor/jruby directory). If you run into any problems please let me know. Cheers, Foemmel From matthieu.riou at gmail.com Sun Mar 11 20:58:29 2007 From: matthieu.riou at gmail.com (Matthieu Riou) Date: Sun, 11 Mar 2007 16:58:29 -0800 Subject: [Raven-devel] JRuby 0.9.8 In-Reply-To: <7D48FBAF-25D5-4CDB-A2B1-82D901522C61@foemmel.com> References: <7D48FBAF-25D5-4CDB-A2B1-82D901522C61@foemmel.com> Message-ID: Just coming back from a long week-end... thanks for doing the merge. On 3/11/07, Matthew Foemmel wrote: > > Hi all, > > I've updated the version of JRuby in the Raven repository to 0.9.8. > You'll need to do a clean build of jruby to get the changes (i.e. run > "ant clean jar" in the vendor/jruby directory). If you run into any > problems please let me know. > > Cheers, > Foemmel > _______________________________________________ > Raven-devel mailing list > Raven-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/raven-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070311/4456b5f7/attachment.html From matthieu.riou at gmail.com Tue Mar 13 23:07:57 2007 From: matthieu.riou at gmail.com (Matthieu Riou) Date: Tue, 13 Mar 2007 19:07:57 -0800 Subject: [Raven-devel] multi-rakefile builds In-Reply-To: <80E3A47A-E47F-4171-9EED-0BF9DBBBB17A@foemmel.com> References: <80E3A47A-E47F-4171-9EED-0BF9DBBBB17A@foemmel.com> Message-ID: I've been thinking about it for a little while, to see if some accidental and random brain cell activity could lead to a better idea but haven't found anything better than what you suggest. So I guess it's good enough. Beside it won't be hard to modify if we come up with something else later. Cheers, Matthieu On 3/9/07, Matthew Foemmel wrote: > > Hi all, > > I'd like to take a stab at implementing the following feature, and > would like to get some input on the best way to approach it: > > http://rubyforge.org/tracker/index.php? > func=detail&aid=8536&group_id=2189&atid=8549 > > The basic idea is that users would be able to split their rakefiles > up into multiple files in different directories. All of the file > paths specified in the rakefile would be relative to the directory > the rakefile is in (similar to the way file paths in ant are relative > to the directory the build.xml file is in). This would give us the > ability to handle large projects by breaking them up into smaller > ones, without forcing people into a "recursive make" scenario. > > I can't think of an clean way to associate a task with the directory > it was defined in, however. One way would be to just scan the > Kernel.caller array looking for a "rakefile.rb" entry, but that seems > like a bit of a hack to me. Maybe it's fine though... > > Any ideas? > > Cheers, > Foemmel > _______________________________________________ > Raven-devel mailing list > Raven-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/raven-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070313/6e4b5ca6/attachment.html From nobody at rubyforge.org Thu Mar 15 12:42:15 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 15 Mar 2007 12:42:15 -0400 (EDT) Subject: [Raven-devel] [178] trunk/bin: added scripts for windows Message-ID: <20070315164216.7D7D15240C93@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070315/2a8c87a5/attachment.html From nobody at rubyforge.org Thu Mar 15 15:09:18 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 15 Mar 2007 15:09:18 -0400 (EDT) Subject: [Raven-devel] [179] trunk: fixed bugs in windows scripts Message-ID: <20070315190918.B48035240CA3@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070315/2c9875b8/attachment.html From nobody at rubyforge.org Fri Mar 23 21:19:00 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 23 Mar 2007 21:19:00 -0400 (EDT) Subject: [Raven-devel] [180] trunk/lib/raven/tasks/javac_task.rb: fixed javac so that it only includes *.java files, even if you "includes" filter is given Message-ID: <20070324011900.196655240CB5@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070323/f3a67260/attachment.html From nobody at rubyforge.org Fri Mar 30 15:50:45 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 30 Mar 2007 15:50:45 -0400 (EDT) Subject: [Raven-devel] [181] trunk/bin/javac.jar: added custom javac-1.7.0-ea jar to fix bug running compiles in parallel Message-ID: <20070330195045.1301B5240BB6@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070330/0303df97/attachment-0001.html From nobody at rubyforge.org Fri Mar 30 15:51:19 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 30 Mar 2007 15:51:19 -0400 (EDT) Subject: [Raven-devel] [182] trunk/bin/rserve: added custom javac-1.7.0-ea jar to fix bug running compiles in parallel Message-ID: <20070330195119.7038C5240BF7@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070330/780795a6/attachment.html From rubyforge at foemmel.com Fri Mar 30 16:37:10 2007 From: rubyforge at foemmel.com (Matthew Foemmel) Date: Fri, 30 Mar 2007 15:37:10 -0500 Subject: [Raven-devel] (no subject) Message-ID: <3B2CE1E7-E30D-4CC3-8DFB-548A9EDA0518@foemmel.com> Hi all, A couple things: 1) I've checked a jar called "javac.jar" into the "bin" directory. It's basically a version of the now open-source jdk 7 compiler, with a minor change to fix this bug: https://openjdk.dev.java.net/servlets/ReadMsg?list=compiler- dev&msgNo=260 Without this patch, you occasionally get strange errors when running parallel compiles. I have to pass the jar in using the bootclasspath, since the normal compiler is in the runtime jar on macs. I realize including our own compiler jar seems strange - how do people feel about this? 2) After fixing the javac bug I started coming across a bug in JRuby when doing parallel builds: http://archive.jruby.codehaus.org/dev/3D1EB48F-26F1-4C46- B547-3A245A49D21B%40foemmel.com This problem is fixed by using the trunk version of JRuby. Given how frequently we need to upgrade to the trunk version of JRuby, and how infrequently we update the JRuby code in the raven repository, what do you guys think about changing "vendor/jruby" to just be an "svn:external", which points to the main JRuby trunk? Cheers, Foemmel From jbouwman at herzumsoftware.com Sat Mar 31 13:26:43 2007 From: jbouwman at herzumsoftware.com (jbouwman) Date: Sat, 31 Mar 2007 12:26:43 -0500 Subject: [Raven-devel] Minor 2.0 patches Message-ID: <460E99D3.3060401@herzumsoftware.com> Hello I've seen a few small issues on trunk, and had to make the following changes to get it working for me: 1. In javac_task.rb, had to push @destdir onto the class_dirs channel in order for jar task to see it. Is this code changing? The comment above mentions this channel, so it seemed odd that it was missing. 2. In gem_task.rb, changed the :project attribute writer to :group, which seems to be the code's 'mavenistic' intention. 3. Also in gem_task, changed the task name from 'gem', since it collides with a similarly named function in JRuby 0.9.8. Not sure what the best name would be here. 4. in java_tasks.rb, change to ignore both ".xyz" and "xyz~" filenames in raven/task directories on the load path, ir order to ignore emacs backup files. I do think it makes sense to use an svn external to pull in jruby--I was surprised not to see that, on looking at the sources for the first time. I've attached diff output for the above things. Thanks! Jesse -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: raven.patch.txt Url: http://rubyforge.org/pipermail/raven-devel/attachments/20070331/1f77d869/attachment.txt From nobody at rubyforge.org Sat Mar 31 15:05:20 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 31 Mar 2007 15:05:20 -0400 (EDT) Subject: [Raven-devel] [183] trunk/lib/raven: Applying fixes as suggested by Jesse on the mailing-list. Message-ID: <20070331190520.9559D52409A6@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070331/1b673f52/attachment.html From matthieu.riou at gmail.com Sat Mar 31 15:54:31 2007 From: matthieu.riou at gmail.com (Matthieu Riou) Date: Sat, 31 Mar 2007 12:54:31 -0700 Subject: [Raven-devel] Minor 2.0 patches In-Reply-To: <460E99D3.3060401@herzumsoftware.com> References: <460E99D3.3060401@herzumsoftware.com> Message-ID: Hi Jesse, I've just applied your fixes, they all make sense. Thanks a lot! JRuby is imported as a vendor branch (see the vendor directory under to repository root). The goal was to be able to patch the sources directly if we needed to fix something, as JRuby is still not quite there. However they tend to be pretty responsive and apply patches almost immediately so maybe we could transition to svn:external. What do you think Matthew? Cheers, Matthieu On 3/31/07, jbouwman wrote: > > Hello > > I've seen a few small issues on trunk, and had to make the following > changes to get it working for me: > > 1. In javac_task.rb, had to push @destdir onto the class_dirs channel in > order for jar task to see it. Is this code changing? The comment above > mentions this channel, so it seemed odd that it was missing. > > 2. In gem_task.rb, changed the :project attribute writer to :group, > which seems to be the code's 'mavenistic' intention. > > 3. Also in gem_task, changed the task name from 'gem', since it collides > with a similarly named function in JRuby 0.9.8. Not sure what the best > name would be here. > > 4. in java_tasks.rb, change to ignore both ".xyz" and "xyz~" filenames > in raven/task directories on the load path, ir order to ignore emacs > backup files. > > I do think it makes sense to use an svn external to pull in jruby--I was > surprised not to see that, on looking at the sources for the first > time. I've attached diff output for the above things. > > > Thanks! > > > Jesse > > > > Index: raven/tasks/javac_task.rb > =================================================================== > --- raven/tasks/javac_task.rb (revision 182) > +++ raven/tasks/javac_task.rb (working copy) > @@ -87,6 +87,7 @@ > > # Add compiled classes dir to classpath and class_dirs channels > channels.classpath << @destdir > + channels.class_dirs << @destdir > end > > def build_path > Index: raven/tasks/gem_task.rb > =================================================================== > --- raven/tasks/gem_task.rb (revision 182) > +++ raven/tasks/gem_task.rb (working copy) > @@ -22,7 +22,7 @@ > # project/module directory structure. Otherwise, just set the > # artifact and project to any value that suits you. > class GemTask < Rake::Task > - attr_writer :version, :artifact, :project > + attr_writer :version, :artifact, :group > > def execute > super > @@ -60,6 +60,6 @@ > end > end > > -def gem(args, &block) > +def makegem(args, &block) > Raven::Tasks::GemTask.define_task(args, &block) > end > \ No newline at end of file > Index: raven/java_tasks.rb > =================================================================== > --- raven/java_tasks.rb (revision 182) > +++ raven/java_tasks.rb (working copy) > @@ -19,11 +19,16 @@ > require 'set' > require 'raven/tasks/matching_task' > > +# Exclude editor tempfiles > +def excluded_task(task_filename) > + task_filename[0,1] == '.' || task_filename[-1,1] == '~' > +end > + > # Load all files in the "raven/tasks" directory on the load path > ($:).each do |base| > if FileTest.directory?(base + '/raven/tasks') > Dir.foreach(base + '/raven/tasks') do |task| > - require 'raven/tasks/' + task unless task[0,1] == '.' > + require 'raven/tasks/' + task unless excluded_task(task) > end > end > end > > _______________________________________________ > Raven-devel mailing list > Raven-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/raven-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070331/843896a8/attachment.html From nobody at rubyforge.org Sat Mar 31 16:19:15 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 31 Mar 2007 16:19:15 -0400 (EDT) Subject: [Raven-devel] [184] branches/v1.x/lib/raven.rb: Fixed typos. Message-ID: <20070331201915.B06155240A39@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raven-devel/attachments/20070331/f2a32308/attachment-0001.html