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
* 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
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
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
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
> -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
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
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
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
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
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,
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.
--
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
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
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-
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
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
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
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
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
-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
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
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
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
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
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.
--
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
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:
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
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
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
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
>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
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
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
[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
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
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
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
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
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
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
42 matches
Mail list logo