Re: Newbie: task can't find my source files

2011-08-23 Thread Ego
> You might try to compute the dir and hand that value to > javac... > > For example: > > property="basedir.basename"/> > > > .../> > > > Not sure that will fix it...but it may :) It didn't in fact. Thanks anyway for all the help. -

Re: variable number of link element in javadoc

2011-08-23 Thread Dominique Devienne
On Mon, Aug 22, 2011 at 5:14 PM, Shawn Castrianni wrote: > When using fileset, I sometimes need to programmatically set my includes at > build time.  Therefore, I use the includes attribute on fileset allowing me > to build up a list of includes separated by commas into an ANT property and > th

RE: variable number of link element in javadoc

2011-08-23 Thread Shawn Castrianni
my question is not asking about fileset. it is asking about javadoc From: Parag Doke [parag.d...@gmail.com] Sent: Tuesday, August 23, 2011 2:26 AM To: Ant Users List Subject: Re: variable number of link element in javadoc Hello Shawn. The fileset supports a

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Brian FitzGerald
Hey guys, Thanks for the responses and tips. I have put the CALL statement into the script. Before, I was opening the file before by double clicking on it (as Andy guessed). By running it from the command line it looks to be running just fine - no errors! Now to actually create the build and s

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Santanu Basu
Brian, How are you opening command prompt? From start->run by typing 'command' or by typing 'cmd'? Thanks, From: Brian FitzGerald To: Ant Users List Date: 08/23/2011 03:19 PM Subject: Re: Ant not respecting JAVA_HOME Thanks a lot for the help guys. Definitely making improvements. The P

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Stephen Connolly
On 23 August 2011 10:41, Brian FitzGerald wrote: > Thanks a lot for the help guys.  Definitely making improvements.  The > Progra~1 shorthand works to get Ant to find the right JDK when setting the > JAVA_HOME manually before running the build... without having to manually > set ANT_HOME, etc (com

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread andy . ling
Brian FitzGerald wrote on 23/08/2011 10:41:12: > I wrote a little .bat file (my first one, hence the ignorance), > but it closes and opens before I can see the output to confirm there are no > errors. This is what it looks like: > > pause > cd C:\AntTest > set JAVA_HOME=C:\Progra~1\Java\jdk1.6

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Brian FitzGerald
Thanks a lot for the help guys. Definitely making improvements. The Progra~1 shorthand works to get Ant to find the right JDK when setting the JAVA_HOME manually before running the build... without having to manually set ANT_HOME, etc (commands below). So I guess that is just something I will ne

Re: variable number of link element in javadoc

2011-08-23 Thread Parag Doke
Hello Shawn. The fileset supports an includesfile attribute which could point to a file containing patterns. If you can generate a file at runtime, would this help ? http://ant.apache.org/manual/Types/fileset.html Thanks, Parag Doke Save paper, save trees. Do not print emails/documents unless abso

Re: Ant not respecting JAVA_HOME

2011-08-23 Thread Parag Doke
One more suggestion (same as the last email from Santanu) ... Please try setting PATH to include JAVA_HOME\bin first and then the existing PATH. So before you invoke ant from the cmd, type this: set PATH=%JAVA_HOME%\bin;%PATH% I suspect that the JRE installation has put some kind of java.exe under