diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-03-11 19:17:26 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-03-11 19:17:26 +0000 |
| commit | 78fb44d99d1749652caa7111899b737044eac592 (patch) | |
| tree | 64e3f235f53289e6b50c93e474440de54bba0742 /buildtool.cpp | |
| parent | fix by Albin Sunnanbo for dash offset in text (diff) | |
| download | inkscape-78fb44d99d1749652caa7111899b737044eac592.tar.gz inkscape-78fb44d99d1749652caa7111899b737044eac592.zip | |
Add more javac stuff. Add target="" attribute to javac
(bzr r5056)
Diffstat (limited to 'buildtool.cpp')
| -rw-r--r-- | buildtool.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/buildtool.cpp b/buildtool.cpp index 5d0eb429c..c1028c526 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -4,7 +4,7 @@ * Authors: * Bob Jamison * - * Copyright (C) 2006-2007 Bob Jamison + * Copyright (C) 2006-2008 Bob Jamison * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -38,7 +38,7 @@ * */ -#define BUILDTOOL_VERSION "BuildTool v0.7.4, 2007 Bob Jamison" +#define BUILDTOOL_VERSION "BuildTool v0.7.5, 2007 Bob Jamison" #include <stdio.h> #include <fcntl.h> @@ -6696,6 +6696,12 @@ public: cmd.append(" -sourcepath "); cmd.append(srcdir); cmd.append(" "); + if (target.size()>0) + { + cmd.append(" -target "); + cmd.append(target); + cmd.append(" "); + } for (unsigned int i=0 ; i<fileList.size() ; i++) { String fname = fileList[i]; @@ -6749,6 +6755,8 @@ public: error("<javac> required both srcdir and destdir attributes to be set"); return false; } + if (!parent.getAttribute(elem, "target", target)) + return false; return true; } @@ -6757,6 +6765,7 @@ private: String command; String srcdir; String destdir; + String target; }; |
