AW: JSP precompile with taglib files in a jar fileOh .... there were some threads in the past why you should NOT use <jspc > ... You should use unit tests for your web app (cactus httpunit...) and use the jsp-compiler of your container. Jan >----JSP precompile with taglib files in a jar fileHi I am using the following jspC task call in a WebSphere build environment to validate the JSP pages <jspc dir "${dir.web} " tempdir "${dir.build}/temp/jspc " classpath "${output.jar} "/ > ${dir.wAW: Regarding : List the subdirectories in Directory<dirset dir ". " includes "* "/ > Jan >-----Urspr?ngliche Nachricht----- >Von Lokesh Jayaraman [mailto lokesh.jayaram@(protected)] >Gesendet Montag 26. Februar 2007 07 24 >An Ant Users List >BetreffAW: VersioningWho makes the decision if that build is a major minor simple or patch build? I think a developer (human) should make that decision. So that guy set the property ... Jan >-----Urspr?ngliche NachriAW: specifying a URL as a property location [SEC=UNCLASSIFIED]You could store the URL in a property with value-attribute. Then try using <url >s [1] in your tasks most of the core tasks should handle urls (ResourceCollections) since 1.7.0. But ATM you cant use <Regarding : List the subdirectories in DirectoryHi How to get all subdirectories information from base directory using ANT task. if you know anybody let me inform. By LokeshRegarding compile only valid java files, skipping uncompilable filesHi EveryBody I used ANT script to compile only valid java files and also skip umcompilable files using following script. <project name "javac-test " default "compile " > <taskdef resource "net/sfVersioningHi I have the following for my versioning format 'major.minor.build.patch '. The build number always increments. However if the major number is changed then minor and patch reset to zero. How can Ispecifying a URL as a property location [SEC=UNCLASSIFIED]Hello. We 've got a server which holds all our common files. I 'd like to be able to reference these files via a URL instead of mapping the network drive to a directory. Specifically I 'd like to dJava 1.5.0_10 won 't allow SAR in classpathOne of our build.xml files includes a SAR (JBoss server archive) in the classpath along with a bunch of other JARs. Up until Java JDK 1.5.0_04 at least this was working fine. I recently upgraded mAdding optional tasks classpath from build.xml?is it possible to add the reference to the required jars for an optional task as a part of the build.xml? similar to the way I can add my own tasks and keep them with the build.xml this will make buNew Java Preprocessor TaskHi I would like to add the following task to the Ant External Tools / Tasks Page Name JPP (Java PreProcessor) Description A preprocessor for non-binary files that works simiGet copied filesetIs there any way to create a fileset from the copy task that lists the files that were copied into the todir? Here 's the code snippetRedirecting output to a fileI 'm trying to get Ant to build a SVN log file svn log -v --xml > logfile.log The " > " seems to be causing problems - so I dug around and found this http //ant.apache.org/faq.html#shell-redirect-1symlink taskHi I want to check to see if a symlink exists 1st and if it does not then create it. Also want to check if exists then update with other info. Thanks if advanceHelp with running different target based on user input?I 'm just getting started using Ant (from within Eclipse) to help deploy my ColdFusion projects and Oracle sql scripts. I 've had great success so far but I have finally ran into a problem I can 't figuAW: Problem : javac ANT TaskThis is a behaviour of Suns java compiler which Ant uses under the hood. I dont know if there is any (external) task to use the Eclipse compiler which could that job. Another approach is compiling eAW: empty string is interpreted as arg to java programStart Ant with "-d " or "-v " option and you 'll get the command which is used for <java >. Jan >-----Urspr?ngliche Nachricht----- >Von Mikael Petterson (KI/EAB) [mailto mikael.petterson@(protected)]AW: variable "target name "A task could use its getOwningTarget() method for retrieving that information. Because of property immutability that cant be stored in a property. And having parallel targets you 'll get troubles ...empty string is interpreted as arg to java programHi I set a property to <property name "mock.flag " value " "/ > Then in my java task I pass the following <arg value "${mock.flag} "/ > The java program interpret this as a argument value. What isProblem : javac ANT TaskHi every body I compiled java source files using javac ant task my java code files have an errror. so ant script failled to build class files for java source files. But i need to compile otherInput task problemsI have cases where i have an input task such as <input message "Enter Info " addproperty "info "/ > <input message "More Info " addproperty "more "/ > and when run I get (with shown input) [input]SQL file in Ant 1.7Here is a target I created to execute some sql files in Ant 1.7 " <target ... > <sql driver "${oracle.driver} " url "${oracle.url} " userid "${oracle.user} " password "${oraclTroubles with <input > taskI have cases where i have an input task such as <input message "Enter Info " addproperty "info "/ > <input message "More Info " addproperty "more "/ > and when run I get (with shown input) [input]variable "target name "hi i??m still quite new to ant. the answer is perhaps simple but i already searched for some hours ( Is it possible to read and use the name of a target within the same target ? something like $Running ?if? with a ?parallel? task instead of a ?sequential? task.Hi At this moment I run the target without the problems. <target name "updateFiles " description "Update the list of book.xml files " > <ac for param "dir " > <fileset dir "$documatation.out " iAW: Using ant to parse text fileI dont know any way (without writing a custom task). Jan >-----Urspr?ngliche Nachricht----- >Von DHARNA AJAY [AG/1000] [mailto ajay.dharna@(protected)] >Gesendet Donnerstag 22. Februar 2007 07Using ant to parse text fileHi all I am using Ant 1.6.5 - I would like to parse a text file that would contain the following information [Sample.txt] Test1 Group red Test2 Group blue Test3 Group green Example - Ifaccess and change values in a propertyseti need to access all change the values in a propertyset - no idea how to manipulate a propertyset outside of echo properties. I need to get the values - perform math on the values and expand those prxmlvalidate errorsI would like to run xmlvalidate over a number of fails and have it validate all files even if some validations fail but terminate the build when some validations do fail. Setting failonerror false
|