From 2a9b27a43059f4ea8797b1d43513b98dd56f36c9 Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 11 Mar 2008 19:17:26 +0000 Subject: [PATCH] Add more javac stuff. Add target="" attribute to javac --- build.xml | 5 ++++- buildtool.cpp | 13 +++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index 38f51f160..b11905033 100644 --- a/build.xml +++ b/build.xml @@ -329,7 +329,7 @@ --> - + @@ -583,6 +583,9 @@ + + + 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 #include @@ -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 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; }; -- 2.30.2