Emma Configuration in Ant

2011-03-14 Thread Lis Maria
Hello.. I am trying to add emma configurations into my Hybris ant build scripts. The issue i face is, the junit that runs on the instrumented classes fails, because of which i do not think the report emma generates is correct. ant version is 1.8 and emma version is 2.1. The junit jar i use is of

Re: How to reference elements in custom task

2011-03-14 Thread Jon Svede
Peter, Thanks for the clarification, I appreciate it! Sincerely, Jon From: Peter Reilly To: Ant Users List Sent: Mon, March 14, 2011 12:27:25 PM Subject: Re: How to reference elements in custom task There is nothing in ant that would do that (it was plan

Re: How to reference elements in custom task

2011-03-14 Thread Peter Reilly
There is nothing in ant that would do that (it was planned at one stage). In any case, it is not good practice to place any extra jars into $ANT_HOME/lib, as this makes reproducible builds difficult. The ant-classloader task http://enitsys.sourceforge.net/ant-classloadertask/ (written by Rainer N

Re: Problems with apache.

2011-03-14 Thread Tiago Veloso
I solved it. It turned out it was a problem with my classpath. I had a ant-1.7.0.jar in my classpath, and that was conflicting with my installation. On Mar 14, 2011, at 15:01 , wolfgang haefelinger wrote: > Try also 'type -a'. For example, on my machine > > $ type -a ant > ant is /opt/local/b

Re: How to reference elements in custom task

2011-03-14 Thread Jon Svede
Wolfgang, Thanks for the reply. So originally I had my tasks working by defining a entry that included my tasks and their dependencies. This worked fine without me having to do anything other than define entries in my build file. Then I was asked to make it so that my tasks could be put int

Re: How to reference elements in custom task

2011-03-14 Thread wolfgang haefelinger
Jon, >     This attribute of yours, "classpathref" is not a standard attribute: http://ant.apache.org/manual/Tasks/common.html > I've been searching for examples or forum posts related to this but everything > I've found  isn't working. How about sharing what you've found and what exactly is no

How to reference elements in custom task

2011-03-14 Thread Jon Svede
Hi, I have a set of custom tasks that need to be able to load dependencies from element. In my case my tasks may be defined in declarations or via adding the jar file to the $ANT_HOME/lib dir. This is what I want to have in the build.xml file: In this example the task s

Re: Problems with apache.

2011-03-14 Thread wolfgang haefelinger
Try also 'type -a'. For example, on my machine $ type -a ant ant is /opt/local/bin/ant ant is /usr/bin/ant Then run the one supposed to be 1.8.2. If this still runs 1.7.2, try something like /bin/sh -x /path/to/ant/bin/ant [args] to see what actually happens. // Wolfgang On Mon, Mar 14, 2011

Re: Problems with apache.

2011-03-14 Thread Antoine Levy-Lambert
Hello Tiago, please check what the value of ANT_HOME is. A version of ant is shipping with MacOS with a script under /usr/bin/ant if I remember correctly. You should add these lines to your .profile export ANT_HOME=[install location of ANT 1.8.2] export PATH=$ANT_HOME/bin:$PATH changing the p

Re: Problems with apache.

2011-03-14 Thread Tiago Veloso
An error with the subject, it should read "Problems with apache ant" On Mar 14, 2011, at 14:08 , Tiago Veloso wrote: > Hi everyone, > > I am running Mac OS 10.6.6. Here I have apache ant 1.7.0 installed. > > I am trying to update to ant 1.8.2. > > But every way I have tried to install ant 1.8.

Problems with apache.

2011-03-14 Thread Tiago Veloso
Hi everyone, I am running Mac OS 10.6.6. Here I have apache ant 1.7.0 installed. I am trying to update to ant 1.8.2. But every way I have tried to install ant 1.8.2 I always get ant 1.7.0. I have even tried installing through MacPorts without success. Tiago Veloso ti.vel...@gmail.com