Sha256: e0e385d301bd99c97fb81935a7f9da640a30c4c87c5ec135ca371f3c48c98b52

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

repositories.remote << "http://repo1.maven.org/maven2"

LOG4J = artifact("log4j:log4j:jar:1.2.16")
unless File.exist? File.join("lib", File.basename(LOG4J.to_s))
  LOG4J.invoke
  cp LOG4J.to_s, "lib"
end

define "parent" do
  
  define "child" do
    
    compile.with project.parent.path_to(File.join("lib", File.basename(LOG4J.to_s)))
    
  end
end
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
buildr-gemjar-1.1.0 vendor/buildr/tests/compile_with_parent/Buildfile
buildr-gemjar-1.0.2 vendor/buildr/tests/compile_with_parent/Buildfile
buildr-gemjar-1.0.1 vendor/buildr/tests/compile_with_parent/Buildfile
buildr-gemjar-1.0.0 vendor/buildr/tests/compile_with_parent/Buildfile