Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Apache Ant build tool users Recent threads

Threads Replies First post Last post
Ant 1.8.2 schemavalidate and xmlcatalog
By: polymorphisme
I try to use the task schemavalidate with xmlcatalog like this : <schemavalidate classname="org.apache.xerces.parsers.SAXParser" classpathref="${lib.dir}/xercesImpl-2.7.1.jar" disableDTD="false" fullchecking="true" …
3 May 19 2012
13:32
May 23 2012
02:05
Zip and Tar tasks failing
By: Lewis John Mcgibbney
Good Evening Everyone, I've hit a rather strange situation whilst releasing some artifacts. Specifically the strange part of this relates to the tar, tar-bin, zip and zip-bin targets in the following build.xml file [0]. I released another version…
2 May 22 2012
16:44
May 22 2012
23:09
a simple question regarding condition if/unless
By: xsli2
The target "test" calls two other targets: <target name="test" depends="testA, testB"/> Now, I want to add some condition: when the property "abc" is available(regardless of its value), only run target "testB", skipping "testA". I know I…
1 May 21 2012
12:22
May 21 2012
12:27
Wiki gone readonly, you'll need to ask for write access
By: Stefan Bodewig
Hello, unfortunately Wiki spammers have forced us to tighten access control to the Wiki pages even further than we did before - and way further than we'd love to. In an ideal world all pages would be world writable and trolls and spammers didn't…
0 May 17 2012
01:30
May 17 2012
01:30
taskdef defined in project or target
By: Perrier, Nathan
If I defined a <taskdef> for a custom task at the project-level (outside of a macro or target), does that consume a significant amount of memory? Would defining <taskdef> in a target and have the targets that use it depend on it…
1 May 16 2012
13:15
May 17 2012
01:01
Build directly on machine vs. SSH to machine and start build
By: Eric Fetzer
This is very strange to me. Here are the 2 scenarios. Scenario 1: 1) Log on to buildMachine as user builduser 2) >bash 3) >cd /my/builddir 3) >/opt/apache-ant-1.7.1/bin/ant -f build.xml -Dfull.buildnumber=3.0.2.8 4) Build succeeds…
10 May 7 2012
14:12
May 11 2012
15:42
Set an env variable?
By: Dave Pawson
I know I can read an env variable, but is it possible to set one, for the duration of the ant script(s) please? TIA Dave
3 May 8 2012
08:54
May 10 2012
02:27
Property files when running Selenium/JUnit test cases
By: rohit dholakia
Hi, I am automating our build process at the startup I work at. I keep all my classes in user/nightlybuilds/build . and my xml file is at nightlybuilds itself . ( top level dir ). On the other hand, the property files that are needed are in…
0 May 8 2012
08:26
May 8 2012
08:26
Create a Union and Macrodef-style element with dynamic content at runtime
By: Seaders Oloinsigh
I've a build script built in Ant which has a macrodef that takes a few default parameters, target, root and the like, and then an optional two, extrasrc-f and extrasrc-c. After they've come in, I like to do a uptodate check on all relevant…
0 May 8 2012
02:56
May 8 2012
02:56
Embedding Ant Into a Java Jar
By: Roy Pfund
Is/Was there ever a release of Ant in the java Jar format, that could be embedded into an application for instance a(n) IDE. I'm trying to add ant functionality to this simple text editor<https://github.com/GlassGhost/HexEd>; so that it can…
1 May 4 2012
23:45
May 7 2012
09:06
unzip question
By: Pozun, Stephen (H USA)
Hello, we're using ant.unzip from Groovy code. Our source zip is on a windows share, out target is on a windows share on a different server. We're making the call from a third intermediary server. In most cases this works well. In some cases,…
0 May 4 2012
23:45
May 4 2012
23:45
hi List
By: Cyril.sagan
hey List stay calm when you first see this as soon as i learned about this method i was doing it ever since http://t.co/Cgtyszqy
0 May 1 2012
06:42
May 1 2012
06:42
conditional make-directory
By: Dave Pawson
I need a temporary directory. What's the 'ant speak' for property name='my-temp' if directory exists (my-temp) then my-temp else mkdir 'my-temp' I hope that's clear? In bash it might be #check/create fo directory for output, per font if [[ !…
7 Apr 24 2012
09:45
Apr 25 2012
01:28
Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found
By: SimpleSolution
If your running the build.xml from eclipse, here are two possible solutions: 1: rightClick on build.xml->classpath tab (Here you add each svnant jar explicitly)-> Add External Jar(add all svnant jars)->Run 2: rightClick on…
0 Apr 24 2012
22:33
Apr 24 2012
22:33
Incorrect reading of property containing accented chars from build.properties by custom task
By: Lokesh Jain
Hi, I have a custom ant task which reads certain properties from build.properties and exports applications based on that. <target name="exportSingleApp_internal" > <taskdef classname="com.xxx.yyy.ant.tasks.ExportApplication" …
9 Apr 21 2012
03:02
Apr 24 2012
04:19
Property precedence
By: Dave Pawson
I have a series of scripts each of which sets properties, then calls another using <antcall/> If the caller sets property X to yes then the called script sets it to Y what / where are the precedence rules please? TIA
2 Apr 23 2012
03:08
Apr 23 2012
07:44
help!! ant mail task issue!
By: combuilder
i had already put the latest mail.jar, activation.jar under ant/lib folder. i am using ant 1.6.5. my build environment is solaris10 x86, i want ant auto send email after full build. however, it always prompt me "Failed to send email", "Problem…
0 Apr 23 2012
03:03
Apr 23 2012
03:03
Newbie question
By: Carlos Araya
I have a macrodef called init that defines an attribute called dest <macrodef name="init"> <attribute name="dest" default="html_content"/> <sequential> <if> <available file="${dest}" type="dir" /> …
1 Apr 20 2012
16:02
Apr 20 2012
16:04
Apache Compress Antlib 1.2 Released
By: Stefan Bodewig
The Apache Compress Antlib offers tasks and types for the archive and compression formats like CPIO, XZ, Pack200 and AR supported by Apache Commons Compress as well as re-implementations of the formats already supported by Ant's core. Version 1.2…
0 Apr 20 2012
10:58
Apr 20 2012
10:58
Ant not noticing changes to file unless renamed
By: Dunning, John (LNG-HBE)
I'm facing a rather strange problem with Ant - I have a task that uses <copy> to copy an XSLT file managed under ClearCase, then uses <java> to perform XSL transformations. Any changes to the XSLT are ignored *unless the file is…
5 Apr 16 2012
14:10
Apr 17 2012
15:43