When I double-click on a target name in the AntFarm
window, the command sent to the console has a rogue
space character in it (e.g. "! all" rather than "!all")
which means that the command is not executed properly
(it runs a build for the default target and treats the
target name as a property). This happens when using
both build execution methods.
I'm using jEdit 4.2final, Console 4.2.6, and XML 0.13.
Logged In: YES
user_id=935841
Fixed. Committed.
diff -u -3 -p -r1.16 AntTree.java
--- antfarm/AntTree.java 14 Mar 2006 06:51:23 -0000
1.16
+++ antfarm/AntTree.java 26 Apr 2006 15:46:24 -0000
@@ -885,7 +885,7 @@ public class AntTree extends JTree
if (properties == null) return;
Console console =
AntFarmPlugin.getConsole( _view );
- console.run(
AntFarmPlugin.ANT_SHELL, "! " + _target.getName()
+ console.run(
AntFarmPlugin.ANT_SHELL, "!" + _target.getName()
+ " " + properties );
}