Controlling log4j output from ant

2013-04-10 Thread Robert Mark
Hi All, I am having trouble controlling the output from ant to log4j. This is my log4j2.xml: And this is my build.xml: The build.xml outputs one lin

path/to/dir to path_to_dir

2004-11-22 Thread Robert Mark Bram
Hi All! I am receiving a path through the command line as a property in my Ant script. I am using the property as a path, but I also want to use it as a name, meaning that I want path/to/dir to appear as path_to_di.. Is there a way to do this? Any advice would be most welcome! Rob :) -- Robert

Calling java and capturing output to a property

2004-11-20 Thread Robert Mark Bram
Hi All! I have a small app that brings up a Java FileChooser, takes the user's selection and writes the file name to standard output. Is there a way to call that app from ant and capture the output into a property? Thanks for any advice! Rob :) -- Robert Mark Bram

Detecting -D on command line

2004-11-19 Thread Robert Mark Bram
subDirOn. My question? Is there an easier way to do this? :) Thanks for any advice! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of

Re: Beanshell from within ant

2004-10-27 Thread Robert Mark Bram
#BSF_Bean_Scripting_Framework by the line: Add the BSF bsf.jar file to ANT_HOME/lib or the classpath. because the link leads to a dead IBM page.. I (naively) assumed that the latest beanshell download was the one I wanted. Thanks! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/ B.Comp

Uses for beanshell (or other scripting language) in Ant?

2004-10-25 Thread Robert Mark Bram
Hi All! What things do people find scripting languages useful for within Ant build files? In particular, what things do people find beanshell useful for within Ant build files? Thanks for any feedback! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp

Beanshell from within ant

2004-10-24 Thread Robert Mark Bram
ng on here? Any advice would be appreciated! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/ B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of Information Technology Monash University Peninsula Ca

Delete files and subdirectories, but NOT the base dir

2004-10-12 Thread Robert Mark Bram
Hi All! I want to recursively delete everything inside build, but leaving build alone. This is what I have so far. Is there a way to do this other than deleting and re-creating the whole thing? Advice would be most welcome! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au

Access project.classpath from a Task

2004-07-01 Thread Robert Mark Bram
help would be most appreciated! Rob :) -- Robert Mark Bram B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of Philosophy Student School of Network Computing Faculty of Information Technology Monash University Peninsula Campus McMahons Rd Frankston, VIC 3199 AUSTRALIA Phone