AW: How to do a custon task return a string

2009-11-25 Thread Jan.Materne
>let your task create a property via >project.setNewProperty(String name, String value) >for further use in your ant workflow. >Create an attribute for that property and let the user decide >how to name it, f.e. > > >... > $${bar} == ${bar} > > >Regards, Gilbert http://ant.apache.org/manual/tuto

AW: Ant API

2009-11-25 Thread Jan.Materne
Have a look at JavaFront http://svn.apache.org/repos/asf/ant/sandbox/javafront/ Maybe Leafcutter will help too https://leafcutter.dev.java.net/ When using Ant as library you should have a oata.Project instance given to the tasks. Many problems occur because this is not present. Jan >-Urs

[ANN] Signatures of Java Runtimes for use with Animal Sniffer released

2009-11-25 Thread David J. M. Karlsen
The Mojo team is pleased to announce the release of a number of signatures of various versions of the Java Runtime for use with the Animal Sniffer set of utilities. The following signatures have been released: Generic Signatures (only includes public API classes) * Java 1.2 (http://mojo.codeha

Re: Ant API

2009-11-25 Thread LukeS
Thank you. I will check out this API. On my list of things to support are: SVN, SCP, CVS, Database connectivity, creating folders and zip and unzipping archives. You are right, I could be doing this directly with Java, however it just seems easier through Ant (I have a build file that does everyt

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Re: Ant API

2009-11-25 Thread Robert Anderson
Actually the cvs ant task system.execs the cvs binary. You can probably find pure java cvs api to use. A quick search turned up this... http://www.jcvs.org/ For the database, I'm not sure what you are doing but there are some really great persistance layers worth looking at, like hibernate and iba

Re: How to do a custon task return a string

2009-11-25 Thread Gilbert Rebhan
Júlio Cesar Bueno Cotta schrieb: > Hello people, > I need your help again. > I coded a custon task in Java and I need return a String to the build.xml > where the task is called. > How can I do that? > I am thinking in send write the string into a property file and so read the > file from the ant b

How to do a custon task return a string

2009-11-25 Thread Júlio Cesar Bueno Cotta
Hello people, I need your help again. I coded a custon task in Java and I need return a String to the build.xml where the task is called. How can I do that? I am thinking in send write the string into a property file and so read the file from the ant build, but that is not a very good way to do tha

Ant API

2009-11-25 Thread LukeS
I'm interested in embedding Ant into an application and would like to use the Ant api. I want to do this because there are a few tasks I want to perform (CVS integration, connecting to DB) and it seems like it it would be easier to call Ant to do this: http://api.dpml.net/ant/1.7.0/index.html?o

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Risposta Automatica

2009-11-25 Thread sindaco
Gentile Lettore, questo è un messaggio automatico di risposta. Ti confermiamo di aver ricevuto la tua e-mail che sarà elaborata nelle prossime ore. Grazie per l'attenzione e la collaborazione. Un saluto, la Redazione GiglioNews.

Re: Killing Ant process through shell script when multiple Java processes are running...

2009-11-25 Thread Brian Pontarelli
On Nov 25, 2009, at 3:06 AM, robert lazarski wrote: > On Wed, Nov 25, 2009 at 6:49 AM, Harry_ wrote: >> >> And one more thing I would like to ask is about how to get the list of >> processes created by a process. I want this to make sure that all the >> processes created by parent ant process a

Re: Using Ivy to automate build

2009-11-25 Thread Alex Foreman
We use: * Build each Project fully. * NO circular dependencies (so a dependant project higher up the stack always has all confs below it created) * Use the non published ivy file to work out the build list (custom resolver only for CI/stack building) I cannot see why you need to care about con

Re: Killing Ant process through shell script when multiple Java processes are running...

2009-11-25 Thread robert lazarski
On Wed, Nov 25, 2009 at 6:49 AM, Harry_ wrote: > > And one more thing I would like to ask is about how to get the list of > processes created by a process. I want this to make sure that all the > processes created by parent ant process are also killed once I Killed ant > process. Any way ant can w

Re: Killing Ant process through shell script when multiple Java processes are running...

2009-11-25 Thread Harry_
Thanks for the reply... I am working on Ubuntu and I did the following: While running the ant I output the PID into a file like: ant -f perf_NormalLoad.xml & echo $! > /tmp/java.pid For stopping the process I used: PIDFILE=`cat /home/singhh/tt/java.pid` echo 'Killing Java process from PID fi