Exclude a patternset from a filesetIf I have a patternset defined what is the easiest way to later define a fileset that excludes everything that is included in the patternset?Junit and java.security.AccessControlException: access denied (file permissiIt turns out that setting java.security.manager system property to an empty value inside the <junit > task was the culprit <sysproperty key "java.security.manager " value " "/ > I am not sure why thi?????Anyone written an Ant shell yet?as far as calling the targets you can call ant with multiple command line arguments like and clean compile jar all on one line... -----Original Message----- From Steve Loughran [mailto steve_l@(protected)foreach directory copy questionGood afternoon I 'm trying to copy the contents of a master directory to several client directories as part of my build. The requirements include not to overwrite some of the existing client buildJunit and java.security.AccessControlException: access denied (file permission)Hello I am using Ant 1.5.2 with JDK 1.4.1_02 on a Red Hat 7.3. Then running JUnit task I always get an error such as this one [junit] Running net.wgen.amp.action.ExampleActionTest [junit]setting environmental variable from Ant scriptis there a clean platform-independent way that I am missing or I simply should have my build script generate a shell-script & call it? Thanks ~Alexeideleting directory by pattern?Hi all - I am trying to delete a temporary directory created by weblogic. I can 't predetermine the full directory name but it does follow a pattern. I tried the following but it only deletes thedomain name task?Hi Is there a platform-independent task to get the computer 's domain name (DNS suffix) in Ant for example "apache.org ". Thanks Sten Rosendahl (stro@(protected))Rename with regexp ?Hi there I 've been looking in the faq and in mailing-list archive but I don 't find a way to do this simple (?) thing. I 'd like to rename files this way file.extension - > file.extensionantcallAre properties set in an antcall meant to be available to the calling project ?War Task With Multiple XML DescriptorsI am trying to use the War taks but I have two descriptors web.xml and jboss-web.xml. I have tried a couple of things to get both in to no avail <war destfile "${out.dir}/ExWebApp.war " webxml "$JUnit Task - can 't see my test methodsHi I 'm having trouble with the JUnit ClassLoader problem as described in the ANT FAQ. Basically to enable JUnit to see other libraries without putting them in my system Classpath I 've removed optAW: AW: Anyone written an Ant shell yet?Yes that?s what wished in Bug 17659. But its rejected sorry - marked as "WONTFIX " "The problem described is a bug which will never be fixed. ". So good luck on writing and let us know -) Maybe LeAW: Anyone written an Ant shell yet?I don?t know what you understand here on "shell ". If you want to write a IDE for buildscripts have a look on Eclipse PlugIn "Planty " before (http //www.gebit.de/download/planty/about.html). If youAnyone written an Ant shell yet?Just wondering if anyone 's attempted to write an Ant shell. Developing build files using Ant is quite nice but if we could get a shell together it would provide a cross-platform shell environment aApache/Ant people at CeBITHi the Apache Software Foundation is going to man a booth at the CeBIT fair in Hannover (Germany that is 8-) next Monday. Christoph Wilhelms and myself as well as a couple of other Apache people -AW: calling script file.With <exec >. Jan Mat?rne -----Urspr?ngliche Nachricht----- Von shahaji.kadam@(protected) [mailto shahaji.kadam@(protected)] Gesendet am Donnerstag 13. M?rz 2003 09 26 An user@(protected)calling script file.i have existing script file (xxx.sh) on unix. how to run this script from within ant ?Matthew Bennett is out of the office.I will be out of the office starting 03/13/2003 and will not return until 03/16/2003. I will respond to your message when I return.Append a line with filename for each selected filesFolks I would like append a line (with the corresponding filename) for each file in a directory (including sub-directory) any ideas? <!-- example -- > DirA - > DirB - > abc.txt (append "abc.txt " to tMemory leaks with ant 1.5.x! Searching for a fixHello I 'm using ant with eclipse 2.1 RC1. The memory leaks caused problems after 20-30 builds. Does anyone know how to fix ant 1.5.1/2? Thanks J?rgen<csc > with Many FilesHello All When I try to compile C# code using the <csc > task I get the following error message [csc] The following character string is too long [csc] /nologo /debug- /incremental- /main vBuild classpath dynamicallyHello I am working currently in a project which describes dependencies in a file and downloads it from a repository (sf.net/projects/greebo). So basically I would like to add a property or even beClasspath in Java taski am writing a task that wraps a java routine. my (squonking good) copy of 'java development with ant ' gives an example of this (p. 491). so in my task i create a Java object in my execute() and try thelp configuring Log4jListener?Hi I posted yesterday about appending to an ant logfile rather than overwriting it. Thanks for the responses - I think that the best would be for me to run a listener and then work with the outputEAR taskHi I 've recently upgraded from Ant 1.4 to Ant 1.5.2 and I 've noticed that my EAR task is no longer bundling my application.xml file to the meta-inf/ directory of the ear file. I ran the task in vWhat happens to my slashesI am building a simple substring task that breaks a string into two halves. Somehow though if a parameter that I pass in has slashes in them they disappear. I am sure that I am doing something wrongexit codes (s/b KJS#00005(20030311a))1. if you <exec > anything you can get the result code into a property look up <exec > p124-131 for xml and ?ExecTask class? 2. are you trying to set the exit code of ant so that containers can call itAW: Log4JListener problemTry -listener instead of -logger. Jan Mat?rne -----Urspr?ngliche Nachricht----- Von Shawn Wilson [mailto shawnw@(protected)] Gesendet am Mittwoch 12. M?rz 2003 17 04 An user@(protected) BLog4JListener problemHello I 'm trying to use the Log4JListener with ant but receive an error as follows # ant -verbose -logger org.apache.tools.ant.listener.Log4jListener clean Apache Ant version 1.5.1 compiled on Oc
|