${basedir} prepended to properties?I am writing a myproj_build.xml file that will go in a jar to help users use our product. Someone started putting ${basedir} in front of some of the properties but I think it is unnecessary. We haError proof Ant TaskI have a target in my script that mounts the network drive. It can be unmounted at the end of the script. However once the build fails it never gets to unmount the drive. So if i try to run it neLog4jListener code & documentationI was expecting the ant Lo4jListener logger to pick up a log4j.properties from the ${user.dir} but it apparently doesn 't. I found out I had to put the lo4j.properties in the classpath. [I guess it iSwing-App to edit build-filesHi does anybody knows or uses a swing-application for editing build-files? --Matthias -- +++ GMX - Mail Messaging & more http //www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eiSQL performance taskDoes anyone run sql based performance testing as part of their ant build. I have had a request to look into this and was wondering if anyone does this and what their thoughts are about it. My develoList of elementsIs there a method for building up a list of elements and then stuffing that into a property ? I want to build a (longish) list of packages for use in various CVS commands. I 'm looking for the equivaletask to "scrub " installation directoriesI have a memory of reading this somewhere in the Ant manual but I can 't find it now what I 'd like is a task that removes files present in an install directory but absent from the source staging direproblem finding assertFalse in junit.jarI wanted to compile the testcases today and I am stumbling against [javac] C \dev\gnu\ant\src\testcases\org\apache\tools\ant\taskdefs\ProcessDestroyerTest.java 107 cannot resolve symbol [jlib subtask of war broken in 1.5.2working with ant 1.5.2 on win2k my 'war ' task has broken from version 1.5.1 to 1.5.2. the <lib > subtask does not include the files from my project.dist directory. this works fine in version 1.5.1Junit.jar in projectI would like to place the junit.jar into my project rather than in the <ANT_HOME >/lib directory. Of course I 've read what Erik and Steve wrote about it in JDWA (4.3.6) - it 's a classloader issue whA very long classpath problem.Hello I just got a problem with a very long classpath (size ~44K) - javac could not find classes. The situation happened when I reused some subcomponent classpath in other components and many jarsDeploying to multiple serversI need to write an ant script to deploy to multiple servers. The number of servers and their properties should be configurable. For example I may want to specify that 1) We need 3 servers server1Ant1.5.2 EAR Problems --- Need Quick FeedbackI am trying to build an ear file using ANT 1.5.2 and include the following Entry in the ear task. <metainf dir "${common.dist.dir} " includes "LightSpeedCommon.jar "/ > The debug output to the screenCharactersHi there! Ant complains everytime I use characters like "? " "? " "? " or "? ". The problem is that they 're very usual in Portuguese... How can I solve this? Thanks in advance Arm?nio PintoFTP task errorEvery time I try a build using an FTP task (from Win 2k machine to Solaris) I receive the following BUILD FAILED file D /test/testproject/build.xml 106 error during FTP transfer java.net.SocketExHow to sort files contained in an Ant fileset?Hi I would like to alphabetically sort the list of files returned by a fileset so that I can pass this sorted list as parameter of a command where order of parameters has some impact. In fact I wouSlash directionDoes the slash matter when it is used in vssget command? I used this as the serverPath variable serverPath "\\eg-vss-a02\q-deutschland\ " It works perfectly when i execute on the command line. Howeant 1.5 cvs task error with jdk1.4.1_02I 've been using ant 1.5 for a while now and I recently upgraded my jdk from jdk1.2.2_12 to jdk1.4.1_02. Now I 'm getting the following error when my ant scripts try to execute the cvs task [cvs] CaA couple of usefull tasks--------------Boundary-00 _L82ETVXTJ3ONW9HHPDL0 Content-Type text/plain charset "us-ascii " Content-Transfer-Encoding quoted-printable Included is a couple of useful tasks. I am currently movingjar found in javac but not javadocMy team 's been using Ant as part of a continuous integration process (CruiseControl Ant JUnit Cactus) and it 's been working great so far. Yesterday a change was made and we got an Ant javadoc erDatabase object performance monitoringDoes anyone use ant to monitor the performance of database objects in Oracle? I was thinking of working on a target that run explain plans on all the objects. This could be used as a reference to pJava Development with ANTHi Recently got Java Development with ANT book while it is proving to be extremely useful and well written I feel I am missing something. on page 113 the Search class is listed it imports 2 otherANT crashes - IllegalAccessErrorHi there when I want to run Ant 1.5.1 on my box (Linux - Debian/testing) it crashes with a wierd exception ---- Buildfile build.xml BUILD FAILED java.lang.IllegalAccessError tried to access meConvert CVS tag to release numberHi! Is there a task that converts a CVS tag (e.g. ABC_1_1) into a release number e.g. 1.1? Thanks RobertHow to write properties.xml fileHi everyone how can i write properties.xml file for following java tasks <java append "true " fork "true " failonerror "true " classpathref "classpath " classname "com.ora.ITS.SDK.Tools.ConsoleParcelAW: AW: AW: AW: anthill vs. cruisecontrolDon?t know but don?t think so. But GUMP can. Jan Mat?rne -----Urspr?ngliche Nachricht----- Von mmay@(protected) [mailto mmay@(protected)] Gesendet am Freitag 7. M?rz 2003 11 40 An Ant Users List BetreAW: AW: AW: anthill vs. cruisecontrolCC can?t control project dependencies. So that is an idea for a workround SubProject | +-- dist | sub.jar <--- contains all you need to use SubProject +-- src If the build is succesAW: AW: anthill vs. cruisecontrolASAIK CC doesn?t support project dependencies (directly). Gump is the tool for project dependencies (if I remind that chapter in Eriks book right -). But maybe that could work put the distributioncvs - create process problemHi I have a problem using the cvs task. I already have the directory containing cvs.exe in my path and I can run the cvs command from the commandline. But still i get [cvs] Caught exception CrAW: Automating Build filesMaybe the Eclipse PlugIn "Planty " is worth viewing. http //eclipse-plugins.2y.net http //www.gebit.de/download/planty/about.html http //eclipse-plugins.2y.net/eclipse/plugins.jsp?search planty Plant
|