Re: How to get user project properties from java

2005-12-22 Thread Petar Tahchiev
On 22/12/05, Antonio, Jean Claude (Spring IT) < [EMAIL PROTECTED]> wrote: > > Hello, > > I'm writing a java application that call ant. > It works fine. > But I want to get project properties defined in the build.xml file. > > With project.getUserProperty("serverName"); > or project.getProperty("s

AW: Reg. Main target

2005-12-22 Thread Jan.Materne
* if the name starts with a '-' it´s invisible from the command line (because '-' starts a system property in the java call) * if the target has a description attribute it´s a main target (supposed to be called from the command line and therefore described) * if not it´s an "other target" (u

Re: problem with running ant in eclipse

2005-12-22 Thread vishakha sawant
You tried to help me with the information u have so do not feel sorry for that. Regards, Vishakha On 22/12/05, Rhino <[EMAIL PROTECTED]> wrote: > > I'm glad you solved your problem even if it wasn't because of the > information I supplied :-) > > Also, I'm sorry that I didn't reply to your follow

reg. target dependency

2005-12-22 Thread shreedhar natarajan
Hi all, Thanks for ur prompt reply. There was a mention about targets in ANT manual. "It should be noted, however, that Ant's depends attribute only specifies the order in which targets should be executed - it does not affect whether the target that specifies the dependency(s) gets executed if

Re: Target duration

