Progress bar for a custom Ant Task

2009-05-18 Thread Avlesh Singh
I wrote a custom task which needs to display some sort of a progress bar. I have all the necessary data in the Task to display the progress bar. Calls to the log method display output in a new line. Is there a way from within a task, to be able to use the same line for logging the output. Cheers A

RE: List of public repositories

2009-05-18 Thread Georges Labrèche
Yes, I have created and in-house one for .NET projects. I was just wondering if there was any public ones out there. -Original Message- From: Archie Cobbs [mailto:archie.co...@gmail.com] Sent: Monday, May 18, 2009 4:52 PM To: ivy-u...@ant.apache.org Subject: Re: List of public repositorie

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread David Nemer
Here is my batch file 1 # /etc/skel/.bash_profile 2 3 # This file is sourced by bash for login shells. The following line 4 # runs your .bashrc and is recommended by the bash info pages. 5 [[ -f ~/.bashrc ]] && . ~/.bashrc 6 7 8 if [ `uname` = "Darwin" ]; then

RE: Java in JDK but ANT can't find it!

2009-05-18 Thread Cole, Derek E
Can you post what you have your actual system path and classpath set to? -Original Message- From: David Nemer [mailto:davidne...@gmail.com] Sent: Monday, May 18, 2009 4:51 PM To: Ant Users List Subject: Re: Java in JDK but ANT can't find it! This is the result I get from building it fro

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread supareno
David , which version of Linux are you using? is it a Suse version? did you try do a clean install of java (the basic jdk, not the server version)? i'm asking such things because i saw some strange problems with a suse (i think it was a suse ans a Java server version)... i think that it canno

Re: List of public repositories

2009-05-18 Thread Archie Cobbs
There is such a thing, but I don't know of any actual examples :-) I.e., there's no reason preventing anyone from creating one if they wanted to. -Archie 2009/5/18 Georges Labrèche > Hello, > > Furthermore is there such a thing as public repositories for development > under non-java related te

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread David Nemer
This is the result I get from building it from my Java code: build-all: init: setproxy: xfire.get-deps: [mkdir] Created dir: /scratch2/nemer/test/xfire/target/lib [mkdir] Created dir: /scratch2/nemer/test/xfire/xfire-core/target/lib -download-dep: [get] Getting: http://www.ibibli

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread David Nemer
Hey Derek, I tried to do what you did, but I still get the error.. I added the ACL to my code and tools/jar to my PATH... but still doesn't work. Here is a piece of my code.. I just wonder.. what else do you do with the ACL??? Project p = new Project(); boolean t = true;

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread David Nemer
Hey Guys, thank you all for your help, I'm answering the questions from Ashley, Steve and Kevin, some answers are huge due to the compilation message ANT provides. Just a reminder, I'm running ANT in a Linux Server, my overall goal is to download a version from a repository, build the version, and

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread Kevin Jackson
Hi, what does which javac tell you? And can you post the output of ant -verbose? Thanks, Kev - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Sending small mail when build is finished

2009-05-18 Thread Steve Loughran
Knuplesch, Juergen wrote: Hello, My challenge is: I dont want to use the maillogger anymore, because our logs have become very large. So I started to use -logfile and store it with my Buildresults. But on the other hand: I want to send a small mail, that tells me whether the build was ok or n

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread Steve Loughran
David Nemer wrote: Just a remark, when I run the application and /opt/jdk1.6.0_06/lib/tools.jar to the classpath. It gives me a different error message: "Compile failed; see the compiler error output for details." there is no error msg and it still says BUILD SUCCESSFUL 1. is this a package-m

RE: Sending small mail when build is finished

2009-05-18 Thread Cole, Derek E
Create your own version of maillogger , put it on your classpath, and invoke it the same way you would the default maillogger. -Original Message- From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] Sent: Monday, May 18, 2009 4:02 AM To: user@ant.apache.org Subject: Sending s

RE: Java in JDK but ANT can't find it!

2009-05-18 Thread Cole, Derek E
Here is how I have set this up to work: Project Antproject = new Project(); boolean t = true; Path path = null; AntClassLoader ACL = new AntClassLoader(Antproject, path, t); //this causes ant to use the system path classpath since I passed in a "true" value. To append //items, use something besi

Sending small mail when build is finished

2009-05-18 Thread Knuplesch, Juergen
Hello, My challenge is: I dont want to use the maillogger anymore, because our logs have become very large. So I started to use -logfile and store it with my Buildresults. But on the other hand: I want to send a small mail, that tells me whether the build was ok or not. How can I do this? Gree