How to retrieve Java runtime directoryHi! How can we retrieve the directory of the Java runtime which executing the Ant 's build file? I have two Java versions installed and I would like to print the Java runtime information when bAW: How to combine multiple file sets ?Usually you use <path >s for them ... Jan > -----Urspr?ngliche Nachricht----- > Von duvelbier-tsmets@(protected) [mailto duvelbier-tsmets@(protected)] > Gesendet am Montag 25. April 2005 15 15How to combine multiple file sets ?I thought I could have had something like this <fileset id "base.src " dir "base " casesensitive "yes " defaultexcludes "yes " > <include name "com/customer/base/** "/ > <exclude name "cAW: Unable to locate tools.jar. Expected to find it in...You dont have a JDK (development kit) installed. A runtime environment doesnt have the tools.jar. Jan -----Urspr?ngliche Nachricht----- Von Sam Huang [mailto samhng@(protected)] Gesendet aUnable to locate tools.jar. Expected to find it in...Hello I setup Ant but this message come across Unable to locate tools.jar. Expected to find it in C \program files\java\jre1.5.0_01\lib\tools.jar What is going wrong? Thanks! Regards Sam HwANT_HOME is set incorrectly or ant could not be locatated. Please set ANT_HOHello --- Sam Huang <samhng@(protected) > wrote > Hello > As a beginner of Ant I use the command > set ant_home D \apache-ant-1.6.2\bin > to setup my ant but resulted a message as title. > HowANT_HOME is set incorrectly or ant could not be locatated. Please set ANT_HOME.Hello As a beginner of Ant I use the command set ant_home D \apache-ant-1.6.2\bin to setup my ant but resulted a message as title. How to correct it? Thanks! Regards Sam Hwang <!DOCTYPClasspath for Taskdef?Hi! There are times we have to explicity set the CLASSPATH before executing Ant e.g. specifying the 3rd party JAR where the new Ant task is defined. Otherwise we will hit the error 'taskdef claJavac questionIf you can get the list of directories into a file you could use loadfile to load the file into a property. You can then transform the property into a delimited list then use the antcontrib for to pANT: Javac questionHi I 'm currently trying to convert many archaic batch files that invoke the build manually to ant/xml to automate my job. I 'll give you a synopsis of my current problem and how it 's set up rig<rant > inheritrefs just seems to plain not work </rant >We 've been an Ant user for several years and overall think it 's great. But something we 've never been able to get working properly is inheritrefs either now in 1.6.2 or any previous versions.Question about ant pach errorHi I?m trying to run ant for the slide project but get the following error BUILD FAILED C \webck\jakarta-slide\wck\build.xml 190 java.io.IOException CreateProcess patch -i C \webck\jakaAW: AW: AW: Installing Ant under Windows XP> *Were you installing as the Administrator or a limited access user? For Ant you dont have to be an Admin - just extract the binary distro. > *And in My Computer | Properties | Advanced TabUnrelated ANT questionsOK 1. Could someone please point me to the ANT mailing list etiquette page. I do have a certain decorum but just didn 't wanna step on any toes. However I don 't see anything on http //ant.apAW: Out of Memory ErrorHi Ivan Thanks a lot for this very useful information. I didn 't know about the ANT_OPTS env variable... I just altered my ant.bat file but there seems to be a prob with the initialization of myOut of Memory ErrorGood morning list I encountered a slight problem when doing my xslt transformations by an ant build file. It seems that I am running out of memory. Do can I give ant a bigger share of my memorAW: AW: Installing Ant under Windows XPdoes "java -version " work? Jan > -----Urspr?ngliche Nachricht----- > Von Daniele Gianni [mailto daniele_gianni2003@(protected)] > Gesendet am Donnerstag 21. April 2005 09 48 > An Ant Users LAW: Installing Ant under Windows XPcan you go into ANT_HOME\bin directory and execute .\ant -version ? Jan > -----Urspr?ngliche Nachricht----- > Von Daniele Gianni [mailto daniele_gianni2003@(protected)] > Gesendet am DonnInstalling Ant under Windows XPHi Ant community I 'm trying to set up Ant under Windows XP I have followed all the steps required in the Ant manual (ie setting every enviroment variable etc) but I 'm not able to run Ant inChanging method signatures WAS Re: Extension of the Javah-Task--- Stefan Bodewig <bodewig@(protected) > wrote > On Wed 20 Apr 2005 Matt Benson > <gudnabrsam@(protected) > wrote > > > > (2) Use addFileset(FileSet fs) and add fs to > collection on each > > > iAINASL! Help with Parsing Files with Ant> This is how my file should look like at anytime or rather build+1 > > ---------- content of target file [version.txt]ANT: AINASL! Help with Parsing Files with AntHi I know Ant is not a scripting language however is there a way to checkout a file [version.txt] out of CVS whose content as displayed below need to be changed & incremented automaticallyGetting WebLogic WL tasks to work in Ant 1.6.2WebLogic 8.1 comes with a set of Ant tasks. These work fine in Ant 1.5.4 but they fail in Ant 1.6.2. In Ant 1.5.4 I just dump the "weblogic.jar " in $ANT_HOME/lib. When I do this in Ant 1.6.2 IUsing ant properties in <replace > file -- SuccessThe reason that I can 't use @@(protected)@@ @@(protected)@@\main.properties is the same reason that my original approach wouldn 't work... the <replace > task does not examine/process tExtension of the Javah-Task-----BEGIN PGP SIGNED MESSAGE----- Hash SHA1 Hi I am new to the list so forgive me if I am asking the obvious -) I have the following problem I need to run javah for a quite large amant build script failingHi I have following ant script to build a project but its failing at the clean target as below can someone please let me know what could be the cause? I made sure that the srchome variable was sUsing ant properties in <replace > fileHello all Just want to make sure that ANT 1.6.2 can NOT do the following (otherwise I am doing something wrong... which could never be -)) Wanting to replace a bunch of values in a file sotaskdef classpath problem when invoking ant from javaHi there. I have a problem when invoking ant (1.6.1) from a Quartz job which is scheduled in a webapp I have placed the following ant jars in the webapps classpath (WEB-INF/lib) ant.jar antClassCastException using a macroHi I have a ClassCastException when ant uses a macro called j2eeapp-deploy. What is strange is that the exactly same macro when called from another build file works perfectly. I have noticed thProblem with csc on OS XI am currently trying to build a .NET application on my OS X box. I have it successfully building on my WinXP box so I am confident the build.xml is correct. The issue arises with csc. It
|