2005-12-22 Thread William Louth
You might also want to check out, JXInsight, an extensible distributed tracing and profiling product that provides a powerful visualization console and indepth JVM metrics (cpu time, high resolution clock times, thread blocking and waiting, GC, object allocations as well as JUnit, Log4j and Java

RE: Reg. Main target

2005-12-22 Thread Steve
> -Original Message- > From: shreedhar natarajan [mailto:[EMAIL PROTECTED] > Now what is the diff. between Main targets and Other targets. > How do I make a target as Main target and what is the purpose of it ? If you add a 'description' attribute to your tasks they will appear in th

Re: Reg. Main target

2005-12-22 Thread Ivan Ivanov
Hello Shreedhar, --- shreedhar natarajan <[EMAIL PROTECTED]> wrote: > > prompt>>ant -projecthelp > Buildfile: build.xml > > Sample ant file for demonstration purpose > > Main targets: > > Other targets: > > ant_sample > import_ant > say_hai > spawn_ant > Default target: ant_sample

Classpath setting -Very urgent

2005-12-22 Thread Srikrishna_Parthasarathy
I would like to set ant/lib dir jar's file in my classpath. How to do that ? I am new to ant. Thanks srikrishna

Reg. Main target

2005-12-22 Thread shreedhar natarajan
hi all, Thanks jan for the reply. When I run ant with -projecthelp option, it says something like this. prompt>>ant -projecthelp Buildfile: build.xml Sample ant file for demonstration purpose Main targets: Other targets: ant_sample import_ant say_hai spawn_ant Default target: an

RE: How to get user project properties from java app

2005-12-22 Thread Stephen McConnell
You could try something like the following: Project createProject( File file ) { Project project = new Project(); project.setSystemProperties(); project.setDefaultInputStream( System.in ); project.setCoreLoader( getClass().getClassLoader() ); proj

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
Thanks . One final help I want to include ant/lib in my classpath what is the best way to do this -Original Message- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22,

How to get user project properties from java

2005-12-22 Thread Antonio, Jean Claude \(Spring IT\)
Hello, I'm writing a java application that call ant. It works fine. But I want to get project properties defined in the build.xml file. With project.getUserProperty("serverName"); or project.getProperty("serverName"); I get a returned null value. --

RE: rsync

2005-12-22 Thread Marcus Zafarano
You can setup cygwin on the win system -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 11:19 AM To: user@ant.apache.org Subject: RE: rsync I have only private and public key . I don't have Certificate files. More we are using from a

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
I have only private and public key . I don't have Certificate files. More we are using from a windows box to an unix box. Will this rsync work? -Original Message- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 2:06 PM To: Ant Users List Subject: RE: rsyn

RE: rsync

2005-12-22 Thread Marcus Zafarano
rsync -r -v --rsh=ssh [EMAIL PROTECTED]://app/home/dssjava/java/jboss-3.2.7 . Is a basic UNIX rsync command structure. As you can see the arg in the ant script is [EMAIL PROTECTED]://app/home/dssjava/java/jboss-3.2.7 . Where [EMAIL PROTECTED]: = [EMAIL PROTECTED]://app/home/dssjava/java/jboss-

Old ant version download and general ant question- 1.5.3

2005-12-22 Thread Srikrishna_Parthasarathy
I am trying to download 1.5.3 for researching my build.xml file. But I Couldn't find it. http://archive.apache.org/dist/ant/source/ I am trying to do a build with ant and weblogic ant tasks for building a webservice. If I have the weblogic.jar , webservices.jar in the ANT_HOME /lib d

RE: rsync

2005-12-22 Thread Marcus Zafarano
We use certificates and sudo, for user dssjava. -Original Message- From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:48 AM To: 'Ant Users List' Subject: RE: rsync That is pretty close to what I have. How are you dealing with passwords? -Origi

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
Can you share your properties file and explain on what exactly this do ? Thanks srikrishna -Original Message- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:45 PM To: Ant Users List Subject: RE: rsync

RE: rsync

2005-12-22 Thread Sommers, Elizabeth
That is pretty close to what I have. How are you dealing with passwords? -Original Message- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:45 PM To: Ant Users List Subject: RE: rsync

RE: rsync

2005-12-22 Thread Anderson, Rob (Global Trade)
There is a java rsync implementation: http://jarsync.sourceforge.net/ If you are willing to write such a task I think it would be quite usefull. -Rob Anderson > -Original Message- > From: Jeffrey E Care [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 10:32 AM > To: Ant U

RE: rsync

2005-12-22 Thread Marcus Zafarano
-Original Message- From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:18 AM To: 'user@ant.apache.org' Subject: rsync Does anybody have an ant rsync task that I ca

RE: How to get user project properties from java app

2005-12-22 Thread Anderson, Rob (Global Trade)
You should probably send this question to the dev list. -Rob Anderson > -Original Message- > From: Antonio, Jean Claude (Spring IT) > [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 9:46 AM > To: user@ant.apache.org > Subject: How to get user project properties from java

Re: rsync

2005-12-22 Thread Jeffrey E Care
AFAIK there's no rsync task. It should be fairly easy to use though to just execute the native application. Try checking the manual for the task. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Sommers, Elizabeth" <[EMA

Re: Target duration

2005-12-22 Thread Jeffrey E Care
For building WebSphere Application Server we have a custom logger that calculates durations for all contexts (i.e. top-level builds, sub-builds, targets & tasks). You can do the same fairly easily by extending the core loggers that come with Ant. I would share our code, but unfortunately it's I

rsync

2005-12-22 Thread Sommers, Elizabeth
Does anybody have an ant rsync task that I can use. I expected this to be an optional task, but I can't seem to find it. Otherwise, I would be very happy to see the code that you are using to exec rsync. Thanks Liz [EMAIL PROTECTED] http://www.pragmatics.com

How to get user project properties from java app

2005-12-22 Thread Antonio, Jean Claude \(Spring IT\)
Hello, I'm writing a java application that call ant. It works fine. But I want to get project properties defined in the build.xml file. With project.getUserProperty("serverName"); or project.getProperty("serverName"); I get a returned null value. --

RE: Target duration

2005-12-22 Thread Bruno PRIN
Yes thanks I find it, I'm testing it -Message d'origine- De : Nicolas Vervelle [mailto:[EMAIL PROTECTED] Envoyé : jeudi 22 décembre 2005 17:35 À : Ant Users List Objet : Re: Target duration I forgot the link: http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html T

Re: Creating war/ear directly from path

2005-12-22 Thread Steve Loughran
Igor Semenko wrote: Hi, all. In our build file we use path definition like this: When building ear file we copy all those files into temp dir using flattenmapper: And then create ear including files from temp_lib dirs:

AntForm questions

2005-12-22 Thread Rhino
Is this a valid place to ask AntForm questions? I've just discovered AntForm as a result of Gilbert Rebhan's reply to another question and I strongly prefer it to the core 'input' task, which is giving me grief lately. However, I have a few questions that aren't being answered by the documenta

Re: Target duration

2005-12-22 Thread Nicolas Vervelle
I forgot the link: http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html That's probably what you want Nicolas Vervelle wrote: Performance Monitor from Ant contrib ? Bruno PRIN wrote: Hello, We use ant to build 130 modules. The compilation ant building step take over 10 h

RE: Target duration

2005-12-22 Thread Bruno PRIN
There isn't a native task option ? Timestamp not easy to exploit... But it's an idea... -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 22 décembre 2005 17:32 À : user@ant.apache.org Objet : AW: Target duration >The project is launch several times, i

Re: Target duration

2005-12-22 Thread Nicolas Vervelle
Performance Monitor from Ant contrib ? Bruno PRIN wrote: Hello, We use ant to build 130 modules. The compilation ant building step take over 10 hours, we want to know which step spend more time. The project is launch several times, i know the time spend by each launch of the project but I wan

AW: Target duration

2005-12-22 Thread Jan.Materne
>The project is launch several times, i know the time spend by >each launch of the project but I want to know the detail by target. > >Is there an option to display the time spend by each target ? * Log4J-Logger and logging the timestamp? * Using

Target duration

2005-12-22 Thread Bruno PRIN
Hello, We use ant to build 130 modules. The compilation ant building step take over 10 hours, we want to know which step spend more time. The project is launch several times, i know the time spend by each launch of the project but I want to know the detail by target. Is there an option to displ

Re: Regarding Continous build integration.

2005-12-22 Thread Ninju Bohra
CruiseControl is the way to go!!! - Original Message From: "Burgess, Benjamin" <[EMAIL PROTECTED]> To: Ant Users List Sent: Thursday, December 22, 2005 9:28:58 AM Subject: RE: Regarding Continous build integration. All of your requirements are met with CruiseControl. It is the most

Re: Regarding Continous build integration.

2005-12-22 Thread Erwann Abalain
[EMAIL PROTECTED] a écrit : I would like to know if there are any open-source continuous integration build tools other than CruiseControl. Is there any other documentation other than The following website regarding this. http://cruisecontrol.sourceforge.net/ We would like to do the fo

RE: Regarding Continous build integration.

2005-12-22 Thread Burgess, Benjamin
All of your requirements are met with CruiseControl. It is the most advanced build manager solution available. As for a list of other products, look here: http://docs.codehaus.org/display/DAMAGECONTROL/Continuous+Integration+Se rver+Feature+Matrix As for more CruiseControl documentation besides

Regarding Continous build integration.

2005-12-22 Thread Srikrishna_Parthasarathy
I would like to know if there are any open-source continuous integration build tools other than CruiseControl. Is there any other documentation other than The following website regarding this. http://cruisecontrol.sourceforge.net/ We would like to do the following tasks: a) Do

RE: Intermittent problem with input task

2005-12-22 Thread Burgess, Benjamin
We maintain a company wide Ant standard. Currently, it is Ant 1.6.5 with many company approved optional tasks added into the lib directory as well as some critical patches that have been added to the Ant 1.7 release. All build scripts are written to use this standard version of Ant. If a change

Re: Checkbox input

2005-12-22 Thread Michael Silverman
Hi Gilbert, It looks exactly like what I'm looking for. Thank you, Michael On 12/22/05, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > Hi, > > if you want to use form-based interaction in Ant > have a look on AntForms = > > http://antforms.sourceforge.net/ > > Regards, Gilbert > > > -Origi

RE: Checkbox input

2005-12-22 Thread Rebhan, Gilbert
Hi, if you want to use form-based interaction in Ant have a look on AntForms = http://antforms.sourceforge.net/ Regards, Gilbert -Original Message- From: Michael Silverman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 11:03 AM To: Ant Users List Subject: Checkbox input

Checkbox input

2005-12-22 Thread Michael Silverman
Hi All, I want to display a small window with several checkboxes as part of the ant build and continue based on what the user has selected. I did a quick search and came up with Ant Installer and Antigen. Does anyone have an experience working with these tools and share his/her thoughts? Or perhap