multiple definion of taskdef loads the same libraries again?Hi I am not really sure but it seems to me that multiple taskdef tries to redefine the task that is already defined and loads the same libraries again without releasing the memory that was usedAW: group build ?Make a start buildfile. <project name "starter " default "all " > <target name "a " > <ant dir " "/ > </target > <target name "b " > <ant dir " "/ > </target > <target name "b " > <ant dir " "/ > </target >group build ?Hi i want to build different projects independently. e.g. A B and C also want to build some group of projects. e.g (A and C) or (A and B) any idea How to do this ? Thanks ShahajiBuilding a classpath using includesfileI 'm trying to use a classpath from an external patternset file thus <javac destdir "${location.build} " srcdir "${location.source} " > <classpath > <fileset includesfile "classpath.patternset "/ >AW: JAR WAR Best practicesMaybe a parameterized target could help. <target name "makeWar " > <property name "webxml " value "default-web.xml "/ > <property name "additionalFS " value "noAddFS "/ > <fileset id "noAddFS "/ >WG: Convert CVS tag to release numberI thought it is a common task to tag a release in CVS exactly the same as the supposed release number. How do you tag your releases? Now I use an ANT target (build_release) where the user must enterJAR WAR Best practicesHi I am building a project which creates many WAR and JAR files for distribution. I have broken these down into two common base files a WAR and a JAR that all other distributables can extend from.junit stack trace truncatedDoes anyone know how to keep the stack trace from getting truncated when running JUnit tests? (I 'm pretty sure it 's not JUnit doing the truncation as the source for JUnit doesn 't truncate the wayAW: any way to append to a logfile?But you can use the Log4JListener. With -Dlog4j.configuration myLog4jFile you define how Log4J should log. E.G. via FileAppender (which supports appending). ant -listener org.apache.tools.ant.lisRPM taskhello can anybody tell how can i use RPM task in my build.xml file at the ant documentaion doesnt give any clear picture about RPM. thanx priteshAW: Any date format task?AFAIK there is nothing "Date "-specific. But you can use the optional task <replaceregexp >. <replaceregexp file "aFileWithMyTimestamp " match "tstamp.old ([1-2][0-9][0-9][0-9])([0-1]?[0-9]?)([0-exit codes (was Re: KJS#00004 Appendix_E (BookMarks) (20030311))----- Original Message ----- From "Info " <Info@(protected) > To "Ant Users List " <ant-user@(protected) > Sent Tuesday March 11 2003 16 14 Subject ANT KJS#00004 Appendix_E (BookMarks) (20030ANT: KJS#00004 Appendix_E (BookMarks) (20030311)In the Manning & Sams books and onLine I have not found an equivalent to the 'c ' exit(nbr) and the batch "if errorlevel " (as appropriate for an OS) - at least that I recognize. A page number in theFTP ant task (revised) still not workingI downloaded commons-net-1.0.0.jar and am still getting the same error (removed NetComponents.jar). I am using ant 1.5.2 (what does 1.6 refer to?). I am using the optional.jar provided in ant 1.5.New ant script icons show as xml iconsWhen I create a new Ant script in a new directory (e.g. COPY then PASTE) NetBeans doesn 't seem to recognize it as such. Instead it is treated like an XML file. The icon for this new file shows as aFTP ant task (revised)I can not get the FTP optional task to work. I have the taskdev setup properly. I have all required jars in my classpath (ant optional.jar and the 3rd party jars downloaded and in my lib directory.FTP optional task does not work with correct setupI can not get the FTP optional task to work. I have the taskdev setup properly. I have all required jars in my classpath (ant optional.jar and the 3rd party jars downloaded and in my lib directory.Any date format task?Is there a task available to format a timestamp from the format of yyyymmddhhmmss to something else say yyyy.mm.dd.hh mm ss ? Thanks chen.any way to append to a logfile?Hi Is there anyway to have ant append to a logfile rather than overwrite it? I have a script that runs ant several times each time running a different target. I would like to have all of the outMy task wants to have nested <classpath > elementsI want nested <classpath > (or <path > but it really is a classpath) elements in a task I 'm writing and I 've got a small point of confusion I cannot find an existing ant "Classpath " class. There 'stask depends on file changes...Greetings I would like to know if is it possible make the execution of a task depends on the changes of a specific non java file XML for instance? My readings of <depend > element is that it won 'tAW: EJB helpers...How many jars do you want to have? One per EJB or one for all EJBs? One for all The <support > must get all Helper classes because they are needed. One per EJB I think you have to define a filesEJB helpers...I 'm having problems including helper classes in my ejbs. Here 's the scenario some (but not all) of our EJBS have a "helper " subdirectory (some have a "SharedHelper " directory) how do I include thFilemode in zipfilesetDoes the filemode parameter work in the zipfileset (ant 1.5.2)? No matter what filemode I set when I unzip the zip file the file permissions are always -rwxr-xr-x Here 's the part of my ant-scriptcommand line input through exec taskPart of my build involves calling an executable which has to take some command line input. Right now on Ant 1.5.1 the build gets stuck after it prompts me for the input. I enter the desired input anAW: Tricky JSP precompilation mappingI haven?t used mapper and haven?t tried this but maybe ... from (.*)/(.*/)(.*/)(.*/)(.*/)(.*\.jsp) to \1/\2\3\4\5\6.java Jan Mat?rne -----Urspr?ngliche Nachricht----- Von Karsten Silz [maiTricky JSP precompilation mappingIm working on an Oracle project where I need to precompile JSPs. Now the problem is that the JSP precompiler always compiles all files no matter whether they have changed or not. The Ant solution s
input task: message not printed when using Log4jListener logger and
When using the log4jlistener task configured with no Console output
input tasks messages will not be printed while the ones for the echo
tasks are.
This is probably because the DefaultInputHandler |
| Page 317 of 343 |
311 312 313 314 315 316 317 318 319 320 |