Mercurial > projects > dwt2
diff rakefile @ 16:dbfb303e8fb0
first complete successful compile (win-only)
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 08:56:47 +0100 |
parents | bc29606a740c |
children | dccb717aa902 |
line wrap: on
line diff
--- a/rakefile Sun Mar 15 19:51:07 2009 +0100 +++ b/rakefile Wed Mar 18 08:56:47 2009 +0100 @@ -20,7 +20,7 @@ end end -def buildTree( basedir, srcdir, resdir ) +def buildTree( basedir, srcdir, resdir, dcargs="" ) puts "Building #{basedir} #{srcdir}" objdir_abs = File.expand_path( OBJDIR ) @@ -37,6 +37,9 @@ rsp.puts "-I#{srcdir_abs.to_path}" rsp.puts "-I#{dimpdir_abs.to_path}" rsp.puts "-J#{resdir_abs.to_path}" + if dcargs.size > 0 then + rsp.puts dcargs + end ALL_RESDIRS.each do | dir | rsp.puts "-J#{File.expand_path(dir).to_path}" end @@ -101,16 +104,16 @@ desc "Build jface" task :jface do - # buildTree( "org.eclipse.osgi", "src", "res" ) - # buildTree( "org.eclipse.osgi", "supplement/src", "res" ) - # buildTree( "org.eclipse.equinox.common", "src", "res" ) - # buildTree( "org.eclipse.core.runtime", "src", "res" ) - # buildTree( "org.eclipse.core.commands", "src", "res" ) - # buildTree( "org.eclipse.core.jobs", "src", "res" ) - # buildTree( "org.eclipse.jface", "src", "res" ) + buildTree( "org.eclipse.osgi", "src", "res" ) + buildTree( "org.eclipse.osgi", "supplement/src", "res" ) + buildTree( "org.eclipse.equinox.common", "src", "res" ) + buildTree( "org.eclipse.core.runtime", "src", "res" ) + buildTree( "org.eclipse.core.commands", "src", "res" ) + buildTree( "org.eclipse.core.jobs", "src", "res" ) + buildTree( "org.eclipse.jface", "src", "res" ) buildTree( "org.eclipse.text", "src", "res" ) + buildTree( "org.eclipse.jface.text", "projection", "res", "-Isrc" ) buildTree( "org.eclipse.jface.text", "src", "res" ) - buildTree( "org.eclipse.jface.text", "projection", "res" ) buildTree( "org.eclipse.ui.forms", "src", "res" ) buildTree( "org.eclipse.draw2d", "src", "res" ) end