Re: Ant works in Dos Window but not Cygwin Window

2009-06-09 Thread Chad McHenry
$ANT_HOME and $JAVA_HOME should be windows format, e.g. ANT_HOME=C:\java\ant JAVA_HOME=C:\java\jdk I set these via the system so they are available in DOS or bash. When Java is running on a windows machine (regardless of cygwin's presence) it wants windows style paths. We also have to qu

Re: How do I run maven build from ant

2009-03-25 Thread Chad McHenry
The maven team has created a set of Ant tasks to do some of the things maven does. I have not used it myself: http://maven.apache.org/ant-tasks/index.html However, once upon a time I did use a set of macros that would invoke maven. It was part of the JavaGen Ant Modules, which are no longer mainta

Re: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Chad McHenry
Just correcting my example; obviously you only want to quote the individual arguments: On Tue, Sep 30, 2008 at 9:00 AM, Chad McHenry <[EMAIL PROTECTED]> wrote: > I'm surprised Andy's suggestion did not work, as it is the equivalent of > placing quotes around the individual

Re: Build fails when 'java' task's "arg line" contains a directory path with spaces

2008-09-30 Thread Chad McHenry
I'm surprised Andy's suggestion did not work, as it is the equivalent of placing quotes around the individual arguments. Two things you could look into: First, are you sure the java app you are running (com.abc.a in the example) can handle spaces in filenames, and the bug is not in the program itse

Re: Confirmation popup

2008-07-24 Thread Chad McHenry
This sounds more like a CGI / html question than an ant question. It sounds as though you simply want a javascript confirm dialog on the page where the users invokes the ant script. How does that happen now, by clicking a link in their browser? If so have your CGI generate something like this fo

Re: Cross-compilation problem

2008-02-22 Thread Chad McHenry
On Fri, Feb 22, 2008 at 12:46 PM, Christian Schröder <[EMAIL PROTECTED]> wrote: > Scot P. Floess wrote: > > Curious, why don't you just use the 1.5 javac but target 1.4? That > > should do what you want... I think all you will need to do is this: > > > The problem is that the 1.5 javac won't com