Re: how to force recompile everything using javac task

2008-07-03 Thread Geoffrey Mitchell
ase with a few source files replaced to change behavior? Kinda sounds like the wrong way to go about it. -- Geoffrey Mitchell Programmer/Analyst Home Decorator's Collection 314-684-1062

Re: Alternative to subant

2007-11-29 Thread Geoffrey Mitchell
s or suggestions? Thanks, Francisco Tolmasky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Geoffrey Mitchell Programmer/

Re: junit haltonfailure doesn't

2007-10-11 Thread Geoffrey Mitchell
ll Shaw wrote: I am using junit 4.3.1 and ant 1.7, I have haltonfailure="true" on the junit element, but all of my tests are executed even though some fail. Can I make it halt on failure? Or am I misunderstanding how that is supposed to work? -- Geoffrey Mitchell Programmer/Analyst H

Re: "catching" test failure/error (or more generally failure within calls)

2007-09-24 Thread Geoffrey Mitchell
suggestions welcome... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Geoffrey Mitchell Programmer/Analyst Home Decorator'

Re: How to convert back slashes to forward slashes

2007-08-09 Thread Geoffrey Mitchell
atters or not. Most tasks happily accept the single backslashes. -- Geoffrey Mitchell Programmer/Analyst Home Decorator's Collection 314-684-1062

Re: tag inside some other tag(cvs)

2007-04-20 Thread Geoffrey Mitchell
h your cvs version, googling gave as first match = http://ximbiot.com/cvs/cvshome/cyclic/cvs/dev-y2k.html Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Geoffrey M

Re: tag inside some other tag(cvs)

2007-04-19 Thread Geoffrey Mitchell
inside some other tag.if then,how, please tell me Thanks, prasad - Check out what you're missing if you're not on Yahoo! Messenger -- Geoffrey Mitchell Programmer/Analyst

Re: How to echo path?

2007-04-04 Thread Geoffrey Mitchell
though it is a property, and it's not. If you wanted to output the paths for debugging, what would you do? TIA! Douglas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: *****spam***** copy directory problem help please

2006-11-21 Thread Geoffrey Mitchell
The dir element specifies the base directory for the copy. If you want the package directories to be included, you need the base dirctory to be your source directory. Narahari 'n' Savitha wrote: Friends, I have this situation src |_com\test\narahari| |___Dao

Re: *****spam***** Conditional execution of tasks

2006-08-31 Thread Geoffrey Mitchell
Have one target build a fileset of the modified files and give it a refid, and also use pathconvert to assign a property containing the contents of the fileset with setonempty="false". Then run your copy target conditionally on the property. Hi, A use a copy task t

Re: *****spam***** Ant Task for FOP

2006-08-26 Thread Geoffrey Mitchell
Use Xslt task to apply an XSL transform to generate your FO? [EMAIL PROTECTED] wrote: Hi, I have a question concerning an Ant Task for FOP. I want to transform documents from xml to pdf. I found an fop ant task in http://xmlgraphics.apache.org/fop/0.92/anttask.html but there is just the transfo

Jar task whenempty attribute useless!

2006-08-04 Thread Geoffrey Mitchell
When I specify a value for the "whenempty" attribute of the jar task, a warning is generated saying "JARs are never empty, the contain at least a manifest file". This means that this attribute never has any effect! What's even worse is that it means that the default behavior as stated in the

Re: *****spam***** RE: properties handling problem

2006-07-31 Thread Geoffrey Mitchell
Ant _does_ expand macro parameters the way you want, however (this discrepancy is unintuitive and baffling to me, but that's another story). So, you could make the part that checks availability a macrodef, passing in ${hostname} and ${num} as arguments. You will then be able to reference [EMA

Re: zip files, upload to ftp, unzip files

2006-02-09 Thread Geoffrey Mitchell
sshexec? Andrus, Brooks wrote: Hey, I'm an Ant noob, so I apologize in advance. I've created a simple build file which zips up a project and uploads it to an ftp site. The missing piece of the puzzle for me is how I can go about unzipping the file once its been uploaded. I'm not seeing anyth

Re: *****spam***** Adding files to CVS with Ant

2006-02-07 Thread Geoffrey Mitchell
I had problems with this too. I think what is happening is that it is trying to add your files in a directory called cvs-local/test-module, which doesn't exist in cvs, so it is failing, which is good, because this isn't what you want anyway. If you were going to do this from the command line,

Re: *****spam***** RE: Question on how to to debug mapper issues

2005-11-22 Thread Geoffrey Mitchell
Sure enough, you were correct. It seems that the "to" attribute does not handle literal relative paths very well. If I store the relative path as the location attribute of a property, no problem doing anything at all. What's up with this? Does anybody else find that buggy, or is it just me?

Re: Building ejb.jar file for webspher

2005-11-18 Thread Geoffrey Mitchell
I played with the ejbjar task a long time ago and could never get it to do what I wanted it to.  I just use the "jar" task as follows:                 Where ${meta-inf.dir} is where my deployment descriptors, etc. are generated and ${prod.class.dir}

Re: *****spam***** Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-04 Thread Geoffrey Mitchell
XDoclet 1.2.x doesnt work on java1.5??? I had no idea - I had to stick with java1.4 on my last project. Ignorance is bliss, as they say... You got me scurrying to Google, though, and there would now appear to be an XJavaDoc snapshot release which lets you use XDoclet 1.2.x with Java 1.5.,

Re: *****spam***** Re: Need to expand *.txt in java task

2005-10-28 Thread Geoffrey Mitchell
The following works under ant 1.6.5: I inadvertantly omitted the ... in my initial example. It should be mentioned that if you have spaces in the paths to your working directory, will not work as expected, as it will break arguments on

Re: Need to expand *.txt in java task

2005-10-28 Thread Geoffrey Mitchell
You could use PathConvert to convert your fileset into a string with the list of files.  You will probably want to set pathsep=" " and use arg line="${fileslist}". So, you have:    I haven't tried it, but it should work. Hi, Please forgive my stupidity, but I have spe

Recursive ant builds

2005-08-09 Thread Geoffrey Mitchell
I have developed a build system architecture which uses one common, generic build.xml file to build each module in the project. This build file can then recursively call itself with a different basedir to build modules upon which the current module depends (dependencies are configured in a per