Passing changing values from script to antHello I 'm relying on an xml file describing my build. I parse this xml in a beanshell script task thru the Xerces impl. of the DOM api What I would like to do is call an ant task from this script pProblems with FTP taskHello I am trying to upload files using the <ftp > task. But the ftp task aborts the transfer after a few files with the following message (obviously it cannot change directories but why?) uploadInstalls/deploys to... why?Hi all! I 'm a Tomcat 4.1 newbie and have the following questions using the Ant tasks 1. I 'm using Ant to (deploy/)install my web app to a local Tomcat 4.1. Any time I do that my web app gets insjunit.jar in Ant 1.5.3 distro?!?!?Why is Ant 1.5.3 shipping with junit.jar in ANT_HOME/lib??? I don 't see anything about it in WHATSNEW nor a LICENSE.junit for that matter. Plus the Manifest of that JAR doesn 't even say which versiAnt stops after certain taskI cannot figure out why Ant stops processing any more tasks after a certain task runs. The task in question completes fine but anything after it on the command line does not run. Here 's the task andI don 't understand what 's happeningHere it is my build.xmlorg.apache.tools.ant.BuildFileTestHello I have found myself highly dependent upon org.apache.tools.ant.BuildFileTest for writing unit tests for ant tasks it is a beautiful thing. That said I am struggling to find it in a distributRename directoryI have some files in a partially known directory path c \oaa-41\projects\a-project\translation\...\fr\*_fr.str. I don 't know the path for "... " which could be more than one directory deep. I wantfileset and patternset questionI have a couple of patternsets that don 't work. I have the following patterns set up that are reused through out the script <patternset id "no-servlet-jars " > <exclude name "Servlet.jar Servleexit codeWe are using InstallShield MultiPlatform as our installer. I build the installer with a java task through ant. The problem I am having is the InstallShield class returns an exit code of -1 if warninHow to continue the build if a task fails?I 'm sorry to bother you I 'm still rather a newbie to ant but I can 't seem to find a solution to the following problem My build file uses optional tasks from tomcat 4.1 to undeploy our web app and tDeploys to work/Standalone/localhost... why?Hi all! Why do the Tomcat 4.1 Ant tasks deploy and install put the context directory to <tomcat-root >/work/Standalone/localhost/ <context > at least on my machine? Anything misconfigured? <propertyNo class created when javac task failsAll I have the following task ################################################################## <target name "compile " > <javac destdir "${webapp.path}/WEB-INF/classes " optimize "off " debcopy filesIs it possible to copy files from a remote machine to my computer with ant ? Thanks SamReferences QueryHi I was wondering is it possible to create references in targets and then reference them from another target as we have the following need 1)ant target copies files from location a to locatioXSLT : incomprehensible warningHi I 've got a problem using xslt ant task. My ant version is 1.5.3. This is the log ******************************************* C \docbook >ant wordml2docbook Buildfile build.xml init [ePb with exec and unixHi I would like to run this script with ant . <project name "Pleiades " default "all " basedir ". " > <target name "Batch " > <exec dir "/plinteg/users/blanchet/exploitation/temp " executable "sh " oProblems in fail taskHello I am trying to fail my build if a property is not set in the build file. But it doesn 't work. Here 's my code <!-- Main target will be executed by default -- > <target name "main " > <availableHow to include contents of jar file in classpath when it doesn 't have a jarOn Mon 14 Apr 2003 Huw Roberts <Huw@(protected) > wrote > I want to include a .bar file (block archive from an old version of > avalon) in the classpath for compiling an application. How are you tpreserve softlink using <copy >Using <copy > in ANT how to preserve but not follow a softlink? For example in {sourceDir} I have -dir1 (the real stuff inside) -link1 (softlink to dir1) How do I use <copy > to copy those 2 in the
How to include contents of jar file in classpath when it doesn 't
Hi
I want to include a .bar file (block archive from an old version of avalon)
in the classpath for compiling an application. this works if the archive
file ends in zip or jar but fails when it e |
| Page 302 of 343 |
301 302 303 304 305 306 307 308 309 310 |