Re: Problem with condition selection property; Help needed

2007-04-09 Thread Kevin Jackson
Hi, You are setting a property to a value (n | y) in your task. As soon as you set a property it keeps that value for the whole build as ant properties are immutable. It won't behave like you expect and each time reset to the value you choose, it will just be the first value that you set. I'm

Re: javadoc

2007-04-09 Thread Scot P. Floess
Res: I have very little experience writing Windows batch files - much better versed at Linux/Unix. With that said, here is how I would do javadoc where I want to output to a directory entitled "foo," and source code that exists in the current directory within a directory entitled "java": ja

javac task + sourcepathref + excluded files = impossible?

2007-04-09 Thread Trevor Harmon
I have a list of source files that must be supplied to javac as well as several other tasks. It's a complex list with excludes, so I want to factor it out as a path reference to avoid future copy-and-paste bugs. But this doesn't seem to be possible! My path reference is defined like this:

RE: Problem with condition selection property; Help needed

2007-04-09 Thread Shailesh Sharma
I am using foreach task as you suggest previously with an example. it works except that when i select "Y" for my first selection of the file deployment, the next gives me an option to select "Y/N" ... BUT when select either Y/N ...it does not work. If i press enter again, it ask me to select Y/N

Re: javadoc

2007-04-09 Thread Res Pons
Scot Thanks for your reply. I would like to do this in Ant eventually but I think it would be easier for me to understand it in dos/batch before I tackle it in Ant. I was originally doing a for-loop but one of our engineers told me it's wrong: c:\masterproject>for /r %i in (*.java) do java

Re: javadoc

2007-04-09 Thread Res Pons
Thanks. I was reading the javadocs on Sun, they're not very easy to understand and most of the examples don't apply to my case. I'll google some more. Thanks. Original Message Follows From: "Jack J. Woehr" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject:

Re: javadoc

2007-04-09 Thread Scot P. Floess
Let me elaborate: javadoc: error - No packages or classes specified. usage: javadoc [options] [packagenames] [sourcefiles] [EMAIL PROTECTED] Notice the [sourcefiles] option? So in some fashion you need to specify which files you wish to run javadoc against... Personally I would just use the

Re: javadoc

2007-04-09 Thread Scot P. Floess
Res: You are gonna need to specify all the java files to javadoc against... Type javadoc at the command line and it will tell you so :) If you were on a *nix environment you could do something with find... Curious...why don't you want to do this with Ant in your experimentation? Clearly it d

Re: javadoc

2007-04-09 Thread Jack J. Woehr
In your installation of Java SDK documentation read carefully tooldocs/windows/javadoc.html#runningjavadoc Specifically, don't think you can put a -d switch after *.java On Apr 9, 2007, at 3:41 PM, Res Pons wrote: I would like to test and run javadoc at a DOS prompt before writing ant cod

RE: javadoc

2007-04-09 Thread Res Pons
Reposting again. Shouldn't javadoc automatically recurse through directories? It doesn't for me. I would like to run javadoc at the root of all my projects w/o telling it it each .java file. We have a multi-project platform all residing within a master project and each having their own src

RE: calling a DB2 request.

2007-04-09 Thread Ditrick, Gregory
lib.xml. It could not be found. [loadfile] loading C:\eclipse_workspace\massSQL\transactionCount.sql into property sql [loadfile] loaded 383 characters [echoproperties] #Ant properties [echoproperties] #Mon Apr 09 11:12:51 CDT 2007 [echoproperties] DSTAMP=20070409 [echoproperties] TODAY=April 9 2007 [echopr

RE: calling a DB2 request.

2007-04-09 Thread Ditrick, Gregory
dfile] loading C:\eclipse_workspace\massSQL\transactionCount.sql into property sql [loadfile] loaded 383 characters [echoproperties] #Ant properties [echoproperties] #Mon Apr 09 11:12:51 CDT 2007 [echoproperties] DSTAMP=20070409 [echoproperties] TODAY=April 9 2007 [echoproperties] TSTAMP=1112 [echopro

RE: Problem with condition selection property; Help needed

2007-04-09 Thread Anderson, Rob (Global Trade)
Are you still having problems with this? You need to use the foreach task, rather than the for task. -Rob Anderson > -Original Message- > From: Shailesh Sharma [mailto:[EMAIL PROTECTED] > Sent: Monday, April 02, 2007 7:32 AM > To: Ant Users List > Subject: RE: Problem with condition sel

calling a DB2 request.

2007-04-09 Thread Dwayne Walker
characters [echoproperties] #Ant properties [echoproperties] #Mon Apr 09 11:12:51 CDT 2007 [echoproperties] DSTAMP=20070409 [echoproperties] TODAY=April 9 2007 [echoproperties] TSTAMP=1112 [echoproperties] ant.core.lib=C\:\\eclipse\\plugins\ \org.apache.ant_1.7.0\\lib\\ant.jar [echoproperties] ant.file