java_tasks.rb

Path: lib/raven/java_tasks.rb
Last Update: Tue Mar 13 18:24:11 -0700 2007

Copyright 2006 Matthieu Riou

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Required files

rake   fileutils   set  

Methods

gem_wrap   gem_wrap_inst   jar   jar_source   javac   javadoc   junit   lib_dir   war  

Public Instance methods

[Source]

     # File lib/raven/java_tasks.rb, line 463
463:   def gem_wrap(args, &block)
464:     Raven::GemWrapTask.define_task(args, &block)
465:   end

[Source]

     # File lib/raven/java_tasks.rb, line 467
467:   def gem_wrap_inst(args, &block)
468:     Raven::GemInstallTask.define_task(args, &block)
469:   end

Shortcut to jar. Only 3 letters, isn‘t that beautiful?

[Source]

     # File lib/raven/java_tasks.rb, line 438
438:   def jar(args, &block)
439:     Raven::JarTask.define_task(args, &block)
440:   end

I think you‘ve got it now.

[Source]

     # File lib/raven/java_tasks.rb, line 443
443:   def jar_source(args, &block)
444:     Raven::JarSourceTask.define_task(args, &block)
445:   end

Shortcut to the Javac task creation. Makes it handy.

[Source]

     # File lib/raven/java_tasks.rb, line 433
433:   def javac(args, &block)
434:     Raven::JavacTask.define_task(args, &block)
435:   end

[Source]

     # File lib/raven/java_tasks.rb, line 459
459:   def javadoc(args, &block)
460:     Raven::JavaDocTask.define_task(args, &block)
461:   end

[Source]

     # File lib/raven/java_tasks.rb, line 447
447:   def junit(args, &block)
448:     Raven::JUnitTask.define_task(args, &block)
449:   end

[Source]

     # File lib/raven/java_tasks.rb, line 451
451:   def lib_dir(args, &block)
452:     Raven::LibDirTask.define_task(args, &block)
453:   end

[Source]

     # File lib/raven/java_tasks.rb, line 455
455:   def war(args, &block)
456:     Raven::WarTask.define_task(args, &block)
457:   end

[Validate]