Mercurial > projects > dwt2
diff rakefile @ 94:1d37a7813832
First Databinding Snippet (004) builds
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 19 Apr 2009 17:37:36 +0200 |
parents | ebefa5c2eab4 |
children | 6208d4f6a277 |
line wrap: on
line diff
--- a/rakefile Sun Apr 19 13:49:53 2009 +0200 +++ b/rakefile Sun Apr 19 17:37:36 2009 +0200 @@ -70,6 +70,7 @@ end LIBNAMES_SWT = [ BASEDIR_SWT ] +LIBNAMES_ICU = [ "com.ibm.icu" ] LIBNAMES_EQUINOX = [ "org.eclipse.osgi.osgi", "org.eclipse.osgi.supplement", "org.eclipse.equinox.common" ] @@ -187,17 +188,19 @@ def createLib( libobjs, name ) FileUtils.mkdir_p DIR_LIB.to_path + file_lib = File.join(DIR_LIB, name + LIBEXT) + FileUtils.rm_f file_lib rsp = File.new( FILE_RSP, "w+" ) if isWindows rsp.puts "-p512" rsp.puts "-n" - rsp.puts "-c #{DIR_LIB}\\#{name}#{LIBEXT}" + rsp.puts "-c #{file_lib.to_path}" libobjs.each do |obj| rsp.puts obj.to_path end else rsp.puts "-r" - rsp.puts "-c #{DIR_LIB}/#{name}#{LIBEXT}" + rsp.puts "-c #{file_lib.to_path}" libobjs.each do |obj| rsp.puts obj.to_path end @@ -400,7 +403,8 @@ PREFIX = "JFace" SRCPATH = "EclipseJfaceSnippets" BASEPATH = "org.eclipse.jface.snippets" - libnames = LIBNAMES_BASIC + LIBNAMES_SWT + LIBNAMES_EQUINOX + LIBNAMES_CORE + LIBNAMES_JFACE + libnames = LIBNAMES_BASIC + LIBNAMES_SWT + LIBNAMES_EQUINOX + + LIBNAMES_CORE + LIBNAMES_JFACE + LIBNAMES_ICU snps_exclude = [] allsnippets = FileList[ File.join(BASEPATH, SRCPATH, "**/*.d" )] if args.explicit_snp != nil @@ -431,7 +435,8 @@ SRCPATH = "src" BASEPATH = "org.eclipse.jface.examples.databinding" libnames = LIBNAMES_BASIC + LIBNAMES_SWT + LIBNAMES_EQUINOX + - LIBNAMES_CORE + LIBNAMES_JFACE + LIBNAMES_JFACEBIND + LIBNAMES_CORE + LIBNAMES_JFACE + LIBNAMES_JFACEBIND + + LIBNAMES_ICU snps_exclude = [] allsnippets = FileList[ File.join(BASEPATH, SRCPATH, "**/*.d" )] if args.explicit_snp != nil