Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread Dennis Putnam
My apologies again but I have not made any progress on this problem. Is there perhaps a better forum I should be using at this point? I did make one discovery. It appears that although the application works in Eclipse when I try to export it to a runnable jar using the Eclipse wizard, the resulting

AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread jhm
Could you post the content of the manifest file and your directory structure? I suppose that the paths are not correct … Jan Von: Dennis Putnam [mailto:d...@bellsouth.net] Gesendet: Montag, 25. Februar 2019 13:09 An: user@ant.apache.org Betreff: Re: AW: Javac Run By Ant Script is Unable t

AW: Creating task/macro wrappers

2019-02-25 Thread jhm
Not sure why you want to wrap an existing Ant task ... If you want to provide default settings, you could use Jan > -Ursprüngliche Nachricht- > Von: Isaac Jurado [mailto:dipto...@gmail.com] > Gesendet: Sonntag, 24. Februar 2019 18:27 > An: Ant Users List; gudnabr...@gmail.com > Betreff:

AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread jhm
A little sample: * src\java\org\apache\ant\Application.java Sample application which uses Log4J2 as external dependency * src\resources\log4j2.xml Configuration file for Log4J2 * build.xml Ant buildscript Run the script with "ant". Then start the application with "java -jar lib\Application.j

Re: AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread Dennis Putnam
Hi Jan, I need to take a timeout. In my machinations I've created a new problem that seems unrelated to ant. I'm trying to resolve that via the Eclipse forum. I don't know if this new problem is masking the original one or if it is related. I'll have to get back to you when I know which. On 2/25/

Re: Creating task/macro wrappers

2019-02-25 Thread Isaac Jurado
Thanks for the info, I didn't know about either. By the looks of it, seems that is the opposite of what I'm trying to achieve. I'll try to explain myself again with a very narrowed and concrete example. As I mentioned, I'm trying to wrap because I want to teak some of its attributes, while le

Re: Creating task/macro wrappers

2019-02-25 Thread Matt Benson
You could conditionally with or without the desired attributes, depending on the structure of your build. :| Matt On Mon, Feb 25, 2019 at 12:39 PM Isaac Jurado wrote: > Thanks for the info, I didn't know about either. > > By the looks of it, seems that is the opposite of what I'm > trying to

Re: Creating task/macro wrappers

2019-02-25 Thread Isaac Jurado
So, if I understood that right, the idea would be to create two : one with "timeout" and another one without? If that is the case, as the number of "omittable" attributes grows, the amount of combinations increases exponentially. I may be pretty much stretching Ant beyond its limits (in terms of

isreachable Condition

2019-02-25 Thread Mark Wick
I've searched prior conversations and didn't find anything relevant. With OpenJDK 1.8 and Ant 10.10.5, I am seeing this warning when I try to run the isreachable condition: "cannot do a proper reachability test on this Java version" Looking at the org.apache.tools.ant.taskdefs.condition.IsReach

Re: isreachable Condition

2019-02-25 Thread Jaikiran Pai
Hello Mark, You are right - this indeed is a bug (only affect 1.10.x series). I have pushed a fix which should take care of this and will be available in next release. Thank you for reporting this. -Jaikiran On 26/02/19 1:57 AM, Mark Wick wrote: > I've searched prior conversations and didn't fin

AW: Creating task/macro wrappers

2019-02-25 Thread jhm
Maybe writing your own Task in Java is the easiest and most maintainable way. The task collects all data and then uses the existing testng task via delegation. (don’t forget to pass project and location reference) Jan > -Ursprüngliche Nachricht- > Von: Isaac Jurado [mailto:dipto...@gmail