[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #13 from Mario Emmenlauer --- But thats exactly the idea, or am I missing something? The current default is to add all jars from lib/ to classpath. I would leave this default instact, _unless_ restrictclasspath is set, in which cas

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #12 from Jan Mat --- "restrictclasspath" won't work, because placing JARs into /lib is the designed "extension point". -- You are receiving this mail because: You are the assignee for the bug.

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 Mario Emmenlauer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #10 from Mario Emmenlauer --- Stefan, this sounds like a reasonably good solution. I understand now that the script and installation can live in different directories? Then its probably good enough, thanks! PS: If someone has reall

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #9 from Stefan Bodewig --- I rarely use Windows and stopped using Cygwin once "Ubuntu on Windows" became an option. I'm not sure whether Cygwin symlinks actually work, you may have to try for yourself. But maybe you don't need a sy

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #8 from Mario Emmenlauer --- Thanks a lot Stefan for all the helpful explanations. Jan, does Ant work with Cygwin symlinks on Windows? Then this would be a solution! Otherwise the build breaks for Windows. I have more than 70 buil

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #7 from Jan Mat --- It is common to have commands in /bin etc. But it is also common to have symlinks here. So why you don't unpack Ant (and the other tools) in their own directory and create symlinks? /bin/ant --> /somewhere/ant/bi

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #6 from Stefan Bodewig --- Some of the jars contain so called optional tasks that depend on 3rd party jars that are not distributed by Ant. Our users drop said 3rd party jars in the directory and Ant picks them up - this wouldn't be

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #5 from Mario Emmenlauer --- I totally understand your arguments. At the same time I'm surprised that Ant (or any Java tools, for that matter) would choose to behave that way. The directory layout with bin/, lib/ etc is pretty stan

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #4 from Stefan Bodewig --- I'm afraid Ant is simply not designed to be used that way. It uses all jars from $ANT_HOME/lib and places them on its CLASSPATH. If you don't specify ANT_HOME explicitly it will use the "ant" shell scripts

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 Mario Emmenlauer changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #3 from Mario Emmen

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 --- Comment #2 from Mario Emmenlauer --- Created attachment 35749 --> https://bz.apache.org/bugzilla/attachment.cgi?id=35749&action=edit jar files in lib/ directory before apache ant is installed -- You are receiving this mail because: You

[Bug 62143] Installing ant alongside other java tools breaks ant

2018-03-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62143 Jaikiran Pai changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Jaikiran P